ResourceSpace version 7.1.6513 suffers from a local file inclusion vulnerability.
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 ( https://www.htbridge.com/advisory/ )
-----------------------------------------------------------------------------------------------
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":
http://[host]/pages/setup.php?defaultlanguage=../../../../../tmp/file
-----------------------------------------------------------------------------------------------
Solution:
Update to ResourceSpace 7.2.6727
More Information:
http://svn.montala.com/websvn/revision.php?repname=ResourceSpace&path=%2F&rev=6640&peg=6738
# 0day.today [2018-01-02] #