| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.8 | $0-$5k | 0.00 |
Summary
A vulnerability was found in PHP 4.4.7/5.2.3. It has been rated as problematic. This impacts the function wordwrap. Performing a manipulation results in input validation.
This vulnerability is cataloged as CVE-2007-3998. Furthermore, there is an exploit available.
Upgrading the affected component is advised.
Details
A vulnerability classified as problematic has been found in PHP 4.4.7/5.2.3 (Programming Language Software). This affects the function wordwrap. The manipulation with an unknown input leads to a input validation vulnerability. CWE is classifying the issue as CWE-20. The product receives input or data, but it does
not validate or incorrectly validates that the input has the
properties that are required to process the data safely and
correctly. This is going to have an impact on availability. The summary by CVE is:
The wordwrap function in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, does not properly use the breakcharlen variable, which allows remote attackers to cause a denial of service (divide-by-zero error and application crash, or infinite loop) via certain arguments, as demonstrated by a chr(0), 0, "" argument set.
The bug was discovered 08/30/2007. The weakness was shared 09/04/2007 by Maksymilian Arciemowicz (shinnai) (Website). It is possible to read the advisory at php.net. This vulnerability is uniquely identified as CVE-2007-3998 since 07/25/2007. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details and a public exploit are known.
The exploit is shared for download at securityfocus.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 5 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 26204 (CentOS 3 : php (CESA-2007:0889)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CentOS Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 165666 (SUSE Enterprise Linux Security Update php4, php5 (SUSE-SA:2008:004)).
Upgrading to version 5.2.3 eliminates this vulnerability. A possible mitigation has been published 4 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (36623), Tenable (26204), SecurityFocus (BID 25498†), OSVDB (36858†) and Secunia (SA26642†). The entries VDB-3203, VDB-3288, VDB-3287 and VDB-3284 are related to this item. 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: 5.3VulDB Meta Temp Score: 4.8
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
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: Input validationCWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 26204
Nessus Name: CentOS 3 : php (CESA-2007:0889)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 60099
OpenVAS Name: Debian Security Advisory DSA 1444-1 (php5)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: PHP 5.2.3
Timeline
07/25/2007 🔍08/30/2007 🔍
08/31/2007 🔍
08/31/2007 🔍
09/04/2007 🔍
09/04/2007 🔍
09/04/2007 🔍
09/18/2007 🔍
09/26/2007 🔍
10/03/2007 🔍
03/16/2015 🔍
07/25/2019 🔍
Sources
Product: php.orgAdvisory: php.net
Researcher: Maksymilian Arciemowicz (shinnai)
Status: Not defined
Confirmation: 🔍
CVE: CVE-2007-3998 (🔍)
GCVE (CVE): GCVE-0-2007-3998
GCVE (VulDB): GCVE-100-38619
OVAL: 🔍
X-Force: 36623
SecurityFocus: 25498 - PHP 5.2.3 and Prior Versions Multiple Vulnerabilities
Secunia: 26642
OSVDB: 36858 - CVE-2007-3998 - PHP - Denial-Of-Service Issue
Vulnerability Center: 16073 - PHP Wordrap Function Remote Denial of Service, Medium
Vupen: ADV-2007-3023
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 03/16/2015 12:18Updated: 07/25/2019 20:16
Changes: 03/16/2015 12:18 (79), 07/25/2019 20:16 (11)
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.