vendor:
pChart
by:
Balazs Makany
8,8
CVSS
HIGH
Directory Traversal and Reflected XSS
22 (Path Traversal) and 79 (Cross-Site Scripting)
CWE
Product Name: pChart
Affected Version From: 2.1.3
Affected Version To: 2.1.3
Patch Exists: YES
Related CWE: N/A
CPE: pchart:pchart
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: FreeBSD and Apache
2014
pChart 2.1.3 Directory Traversal and Reflected XSS
PHP library pChart 2.1.3 (and possibly previous versions) by default contains an examples folder, where the application is vulnerable to Directory Traversal and Cross-Site Scripting (XSS). It is plausible that custom built production code contains similar problems if the usage of the library was copied from the examples. The exploit author engaged the vendor before publicly disclosing the vulnerability and consequently the vendor released an official fix before the vulnerability was published.
Mitigation:
Update to the latest version of the software, remove public access to the examples folder where applicable, filter user input for malicious content, use a Web Application Firewall or similar technology to filter malicious input attempts.