| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
A vulnerability categorized as problematic has been discovered in PHP 5.2.3. The affected element is the function gdImageCopyResized. Such manipulation leads to numeric error.
This vulnerability is traded as CVE-2007-3996. Furthermore, there is an exploit available.
It is advisable to upgrade the affected component.
Details
A vulnerability was found in PHP 5.2.3 (Programming Language Software). It has been rated as critical. Affected by this issue is the function gdImageCopyResized. The manipulation with an unknown input leads to a numeric error vulnerability. Using CWE to declare the problem leads to CWE-189. Impacted is confidentiality, integrity, and availability. CVE summarizes:
Multiple integer overflows in libgd in PHP before 5.2.4 allow remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a large (1) srcW or (2) srcH value to the (a) gdImageCopyResized function, or a large (3) sy (height) or (4) sx (width) value to the (b) gdImageCreate or the (c) gdImageCreateTrueColor function.
The weakness was shared 08/31/2007 by Matthias Bengtsson Philipp Olausson with SecurityReason (Website). The advisory is shared for download at php.net. This vulnerability is handled as CVE-2007-3996 since 07/25/2007. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details as well as a public exploit are known.
The exploit is available at securityfocus.com. It is declared as proof-of-concept. As 0-day the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 28181 (PHP < 5.2.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 165666 (SUSE Enterprise Linux Security Update php4, php5 (SUSE-SA:2008:004)).
Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at php.net. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published 4 months after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (36383), Tenable (28181), SecurityFocus (BID 26403†) and Secunia (SA26642†). The entries VDB-3203, VDB-3288, VDB-3281 and VDB-3287 are related to this item. Once again VulDB remains the best source 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.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
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: Numeric errorCWE: CWE-189
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: 28181
Nessus Name: PHP < 5.2.5 Multiple Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 61363
OpenVAS Name: Debian Security Advisory DSA 1613-1 (libgd2)
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: 🔍
Patch: php.net
Timeline
07/25/2007 🔍08/31/2007 🔍
08/31/2007 🔍
09/03/2007 🔍
09/04/2007 🔍
11/08/2007 🔍
11/12/2007 🔍
12/18/2007 🔍
04/28/2019 🔍
Sources
Product: php.orgAdvisory: php.net
Researcher: Matthias Bengtsson Philipp Olausson
Organization: SecurityReason
Status: Not defined
Confirmation: 🔍
CVE: CVE-2007-3996 (🔍)
GCVE (CVE): GCVE-0-2007-3996
GCVE (VulDB): GCVE-100-3284
OVAL: 🔍
X-Force: 36383
SecurityFocus: 26403 - PHP 5.2.4 and Prior Versions Multiple Vulnerabilities
Secunia: 26642 - PHP Multiple Vulnerabilities, Moderately Critical
Vupen: ADV-2007-3023
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 09/03/2007 18:13Updated: 04/28/2019 06:47
Changes: 09/03/2007 18:13 (87), 04/28/2019 06:47 (2)
Complete: 🔍
Cache ID: 216:BAE:103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.