CVE-2007-1376
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.
What to do
Likely to be exploited: EPSS gives a 10% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.debian.org/security/2007/dsa-1283 (vendor-advisory)
- http://security.gentoo.org/glsa/glsa-200703-21.xml (vendor-advisory)
- http://www.ubuntu.com/usn/usn-455-1 (vendor-advisory)
- http://www.novell.com/linux/security/advisories/2007_32_php.html (vendor-advisory)
References
- http://secunia.com/advisories/25056
- http://www.osvdb.org/32781
- http://www.debian.org/security/2007/dsa-1283
- http://secunia.com/advisories/24606
- http://security.gentoo.org/glsa/glsa-200703-21.xml
- http://secunia.com/advisories/25062
- https://www.exploit-db.com/exploits/3427
- http://www.ubuntu.com/usn/usn-455-1
- http://www.securityfocus.com/bid/22862
- https://www.exploit-db.com/exploits/3426
- http://secunia.com/advisories/25057
- http://www.php-security.org/MOPB/MOPB-15-2007.html
- http://www.novell.com/linux/security/advisories/2007_32_php.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.