| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.4 | $0-$5k | 0.00 |
Summary
A vulnerability was found in PHP 4.4.5/5.2.1. It has been classified as critical. This affects the function str_replace. Performing a manipulation results in integer coercion.
This vulnerability is reported as CVE-2007-1886. No exploit exists.
Upgrading the affected component is recommended.
Details
A vulnerability classified as critical has been found in PHP 4.4.5/5.2.1 (Programming Language Software). This affects the function str_replace. The manipulation with an unknown input leads to a integer coercion vulnerability. CWE is classifying the issue as CWE-192. Integer coercion refers to a set of flaws pertaining to the type casting, extension, or truncation of primitive data types. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
Integer overflow in the str_replace function in PHP 4.4.5 and PHP 5.2.1 allows context-dependent attackers to have an unknown impact via a single character search string in conjunction with a single character replacement string, which causes an "off by one overflow."
The weakness was disclosed 04/05/2007 (Website). It is possible to read the advisory at php-security.org. This vulnerability is uniquely identified as CVE-2007-1886 since 04/05/2007. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details of the vulnerability are known, but there is no available exploit.
It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 24906 (PHP < 4.4.5 Multiple Vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CGI abuses and running in the context r. The commercial vulnerability scanner Qualys is able to test this issue with plugin 12259 (PHP Prior to 5.2.1/4.4.5 Multiple Vulnerabilities).
Upgrading eliminates this vulnerability.
The vulnerability is also documented in the databases at X-Force (33768), Tenable (24906), SecurityFocus (BID 22496†) and Secunia (SA25423†). The entries VDB-2920, VDB-2911, VDB-2914 and VDB-2917 are pretty similar. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Name
Version
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.4
VulDB Base Score: 7.3
VulDB Temp Score: 6.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Integer coercionCWE: CWE-192 / CWE-189
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Proof-of-Concept
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 24906
Nessus Name: PHP < 4.4.5 Multiple Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 100594
OpenVAS Name: PHP Str_Replace() Integer Overflow Vulnerability
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Timeline
02/09/2007 🔍04/02/2007 🔍
04/05/2007 🔍
04/05/2007 🔍
04/05/2007 🔍
05/30/2007 🔍
03/13/2015 🔍
06/13/2025 🔍
Sources
Product: php.orgAdvisory: php-security.org
Status: Confirmed
CVE: CVE-2007-1886 (🔍)
GCVE (CVE): GCVE-0-2007-1886
GCVE (VulDB): GCVE-100-36027
X-Force: 33768 - PHP str_replace single character unspecified
SecurityFocus: 22496
Secunia: 25423 - HP System Management Homepage PHP Multiple Vulnerabilities, Moderately Critical
Vupen: ADV-2007-1991
See also: 🔍
Entry
Created: 03/13/2015 14:56Updated: 06/13/2025 14:32
Changes: 03/13/2015 14:56 (60), 08/28/2018 07:18 (8), 07/14/2021 09:01 (4), 06/13/2025 14:32 (17)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.