5.1med

CVE-2004-05941 exploit

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

Published 22 y ago · modified 4 mo ago · JSON

CVSS
5.1
v2.0 · NVD
CISA KEV
No
not known exploited
EPSS
54.9%
percentile 99%
Public exploits
1
Exploit-DB

Summary

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.

Exploit prediction (EPSS)

54.86% probability of exploitation in the next 30 days, higher than 99% of all scored CVEs.

Exploits and detections

  • EDB-660 PHP 4.3.7/5.0.0RC3 - 'memory_limit' Remote Overflow · remote · 2004-11-27

CVSS scores

Assigned byVersionScoreVector
NVD2.05.1AV:N/AC:H/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Technology feeds
PHP (RSS, critical only)

References

  • trustix.org /errata/2004/0039/ · vendor-advisory, x_refsource_TRUSTIX, x_transferred
  • lists.grok.org.uk /pipermail/full-disclosure/2004-July/023908.html · mailing-list, x_refsource_FULLDISC, x_transferred
  • distro.conectiva.com.br /atualizacoes/?id=a&anuncio=000847 · vendor-advisory, x_refsource_CONECTIVA, x_transferred
  • marc.info /?l=bugtraq&m=108982983426031&w=2 · mailing-list, x_refsource_BUGTRAQ, x_transferred
  • debian.org /security/2005/dsa-669 · vendor-advisory, x_refsource_DEBIAN, x_transferred
  • redhat.com /support/errata/RHSA-2004-395.html · vendor-advisory, x_refsource_REDHAT, x_transferred
  • redhat.com /support/errata/RHSA-2004-405.html · vendor-advisory, x_refsource_REDHAT, x_transferred
  • oval.cisecurity.org /repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10896 · vdb-entry, signature, x_refsource_OVAL, x_transferred
  • redhat.com /support/errata/RHSA-2004-392.html · vendor-advisory, x_refsource_REDHAT, x_transferred
  • debian.org /security/2004/dsa-531 · vendor-advisory, x_refsource_DEBIAN, x_transferred
  • novell.com /linux/security/advisories/2004_21_php4.html · vendor-advisory, x_refsource_SUSE, x_transferred
  • mandrakesecure.net /en/advisories/advisory.php?name=MDKSA-2004:068 · vendor-advisory, x_refsource_MANDRAKE, x_transferred
  • redhat.com /support/errata/RHSA-2005-816.html · vendor-advisory, x_refsource_REDHAT, x_transferred
  • marc.info /?l=bugtraq&m=109181600614477&w=2 · vendor-advisory, x_refsource_HP, x_transferred
  • exchange.xforce.ibmcloud.com /vulnerabilities/16693 · vdb-entry, x_refsource_XF, x_transferred
  • marc.info /?l=bugtraq&m=109051444105182&w=2 · mailing-list, x_refsource_BUGTRAQ, x_transferred
  • securityfocus.com /bid/10725 · vdb-entry, x_refsource_BID, x_transferred
  • marc.info /?l=bugtraq&m=108981780109154&w=2 · mailing-list, x_refsource_BUGTRAQ, x_transferred
  • gentoo.org /security/en/glsa/glsa-200407-13.xml · vendor-advisory, x_refsource_GENTOO, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.