CVE-2005-3389
What it is
The parse_str function in PHP 4.x up to 4.4.0 and 5.x up to 5.0.5, when called with only one parameter, allows remote attackers to enable the register_globals directive via inputs that cause a request to be terminated due to the memory_limit setting, which causes PHP to set an internal flag that enables register_globals and allows attackers to exploit vulnerabilities in PHP applications that would otherwise be protected.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 6.3% 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: 6.3% in the next 30 days (EPSS).
- Severity: 5.0 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 6.3% · EPSS, next 30 days
- Record status
- Modified
Affected
- PHP 4.0.0
- PHP 4.0.1
- PHP 4.0.2
- PHP 4.0.3
- PHP 4.0.4
- PHP 4.0.5
- PHP 4.0.6
- PHP 4.0.7
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-2005-3389.md and follow it. Check whether this project is affected by CVE-2005-3389. 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://secunia.com/advisories/17371
- http://secunia.com/advisories/17490
- http://secunia.com/advisories/17510
- http://secunia.com/advisories/17531
- http://secunia.com/advisories/17557
- http://secunia.com/advisories/17559
- http://secunia.com/advisories/18054
- http://secunia.com/advisories/18198
- http://secunia.com/advisories/18669
- http://secunia.com/advisories/21252
References
- http://itrc.hp.com/service/cki/docDisplay.do?docId=c00786522
- http://rhn.redhat.com/errata/RHSA-2006-0549.html
- http://secunia.com/advisories/17371
- http://secunia.com/advisories/17490
- http://secunia.com/advisories/17510
- http://secunia.com/advisories/17531
- http://secunia.com/advisories/17557
- http://secunia.com/advisories/17559
- http://secunia.com/advisories/18054
- http://secunia.com/advisories/18198
- http://secunia.com/advisories/18669
- http://secunia.com/advisories/21252
- http://secunia.com/advisories/22691
- http://securityreason.com/securityalert/134
- http://securitytracker.com/id?1015131
- http://support.avaya.com/elmodocs2/security/ASA-2006-037.htm
- http://www.fedoralegacy.org/updates/FC2/2005-11-28-FLSA_2005_166943__Updated_php_packages_fix_security_issues.html
- http://www.gentoo.org/security/en/glsa/glsa-200511-08.xml
- http://www.hardened-php.net/advisory_192005.78.html
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:213
- http://www.novell.com/linux/security/advisories/2005_27_sr.html
- http://www.openpkg.org/security/OpenPKG-SA-2005.027-php.html
- http://www.php.net/release_4_4_1.php
- http://www.redhat.com/support/errata/RHSA-2005-831.html
- http://www.redhat.com/support/errata/RHSA-2005-838.html