WordPress Download Manager <= 2.7.94 - Authenticated Stored XSS

Sign up to our free email alerts service for instant vulnerability notifications!

Description
The stored XSS vulnerability allows any authenticated user to inject malicious code via the name of the uploaded file:

Example: <svg onload=alert(0)>.jpg

The vulnerability exists because the file name is not properly sanitized 
and this can lead to malicious code injection that will be executed on the 
target’s browser.

Proof of Concept
1. The attacker creates a new download package via the plugin's menu
and uploads a file with the name: <svg onload=alert(0)>.jpg 

2. The stored XSS can be triggered when an authenticated user (e.g. admin)
attempts to edit this download package

Affects

Plugin download-manager
fixed in version 2.7.95

References

PACKETSTORM 132716
URL https://plugins.trac.wordpress.org/changeset/1199505/download-manager

Classification

Type XSS
OWASP Top 10 A3: Cross-Site Scripting (XSS)
CWE CWE-79

Miscellaneous

Submitter Filippos Mastrogannis
Submitter Website https://gr.linkedin.com/in/filippos-mastrogiannis-17713268
Submitter Twitter filipposmastro
Views 229
Verified No
WPVDB ID 8104

Timeline

Publicly Published 2015-07-16 (over 1 year ago)
Added 2015-07-16 (over 1 year ago)
Last Updated 2015-12-20 (12 months ago)

Copyright & License

Copyright All data and resources contained within this page and this web site is Copyright © The WPScan Team.
License Some of this data may be used for non-commercial purposes, however, any potential commercial usage of this data will require a license. If you would like to inquire about a commercial license please contact us.