CVE-2007-1583
MEDIUM
6.8
CVSS 2.0
Description
The mb_parse_str function in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 sets the internal register_globals flag and does not disable it in certain cases when a script terminates, which allows remote attackers to invoke available PHP scripts with register_globals functionality that is not detectable by these scripts, as demonstrated by forcing a memory_limit violation.
Affected products and versions
- PHP versions 4.0, 4.0.0, 4.0.1, 4.0.1patch1, 4.0.1patch2, 4.0.2, 4.0.3, 4.0.3patch1, 4.0.4, 4.0.4patch1, 4.0.5, 4.0.6, 4.0.7, 4.0.7rc1, 4.0.7rc2, 4.0.7rc3, 4.0beta1, 4.0beta2, 4.0beta3, 4.0beta4, 4.0beta_4_patch1, 4.0rc1, 4.0rc2, 4.1.0, 4.1.1, 4.1.2, 4.2, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.3.0, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 4.3.5, 4.3.6, 4.3.7, 4.3.8, 4.3.9, 4.3.10, 4.3.11, 4.4.0, 4.4.1, 4.4.2, 4.4.3, 4.4.4, 4.4.5, 4.4.6, 5.0.0, 5.0.0beta1, 5.0.0beta2, 5.0.0beta3, 5.0.0beta4, 5.0.0rc1, 5.0.0rc2, 5.0.0rc3, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.0rc1, 5.0rc2, 5.0rc3, 5.1.0, 5.1.1, 5.1.2, 5.1.3, 5.1.4, 5.1.5, 5.1.6, 5.2.0, 5.2.1
References
- docs.info.apple.com http://docs.info.apple.com/article.html?artnum=306172
- lists.apple.com http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2007-0155.html
- secunia.com http://secunia.com/advisories/24909
- secunia.com http://secunia.com/advisories/24924
- secunia.com http://secunia.com/advisories/24945
- secunia.com http://secunia.com/advisories/24965
- secunia.com http://secunia.com/advisories/25056
- secunia.com http://secunia.com/advisories/25057
- secunia.com http://secunia.com/advisories/25062
- secunia.com http://secunia.com/advisories/25445
- secunia.com http://secunia.com/advisories/26235
- security.gentoo.org http://security.gentoo.org/glsa/glsa-200705-19.xml
- us2.php.net http://us2.php.net/releases/4_4_7.php
- us2.php.net http://us2.php.net/releases/5_2_2.php
- www.debian.org http://www.debian.org/security/2007/dsa-1283
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDKSA-2007:088
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDKSA-2007:089
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDKSA-2007:090
- www.novell.com http://www.novell.com/linux/security/advisories/2007_32_php.html
- www.php-security.org http://www.php-security.org/MOPB/MOPB-26-2007.html Vendor Advisory
- www.redhat.com http://www.redhat.com/support/errata/RHSA-2007-0153.html
- www.redhat.com http://www.redhat.com/support/errata/RHSA-2007-0162.html
- www.securityfocus.com http://www.securityfocus.com/archive/1/466166/100/0/threaded
- www.securityfocus.com http://www.securityfocus.com/bid/23016
- www.securityfocus.com http://www.securityfocus.com/bid/25159
- www.ubuntu.com http://www.ubuntu.com/usn/usn-455-1
- www.vupen.com http://www.vupen.com/english/advisories/2007/2732
- issues.rpath.com https://issues.rpath.com/browse/RPL-1268
- oval.cisecurity.org https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10245
- nvd.nist.gov Official NVD record