CVE-2012-2128: CSRF
DISPUTED Cross-site request forgery (CSRF) vulnerability in doku.php in DokuWiki 2012-01-25 Angua allows remote attackers to hijack the authentication of administrators for requests that add arbitrary users. NOTE: this issue has been disputed by the vendor, who states that it is resultant from CVE-2012-2129: "the exploit code simply uses the XSS hole to extract a valid CSRF token."
Other sources
A cross-site scripting (XSS) and cross-site request forgery (CSRF) flaws were found in the way DokuWiki, a standards compliant, simple to use Wiki, performed sanitization of the 'target' parameter when preprocessing edit form data. A remote attacker could provide a specially-crafted URL, which once visited by a valid DokuWiki user would lead to arbitrary HTML or web script execution in the context of logged in DokuWiki user.
References: [1] https://secunia.com/advisories/48848/ [2] http://ircrash.com/uploads/dokuwiki.txt [3] https://bugs.gentoo.org/showbug.cgi?id=412891
Discovered by : Khashayar Fereidani
Proof of Concept URL: http://sitename/doku.php?do=edit&id=S9F8W2A&target=<script>alert(123)</script>
— Red Hat
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2012-2128?
CVE-2012-2128 is considered a moderate severity vulnerability due to the potential for unauthorized actions by an attacker.
How do I fix CVE-2012-2128?
To mitigate CVE-2012-2128, ensure you are using a patched version of DokuWiki that addresses this vulnerability.
Who is affected by CVE-2012-2128?
Administrators using DokuWiki version 2012-01-25 are at risk from the CVE-2012-2128 vulnerability.
What type of vulnerability is CVE-2012-2128?
CVE-2012-2128 is classified as a cross-site request forgery (CSRF) vulnerability.
Are there any workarounds for CVE-2012-2128?
Disabling remote access to administrative functions can serve as a temporary workaround for CVE-2012-2128.