WordPress Download Manager plugin versions 2.9.46 and 2.9.51 suffer from a cross site scripting vulnerability.
9de753843f33ce3f2dc9d5d13e262f6df0bb99ce7db35001b0177d5ed23072d8
Details
================
Software: WordPress Download Manager
Version: 2.9.46,2.9.51
Homepage: https://wordpress.org/plugins/download-manager/
Advisory report: https://security.dxw.com/advisories/xss-download-manager/
CVE: Awaiting assignment
CVSS: 5.8 (Medium; AV:N/AC:M/Au:N/C:P/I:P/A:N)
Description
================
Reflected XSS in WordPress Download Manager could allow an attacker to do almost anything an admin can
Vulnerability
================
This plugin outputs $_GET[aida] inside HTML without escaping, meaning that anybody able to convince an admin to follow a link can add arbitrary HTML to the page.
Proof of concept
================
Sign in
Activate the plugin
Visit the following URL in a browser without XSS mitigation (i.e. Firefox): http://localhost/wp-admin/admin-ajax.php?action=wpdm_generate_password&id=%3C/script%3E%3Cscript%3Ealert(1)%3C/script%3E
Mitigations
================
Upgrade to version 2.9.52 or later.
Disclosure policy
================
dxw believes in responsible disclosure. Your attention is drawn to our disclosure policy: https://security.dxw.com/disclosure/
Please contact us on security@dxw.com to acknowledge this report if you received it via a third party (for example, plugins@wordpress.org) as they generally cannot communicate with us on your behalf.
This vulnerability will be published if we do not receive a response to this report with 14 days.
Timeline
================
2017-03-30: Discovered
2017-05-26: Reported toA contact@w3eden.com
2017-06-09: First response from vendor saying itas been fixed and an update will be coming soon
2017-06-09: Version 2.9.52 released aFixed issue with input data formattinga
2017-06-16: Advisory published
Discovered by dxw:
================
Tom Adams
Please visit security.dxw.com for more information.