CVE-2012-2128: CSRF

Published Apr 22, 2012
·
Updated

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

1 affected component
Andreas Gohr Dokuwiki=2012-01-25

Event History

Apr 22, 2012
Data Sourced
via Red Hat·05:09 PM
DescriptionSeverityAffected Software
Aug 27, 2012
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Disputed
09:55 PM

Frequently Asked Questions

1

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.

2

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.

3

Who is affected by CVE-2012-2128?

Administrators using DokuWiki version 2012-01-25 are at risk from the CVE-2012-2128 vulnerability.

4

What type of vulnerability is CVE-2012-2128?

CVE-2012-2128 is classified as a cross-site request forgery (CSRF) vulnerability.

5

Are there any workarounds for CVE-2012-2128?

Disabling remote access to administrative functions can serve as a temporary workaround for CVE-2012-2128.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203