VWE-2009-0034 Printable Version

https://www.vaultwiki.org/pages/Book/Documentation/VWE-2009-0034
This page is a chapter in Info Known Vulnerabilities

This page has been seen 534,555 times.

    • Created by on
      Last updated by on
Common NameSection Injection Vulnerability
VWE-IDVWE-2009-0034
Related ReportNone
SeverityHIGH
Exploit DifficultyEASY
PlatformAffects all platforms supported by the vulnerable versions.
DescriptionHTML/Javascript injection. A specially crafted H tag, containing other BB-Code as the section title that resolves to HTML containing attributes, can be stripped in such a way that the HTML tag contents are used within the section's anchor, including raw double-quote characters. When the raw quote is encountered by the browser, the anchor name may be escaped, allowing a malicious user to inject Javascript handlers on the anchor.

Beginning in 2.0.1, the anchor name additionally appears in a Javascript onclick handler in the page's table of contents. An anchor name containing a single-quote breaks out of the handler's function call, allowing for arbitrary Javascript to be appended.
DiscoveredJanuary 2009
ResolvedJanuary 31, 2009
Patches Available2.2.0
WorkaroundUpdate permissions so that untrusted users cannot edit any wiki pages.
The versions listed below are known to be affected by this issue. If you are using one of those versions, you should update to a newer release that has no known vulnerabilities.