All vulnerabilities

Servers and applications

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 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…

Severity
Medium 5.0
Published
1 Nov 2005
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
6.3% in the next 30 daysHigher than 93% of CVEs. EPSS by FIRST, 12 Nov 2026
Attack
Over the network · No login needed
Attacker can
Change some data
CVSS vector
AV:N/AC:L/Au:N/C:N/I:P/A:N
Sources
NVD

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.

From NVD.

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Version 5.0.5
  • Version 5.0.4
  • Version 5.0.3
  • Version 5.0.2
All 47 release lines
  • Version 4.0.0
  • Version 4.0.1
  • Version 4.0.1-patch1
  • Version 4.0.1-patch2
  • Version 4.0.2
  • Version 4.0.3
  • Version 4.0.3-patch1
  • Version 4.0.4
  • Version 4.0.5
  • Version 4.0.6
  • Version 4.0.7-rc1
  • Version 4.0.7-rc2
  • Version 4.0.7-rc3
  • Version 4.0.7
  • Version 4.1.0
  • Version 4.1.1
  • Version 4.1.2
  • Version 4.2
  • Version 4.2.1
  • Version 4.2.2
  • Version 4.2.3
  • Version 4.3.0
  • Version 4.3.1
  • Version 4.3.2
  • Version 4.3.3
  • Version 4.3.4
  • Version 4.3.5
  • Version 4.3.6
  • Version 4.3.7
  • Version 4.3.8
  • Version 4.3.9
  • Version 4.3.10
  • Version 4.3.11
  • Version 4.4.0
  • Version 5.0.0-beta1
  • Version 5.0.0-beta2
  • Version 5.0.0-beta3
  • Version 5.0.0-beta4
  • Version 5.0.0-rc1
  • Version 5.0.0-rc2
  • Version 5.0.0-rc3
  • Version 5.0.0
  • Version 5.0.1
  • Version 5.0.2
  • Version 5.0.3
  • Version 5.0.4
  • Version 5.0.5

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2005-3389
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2005-3389