CVE-2006-6966
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 2.6% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.6% in the next 30 days (EPSS).
- Severity: 7.5 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.6% · EPSS, next 30 days
- Record status
- Modified
Affected
- Phpgraphy ≤ 0.9.13
- Phpgraphy 0.9
- Phpgraphy 0.9.1
- Phpgraphy 0.9.2
- Phpgraphy 0.9.3
- Phpgraphy 0.9.4
- Phpgraphy 0.9.5
- Phpgraphy 0.9.6
Attack profile CVSS 2.0 · 7.5
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2006-6966.md and follow it. Check whether this project is affected by CVE-2006-6966. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://sourceforge.net/forum/forum.php?forum_id=659277
- http://sourceforge.net/forum/forum.php?forum_id=659277
References
- http://phpgraphy.sourceforge.net/changelog.php
- http://retrogod.altervista.org/phpgraphy_0912_zhdkoi_cmd.html
- http://securitytracker.com/id?1017571
- http://sourceforge.net/forum/forum.php?forum_id=659277
- https://exchange.xforce.ibmcloud.com/vulnerabilities/30634
- http://phpgraphy.sourceforge.net/changelog.php
- http://retrogod.altervista.org/phpgraphy_0912_zhdkoi_cmd.html
- http://securitytracker.com/id?1017571
- http://sourceforge.net/forum/forum.php?forum_id=659277
- https://exchange.xforce.ibmcloud.com/vulnerabilities/30634