vendor:
Ganglia Web Frontend
by:
Andrei Costin
7,5
CVSS
HIGH
Remote Code Execution
94
CWE
Product Name: Ganglia Web Frontend
Affected Version From: 3.5.0
Affected Version To: 3.5.1
Patch Exists: YES
Related CWE: CVE-2012-3448
CPE: a:ganglia:ganglia_web_frontend
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Ubuntu Linux 14.04 LTS x86
2012
CVE-2012-3448 PoC
This PoC will create a dummy file in the /tmp folder and will copy /etc/passwd to /tmp. To modify the attack payload, modify the code below. Setup: Ubuntu Linux 14.04 LTS x86 with Ganglia Web Frontend 3.5.0. Attacker puts the contents of this PoC file into the file: /tmp/attack.php. Attacker visits the Ganglia Web Frontend interface with version < 3.5.1 as: http://targetIP/ganglia/graph.php?g=../../../../tmp/attack&metric=DUMMY&title=DUMMY. Confirm that the PoC created a dummy file in the /tmp folder and copied /etc/passwd to /tmp.
Mitigation:
Upgrade to Ganglia Web Frontend version 3.5.1 or later.