{"id":"CVE-2007-1376","published":"2007-03-10T00:00:00Z","modified":"2024-08-07T12:50:35Z","title":"The shmop functions in PHP before 4.4.5, and before 5.2.1 in the 5.x series, do not verify that their arguments…","vendor":null,"product":null,"tier":"tail","description":{"text":"The shmop functions in PHP before 4.4.5, and before 5.2.1 in the 5.x series, do not verify that their arguments correspond to a shmop resource, which allows context-dependent attackers to read and write arbitrary memory locations via arguments associated with an inappropriate resource, as demonstrated by a GD Image resource.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.1041,"percentile":0.95843,"provenance":"source"},"cwes":[],"references":[{"url":"http://secunia.com/advisories/25056","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.osvdb.org/32781","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://www.debian.org/security/2007/dsa-1283","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://secunia.com/advisories/24606","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://security.gentoo.org/glsa/glsa-200703-21.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://secunia.com/advisories/25062","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://www.exploit-db.com/exploits/3427","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://www.ubuntu.com/usn/usn-455-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.securityfocus.com/bid/22862","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://www.exploit-db.com/exploits/3426","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://secunia.com/advisories/25057","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.php-security.org/MOPB/MOPB-15-2007.html","tags":["x_refsource_MISC"]},{"url":"http://www.novell.com/linux/security/advisories/2007_32_php.html","tags":["vendor-advisory","x_refsource_SUSE"]}],"priority":{"score":24.2,"factors":[{"name":"EPSS percentile","points":19.17},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":2,"earliest":"2007-03-07"},"first":{"date":"2007-03-07","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/3426"},"provenance":"source"},"summary":{"text":"The shmop functions in PHP before 4.4.5, and before 5.2.1 in the 5.x series, fail to verify that their arguments correspond to a shmop resource, affecting the PHP interpreter's shmop extension. An attacker able to supply arguments to these functions, such as by supplying a non-shmop resource like a GD Image resource, can read and write arbitrary memory locations.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:53:03Z"},"euvd":{"id":"EUVD-2007-1372","exploited":false,"provenance":"source"},"exploits":[{"id":3426,"url":"https://www.exploit-db.com/exploits/3426","title":"PHP < 4.4.5/5.2.1 - 'shmop' Local Code Execution","date":"2007-03-07","verified":true,"provenance":"source"},{"id":3427,"url":"https://www.exploit-db.com/exploits/3427","title":"PHP < 4.4.5/5.2.1 - 'shmop' SSL RSA Private-Key Disclosure","date":"2007-03-07","verified":true,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/3427","https://www.exploit-db.com/exploits/3426"]}