CVE-2011-0752
What it is
The extract function in PHP before 5.2.15 does not prevent use of the EXTR_OVERWRITE parameter to overwrite (1) the GLOBALS superglobal array and (2) the this variable, which allows context-dependent attackers to bypass intended access restrictions by modifying data structures that were not intended to depend on external input, a related issue to CVE-2005-2691 and CVE-2006-3758.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 1.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
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: 1.3% in the next 30 days (EPSS).
- Severity: 5.0 MEDIUM (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 1.3% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- PHP ≤ 5.2.14
- PHP 1.0
- PHP 2.0
- PHP 2.0b10
- PHP 3.0
- PHP 3.0.1
- PHP 3.0.2
- PHP 3.0.3
Attack profile CVSS 2.0 · 5.0
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
Raw vector
AV:N/AC:L/Au:N/C:N/I:P/A:N
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-2011-0752.md and follow it. Check whether this project is affected by CVE-2011-0752. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- http://marc.info/?l=bugtraq&m=133469208622507&w=2
- http://www.openwall.com/lists/oss-security/2010/12/13/4
- http://www.php.net/ChangeLog-5.php
- http://www.php.net/archive/2010.php#id2010-12-10-1
- http://www.php.net/releases/5_2_15.php
- https://exchange.xforce.ibmcloud.com/vulnerabilities/65432
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12016
- http://marc.info/?l=bugtraq&m=133469208622507&w=2
- http://www.openwall.com/lists/oss-security/2010/12/13/4
- http://www.php.net/ChangeLog-5.php
- http://www.php.net/archive/2010.php#id2010-12-10-1
- http://www.php.net/releases/5_2_15.php
- https://exchange.xforce.ibmcloud.com/vulnerabilities/65432
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12016