Cross-Site Scripting (XSS) in Pivotx

Advisory ID:HTB23087
Vendor: PivotX
Vulnerable Versions:2.3.2 and probably prior
Tested Version:2.3.2
Advisory Publication:April 18, 2012 [without technical details]
Vendor Notification:April 18, 2012
Vendor Fix:April 18, 2012
Public Disclosure:May 9, 2012
Latest Update:May 14, 2012
Vulnerability Type:Cross-Site Scripting [CWE-79]
CVE Reference:CVE-2012-2274
Risk Level:Low
CVSSv2 Base Score:2.6 (AV:N/AC:H/Au:N/C:N/I:P/A:N)
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 Pivotx, which can be exploited to perform Cross-Site Scripting (XSS) attacks.

1) Cross-Site Scripting (XSS) in Pivotx: CVE-2012-2274
1.1 Input passed via the "file" GET parameter to /pivotx/ajaxhelper.php is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in administrator's browser session in context of the affected website.
The following PoC (Proof of Concept) demonstrates the vulnerability:
http://[host]/pivotx/ajaxhelper.php?function=view&file=%3Cscript%3Ealert%28d ocument.cookie%29;%3C/script%3E

How to Detect Cross-Site Scripting Vulnerabilities
Free Website Security Test
  • Non-intrusive GDPR Test
  • Non-intrusive PCI DSS Test
Try Free Test
ImmuniWeb® On-Demand
  • Complete GDPR Audit
  • Complete PCI DSS Audit
  • Remediation Guidelines
  • DevSecOps Integration
Learn More

Upgrade to PivotX 2.3.3

More Information:

[1] High-Tech Bridge Advisory HTB23087 - - Cross-Site Scripting (XSS) in Pivotx.
[2] Pivotx - - PivotX is free software to help you maintain dynamic sites such as weblogs, online journals and other frequently updated websites in general. It's written in PHP and uses MySQL or flat files as a database.
[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.
User Comments
Add Comment

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.
Quick Start
Get a Demo