ResourceSpace 7.1.6513 Local File Inclusion

Type packetstorm
Reporter High-Tech Bridge SA
Modified 2015-06-03T00:00:00


                                            `Advisory ID: HTB23258  
Product: ResourceSpace  
Vendor: Montala Limited  
Vulnerable Version(s): 7.1.6513 and probably prior  
Tested Version: 7.1.6513  
Advisory Publication: May 6, 2015 [without technical details]  
Vendor Notification: May 6, 2015   
Vendor Patch: June 1, 2015   
Public Disclosure: June 3, 2015   
Vulnerability Type: PHP File Inclusion [CWE-98]  
CVE Reference: CVE-2015-3648  
Risk Level: High   
CVSSv2 Base Score: 7.6 (AV:N/AC:H/Au:N/C:C/I:C/A:C)  
Solution Status: Fixed by Vendor  
Discovered and Provided: High-Tech Bridge Security Research Lab ( )   
Advisory Details:  
High-Tech Bridge Security Research Lab discovered vulnerability in ResourceSpace, which can be exploited to include arbitrary local PHP file, execute PHP code, and compromise vulnerable web application and even entire web server on which the application is hosted.   
The vulnerability exists due to the absence of filtration of the "defaultlanguage" HTTP GET parameter received from the user before including PHP file using the "include()" PHP function in "/pages/setup.php" script. The installation script "/pages/setup.php" remains on the system after installation by default and is remotely accessible to non-authenticated users.  
A simple PoC below includes a local file "/tmp/file.php":  
Update to ResourceSpace 7.2.6727  
More Information:  
[1] High-Tech Bridge Advisory HTB23258 - - Local PHP File Inclusion in ResourceSpace.  
[2] ResourceSpace - - ResourceSpace open source digital asset management software is the simple, fast, & free way to organise your digital assets.  
[3] Common Vulnerabilities and Exposures (CVE) - - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.  
[4] Common Weakness Enumeration (CWE) - - targeted to developers and security practitioners, CWE is a formal list of software weakness types.  
[5] ImmuniWeb® SaaS - - hybrid of manual web application penetration test and cutting-edge vulnerability scanner available online via a Software-as-a-Service (SaaS) model.  
Disclaimer: The information provided in this Advisory is provided "as is" and without any warranty of any kind. Details of this Advisory may be updated in order to provide as accurate information as possible. The latest version of the Advisory is available on web page [1] in the References.