CVE-2011-0752

php: extract() can overwrite $GLOBALS and $this when using EXTR_OVERWRITE

Published Feb 2, 2011 CVSS 2.0 · 5.0 Medium EPSS 1.3% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2011-0764 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.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 6, 2024, 10:05 PM
Reserved
Feb 2, 2011, 12:00 AM
Status
Modified
Published
Feb 2, 2011, 10:00 PM
Modified
Jun 16, 2026, 11:28 PM
Severity
Low
Public date
Dec 8, 2010, 12:00 AM