7.5high
CVE-2007-1885
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 arb…
Published 19 y ago · modified 4 mo ago · JSON
CVSS
7.5
v2.0 · NVD
CISA KEV
No
not known exploited
EPSS
4.3%
percentile 91%
Public exploits
0
none known
Summary
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.
Exploit prediction (EPSS)
4.31% probability of exploitation in the next 30 days, higher than 91% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Technology feeds
- PHP (RSS, critical only)
References
- vupen.com /english/advisories/2007/1991 · vdb-entry, x_refsource_VUPEN, x_transferred
- securityfocus.com /bid/23233 · vdb-entry, x_refsource_BID, x_transferred
- h20000.www2.hp.com /bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506 · vendor-advisory, x_refsource_HP, x_transferred
- h20000.www2.hp.com /bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137 · vendor-advisory, x_refsource_HP, x_transferred
- php.net /releases/5_2_1.php · x_refsource_CONFIRM, x_transferred
- vupen.com /english/advisories/2007/2374 · vdb-entry, x_refsource_VUPEN, x_transferred
- secunia.com /advisories/25423 · third-party-advisory, x_refsource_SECUNIA, x_transferred
- secunia.com /advisories/25850 · third-party-advisory, x_refsource_SECUNIA, x_transferred
- php-security.org /MOPB/MOPB-39-2007.html · x_refsource_MISC, x_transferred
- exchange.xforce.ibmcloud.com /vulnerabilities/33767 · vdb-entry, x_refsource_XF, x_transferred
Sources
- CVE List: CVE-2007-1885
- NVD: CVE-2007-1885
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.