dt_guestbook version 1.0f XSS vulnerability



netVigilance Security Advisory #10

dt_guestbook version 1.0f XSS vulnerability

Description:
dt_guestbook is a fully-featured message board system with admin interface. Due to program flaws it is possible for the remote attacker to conduct XSS attacks.
The remote attacker can convince the victim to open a specially crafted link that is a trusted guestbook server and execute arbitrary code in the user?s browser session.

External References:
Mitre CVE: CVE-2006-6487 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-6487
NVD NIST: CVE-2006-6487 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2006-6487
OSVDB: 30787 http://www.osvdb.com/displayvuln.php?osvdb_id=30787

Summary:
dt_guestbook a fully-featured message board system with admin interface.
A security problem in the product allows attackers to conduct XSS attacks.
This vulnerability can be exploited only when PHP register_globals is On.

Release Date:


Severity:
Risk: Medium

CVSS Metrics
Access Vector: Remote
Access Complexity: High
Authentication: not-required
Confidentiality Impact: Partial
Integrity Impact: Partial
Availability Impact: Partial
Impact Bias: Normal
CVSS Base Score: 5.6

Target Distribution on Internet: Low

Exploitability: Functional Exploit
Remediation Level: Workaround
Report Confidence: Uncorroborated

Vulnerability Impact: Attack
Host Impact: cross-site scripting.


SecureScout Testcase ID:
TC 17940


Vulnerable Systems:
dt_guestbook 1.0f.

Vulnerability Type:
XSS (Cross-Site Scripting) to force a web-site to display malicious contents to the target, by sending a specially crafted request to the web-site. The vulnerable web-site is not the target of attack but is used as a tool for the hacker in the attack of the victim.

Vendor Status: Author Alexander Fedorov was notified on Dec 8 2006 and agreed to correct the XSS in his product. He has failed to respond to emails or Chat since Dec 8 2006.
..
Solution: Patch Possibly Pending from Vendor, please check http://fedorov.vitalain.ru for updates.
..
Workaround:
Set PHP register_globals to Off.
Example:
HTTP REQUEST http://[TARGET]/[dt_guestbook_v1-directory]/index.php?submit=1&error[]=%3Cscript%3Ealert(document.cookie)%3C/script%3E
REPLY
...
will execute <script>alert(document.cookie)</script>
...

Advisory URL: http://www.netvigilance.com/advisory0009

Credits:
Jesper Jurcenoks
Co-founder netVigilance, Inc
www.netvigilance.com



Relevant Pages

  • [Full-disclosure] dt_guestbook version 1.0f XSS vulnerability
    ... fully-featured message board system with admin interface. ... flaws it is possible for the remote attacker to conduct XSS attacks. ... This vulnerability can be exploited only when PHP register_globals is ... Vulnerability Impact: Attack ...
    (Full-Disclosure)
  • SA00001-2010
    ... Vulnerability Information ... Cross site scripting, SQL injection, PHP code injection, Cross-site ... In ESS module, user inputs are not sanitized properly, leading to XSS ... Exploiting this vulnerability would allow an unauthenticated attacker to gain ...
    (Bugtraq)
  • [Full-disclosure] Drupal 6 CCK Module XSS Vulnerability
    ... Drupal security has responded to reports of CCK based XSS ... Description of Vulnerability: ... This could allow an attacker to issue a cross site scripting ...
    (Full-Disclosure)
  • [NT] Vulnerabilities in Microsoft Excel Could Allow Remote Code Execution (MS06-037)
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Vulnerabilities in Microsoft Excel Could Allow Remote Code Execution ... an attacker who successfully exploited this ... vulnerability could take complete control of the client workstation. ...
    (Securiteam)
  • [NT] Vulnerabilities in Graphics Rendering Engine Allows Code Execution (MS05-053)
    ... formats that could allow remote code execution or on an affected system. ... A remote code execution vulnerability exists in the rendering of Windows ... An attacker who successfully exploited this vulnerability could take ... E-mail messages that are viewed in plain text format will not contain ...
    (Securiteam)