CVE-2007-1885
Last modified
CVE-2007-1885 is a vulnerability of currently unknown severity. Integer overflow in the str_replace function in PHP 4 before 4.4.5 and PHP 5 before 5.2.1 allows context-dependent attackers to execute arbitrary code via a single character search string in conjunction with a long replacement string, which overflows a 32 bit length counter. NOTE: this is probably the same issue as CVE-2007-0906.6.. EPSS estimates a 4.25% chance of exploitation in the next 30 days.
Description
Integer overflow in the str_replace function in PHP 4 before 4.4.5 and PHP 5 before 5.2.1 allows context-dependent attackers to execute arbitrary code via a single character search string in conjunction with a long replacement string, which overflows a 32 bit length counter. NOTE: this is probably the same issue as CVE-2007-0906.6.
Metrics
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Php | Php | 4.0.0 | — |
| Php | Php | 4.0.1 | — |
| Php | Php | 4.0.2 | — |
| Php | Php | 4.0.3 | — |
| Php | Php | 4.0.4 | — |
| Php | Php | 4.0.5 | — |
| Php | Php | 4.0.6 | — |
| Php | Php | 4.0.7 | — |
| Php | Php | 4.1.0 | — |
| Php | Php | 4.1.1 | — |
| Php | Php | 4.1.2 | — |
| Php | Php | 4.2 | — |
| Php | Php | 4.2.0 | — |
| Php | Php | 4.2.1 | — |
| Php | Php | 4.2.2 | — |
| Php | Php | 4.2.3 | — |
| Php | Php | 4.3.0 | — |
| Php | Php | 4.3.1 | — |
| Php | Php | 4.3.2 | — |
| Php | Php | 4.3.3 | — |
| Php | Php | 4.3.4 | — |
| Php | Php | 4.3.5 | — |
| Php | Php | 4.3.6 | — |
| Php | Php | 4.3.7 | — |
| Php | Php | 4.3.8 | — |
| Php | Php | 4.3.9 | — |
| Php | Php | 4.3.10 | — |
| Php | Php | 4.3.11 | — |
| Php | Php | 4.4.0 | — |
| Php | Php | 4.4.1 | — |
| Php | Php | 4.4.2 | — |
| Php | Php | 4.4.3 | — |
| Php | Php | 4.4.4 | — |
| Php | Php | 4.4.5 | — |
| Php | Php | 4.4.6 | — |
| Php | Php | 5.0 | Rc1 |
| Php | Php | 5.0.0 | — |
| Php | Php | 5.0.1 | — |
| Php | Php | 5.0.2 | — |
| Php | Php | 5.0.3 | — |
| Php | Php | 5.0.4 | — |
| Php | Php | 5.0.5 | — |
| Php | Php | 5.1.0 | — |
| Php | Php | 5.1.1 | — |
| Php | Php | 5.1.2 | — |
| Php | Php | 5.1.3 | — |
| Php | Php | 5.1.4 | — |
| Php | Php | 5.1.5 | — |
| Php | Php | 5.1.6 | — |
| Php | Php | 5.2.0 | — |
References
- http://www.php-security.org/MOPB/MOPB-39-2007.htmlExploit, Vendor Advisory
- http://www.php-security.org/MOPB/MOPB-39-2007.htmlExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2007-1885?
How severe is CVE-2007-1885?
How do I fix CVE-2007-1885?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2007
- CVE-2007-1879The StartUploading function in KL.SysInfo ActiveX control (A…
- CVE-2007-1880Integer overflow in the _NtSetValueKey function in klif.sys …
- CVE-2007-1881Unspecified vulnerability in KLIF (klif.sys) in Kaspersky An…
- CVE-2007-1882qcbin/servlet/tdservlet/TDAPI_GeneralWebTreatment in HP Merc…
- CVE-2007-1883PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 allows conte…
- CVE-2007-1884Multiple integer signedness errors in the printf function fa…
- CVE-2007-1886Integer overflow in the str_replace function in PHP 4.4.5 an…
- CVE-2007-1887Buffer overflow in the sqlite_decode_binary function in the …
- CVE-2007-1888Buffer overflow in the sqlite_decode_binary function in src/…
- CVE-2007-1889Integer signedness error in the _zend_mm_alloc_int function …
- CVE-2007-1890Integer overflow in the msg_receive function in PHP 4 before…
- CVE-2007-1891Stack-based buffer overflow in the GetPrivateProfileSectionW…
Are you affected by CVE-2007-1885?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
