{"id":"CVE-2004-0958","published":"2004-10-16T04:00:00Z","modified":"2024-08-08T00:31:48Z","title":"php_variables.c in PHP before 5.0.2 allows remote attackers to read sensitive memory contents via (1) GET, (2) POST…","vendor":null,"product":null,"tier":"tail","description":{"text":"php_variables.c in PHP before 5.0.2 allows remote attackers to read sensitive memory contents via (1) GET, (2) POST, or (3) COOKIE GPC variables that end in an open bracket character, which causes PHP to calculate an incorrect string length.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0973,"percentile":0.95634,"provenance":"source"},"cwes":[],"references":[{"url":"http://archives.neohapsis.com/archives/vulnwatch/2004-q3/0053.html","tags":["mailing-list","x_refsource_VULNWATCH"]},{"url":"http://marc.info/?l=bugtraq&m=109527531130492&w=2","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://secunia.com/advisories/12560/","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://securitytracker.com/id?1011279","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://bugzilla.fedora.us/show_bug.cgi?id=2344","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/17393","tags":["vdb-entry","x_refsource_XF"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10863","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-687.html","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":24.1,"factors":[{"name":"EPSS percentile","points":19.13},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2004-09-15"},"first":{"date":"2004-09-15","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/24656"},"provenance":"source"},"summary":{"text":"The flaw lies in the variable-handling code in php_variables.c within PHP versions before 5.0.2, where GET, POST, and COOKIE variable names ending in an open bracket character cause PHP to compute an incorrect string length. An attacker with network access to a PHP application can send such crafted GET, POST, or COOKIE variables to read sensitive memory contents.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:52:40Z"},"euvd":{"id":"EUVD-2004-0956","exploited":false,"provenance":"source"},"exploits":[{"id":24656,"url":"https://www.exploit-db.com/exploits/24656","title":"PHP 4.x/5.0.1 - PHP_Variables Remote Memory Disclosure","date":"2004-09-15","verified":true,"provenance":"source"}]}