// For flags

CVE-2004-0594

PHP 4.3.7/5.0.0RC3 - 'memory_limit' Remote Overflow

Severity Score

5.1
*CVSS v2

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

1
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

The memory_limit functionality in PHP 4.x up to 4.3.7, and 5.x up to 5.0.0RC3, under certain conditions such as when register_globals is enabled, allows remote attackers to execute arbitrary code by triggering a memory_limit abort during execution of the zend_hash_init function and overwriting a HashTable destructor pointer before the initialization of key data structures is complete.

La funcionalidad memory_limit de PHP 4.x a 4.3.7 y 5.x a 5.0.0RC3, bajo ciertas condiciones, como cuando register_globals está habilitado, permite a atacantes remotos ejecutar código de su elección disparando un aborto por memory_limit de la función zend_hash_init y sobrescribiendo un puntero de destructor de HashTable antes de que la incialización de las estructuras de datos clave se haya completado.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
High
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2004-06-23 CVE Reserved
  • 2004-07-14 CVE Published
  • 2004-11-27 First Exploit
  • 2024-02-16 EPSS Updated
  • 2024-08-08 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
CAPEC
References (22)
URL Date SRC
https://www.exploit-db.com/exploits/660 2004-11-27
URL Date SRC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Openpkg
Search vendor "Openpkg"
Openpkg
Search vendor "Openpkg" for product "Openpkg"
2.0
Search vendor "Openpkg" for product "Openpkg" and version "2.0"
-
Affected
Openpkg
Search vendor "Openpkg"
Openpkg
Search vendor "Openpkg" for product "Openpkg"
2.1
Search vendor "Openpkg" for product "Openpkg" and version "2.1"
-
Affected
Avaya
Search vendor "Avaya"
Converged Communications Server
Search vendor "Avaya" for product "Converged Communications Server"
2.0
Search vendor "Avaya" for product "Converged Communications Server" and version "2.0"
-
Affected
Debian
Search vendor "Debian"
Debian Linux
Search vendor "Debian" for product "Debian Linux"
3.0
Search vendor "Debian" for product "Debian Linux" and version "3.0"
-
Affected
Hp
Search vendor "Hp"
Hp-ux
Search vendor "Hp" for product "Hp-ux"
b.11.00
Search vendor "Hp" for product "Hp-ux" and version "b.11.00"
-
Affected
Hp
Search vendor "Hp"
Hp-ux
Search vendor "Hp" for product "Hp-ux"
b.11.11
Search vendor "Hp" for product "Hp-ux" and version "b.11.11"
-
Affected
Hp
Search vendor "Hp"
Hp-ux
Search vendor "Hp" for product "Hp-ux"
b.11.22
Search vendor "Hp" for product "Hp-ux" and version "b.11.22"
-
Affected
Hp
Search vendor "Hp"
Hp-ux
Search vendor "Hp" for product "Hp-ux"
b.11.23
Search vendor "Hp" for product "Hp-ux" and version "b.11.23"
-
Affected
Trustix
Search vendor "Trustix"
Secure Linux
Search vendor "Trustix" for product "Secure Linux"
1.5
Search vendor "Trustix" for product "Secure Linux" and version "1.5"
-
Affected
Trustix
Search vendor "Trustix"
Secure Linux
Search vendor "Trustix" for product "Secure Linux"
2.0
Search vendor "Trustix" for product "Secure Linux" and version "2.0"
-
Affected
Trustix
Search vendor "Trustix"
Secure Linux
Search vendor "Trustix" for product "Secure Linux"
2.1
Search vendor "Trustix" for product "Secure Linux" and version "2.1"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
>= 4.0 < 4.3.7
Search vendor "Php" for product "Php" and version " >= 4.0 < 4.3.7"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.0.0
Search vendor "Php" for product "Php" and version "5.0.0"
beta1
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.0.0
Search vendor "Php" for product "Php" and version "5.0.0"
beta2
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.0.0
Search vendor "Php" for product "Php" and version "5.0.0"
beta3
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.0.0
Search vendor "Php" for product "Php" and version "5.0.0"
beta4
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.0.0
Search vendor "Php" for product "Php" and version "5.0.0"
rc1
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.0.0
Search vendor "Php" for product "Php" and version "5.0.0"
rc2
Affected