CVE-2006-6966
Phpgraphy vulnerability
phpGraphy before 0.9.13a does not properly unset variables when the input data includes a numeric parameter with a value matching an alphanumeric parameter's hash value, which allows remote attackers to execute arbitrary PHP code by uploading a config.php file via the pictures[] parameter to index.php. NOTE: it could be argued that this vulnerability is due to a bug in the unset PHP command (CVE-2006-3017) and the proper fix should be in PHP; if so, then this should not be treated as a vulnerability in phpGraphy.
Affected products
Phpgraphy. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Phpgraphy runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- sourceforge.net/forum/forum.php?forum_id=659277 · Patch
- retrogod.altervista.org/phpgraphy_0912_zhdkoi_cmd.html · Exploit
- securitytracker.com/id?1017571 · Exploit
- phpgraphy.sourceforge.net/changelog.php
- exchange.xforce.ibmcloud.com/vulnerabilities/30634
- nvd.nist.gov/vuln/detail/CVE-2006-6966
- cve.org/CVERecord?id=CVE-2006-6966
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.