PHP up to 4.0.0 mail memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.8$0-$5k0.00

Summaryinfo

A vulnerability has been found in PHP up to 4.0.0 and classified as critical. Affected by this vulnerability is the function mail. Performing a manipulation results in memory corruption. This vulnerability is identified as CVE-2007-1717. Additionally, an exploit exists. The affected component should be upgraded.

Detailsinfo

A vulnerability was found in PHP up to 4.0.0 (Programming Language Software). It has been classified as critical. This affects the function mail. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on integrity. The summary by CVE is:

The mail function in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 truncates e-mail messages at the first ASCIIZ ( \0 ) byte, which might allow context-dependent attackers to prevent intended information from being delivered in e-mail messages. NOTE: this issue might be security-relevant in cases when the trailing contents of e-mail messages are important, such as logging information or if the message is expected to be well-formed.

The bug was discovered 03/26/2007. The weakness was released 03/27/2007 by DiGiT with Secunia Research (Website). It is possible to read the advisory at lists.apple.com. This vulnerability is uniquely identified as CVE-2007-1717 since 03/27/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 exploit-db.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 25340 (GLSA-200705-19 : PHP: Multiple vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gentoo Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 165074 (OpenSUSE Security Update for PHP4, PHP5 (SUSE-SA:2007:032)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 3 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (33518), Exploit-DB (29784), Tenable (25340), SecurityFocus (BID 25159†) and OSVDB (33948†). Entries connected to this vulnerability are available at VDB-23424, VDB-25650, VDB-26472 and VDB-34597. Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 4.8

VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 25340
Nessus Name: GLSA-200705-19 : PHP: Multiple vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 850110
OpenVAS Name: SurgeMail SurgeWeb Cross Site Scripting Vulnerability
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Timelineinfo

03/26/2007 🔍
03/27/2007 +1 days 🔍
03/27/2007 +0 days 🔍
03/27/2007 +0 days 🔍
03/27/2007 +0 days 🔍
05/23/2007 +57 days 🔍
05/26/2007 +3 days 🔍
05/29/2007 +3 days 🔍
06/03/2007 +5 days 🔍
08/01/2007 +59 days 🔍
03/13/2015 +2781 days 🔍
04/25/2025 +3696 days 🔍

Sourcesinfo

Product: php.org

Advisory: lists.apple.com
Researcher: DiGiT
Organization: Secunia Research
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2007-1717 (🔍)
GCVE (CVE): GCVE-0-2007-1717
GCVE (VulDB): GCVE-100-35871
X-Force: 33518
SecurityFocus: 25159 - Apple Mac OS X 2007-007 Multiple Security Vulnerabilities
Secunia: 25056
OSVDB: 33948 - PHP email messages manipulation
Vulnerability Center: 15280 - PHP Mail Function Allows Remote Manipulation of E-Mail Messages, Medium
Vupen: ADV-2007-2732

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 03/13/2015 12:16
Updated: 04/25/2025 16:17
Changes: 03/13/2015 12:16 (80), 07/20/2019 11:34 (5), 04/25/2025 16:17 (22)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!