PHP up to 4.4.4 msg_receive integer coercion

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.
6.6$0-$5k0.00

Summaryinfo

A vulnerability identified as critical has been detected in PHP up to 4.4.4. The affected element is the function msg_receive. This manipulation causes integer coercion. This vulnerability is handled as CVE-2007-1890. Additionally, an exploit exists. You should upgrade the affected component.

Detailsinfo

A vulnerability has been found in PHP up to 4.4.4 (Programming Language Software) and classified as critical. Affected by this vulnerability is the function msg_receive. The manipulation with an unknown input leads to a integer coercion vulnerability. The CWE definition for the vulnerability is CWE-192. Integer coercion refers to a set of flaws pertaining to the type casting, extension, or truncation of primitive data types. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

Integer overflow in the msg_receive function in PHP 4 before 4.4.5 and PHP 5 before 5.2.1, on FreeBSD and possibly other platforms, allows context-dependent attackers to execute arbitrary code via certain maxsize values, as demonstrated by 0xffffffff.

The bug was discovered 03/31/2007. The weakness was released 04/05/2007 by Stefan Esser (Website). It is possible to read the advisory at securityfocus.com. This vulnerability is known as CVE-2007-1890 since 04/05/2007. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details and also a public exploit are known.

It is possible to download the exploit at securityfocus.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 2 days. During that time the estimated underground price was around $25k-$100k. 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 12252 (PHP msg_receive() Memory Allocation Integer Overflow Vulnerability).

Upgrading to version 4.4.5 eliminates this vulnerability.

The vulnerability is also documented in the databases at X-Force (33775), Exploit-DB (29808), Tenable (24906), SecurityFocus (BID 23236†) and OSVDB (33960†). Entries connected to this vulnerability are available at VDB-35531, VDB-35530, VDB-36027 and VDB-36026. 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: 7.3
VulDB Meta Temp Score: 6.6

VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Integer coercion
CWE: CWE-192 / 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 24906
Nessus Name: PHP < 4.4.5 Multiple Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 110174
OpenVAS Name: PHP version smaller than 4.4.5
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: PHP 4.4.5

Timelineinfo

03/31/2007 🔍
03/31/2007 +0 days 🔍
03/31/2007 +0 days 🔍
04/02/2007 +2 days 🔍
04/05/2007 +3 days 🔍
04/05/2007 +0 days 🔍
04/05/2007 +0 days 🔍
04/16/2007 +11 days 🔍
03/13/2015 +2888 days 🔍
06/08/2025 +3740 days 🔍

Sourcesinfo

Product: php.org

Advisory: securityfocus.com
Researcher: Stefan Esser
Status: Confirmed

CVE: CVE-2007-1890 (🔍)
GCVE (CVE): GCVE-0-2007-1890
GCVE (VulDB): GCVE-100-36031
X-Force: 33775
SecurityFocus: 23236 - PHP Msg_Receive() Memory Allocation Integer Overflow Vulnerability
OSVDB: 33960 - CVE-2007-1890 - PHP - Integer Overflow Issue
Vulnerability Center: 14859 - PHP before 4.4.5 and 5.2.1 Integer Overflow in the msg_receive Function Allows Code Execution, Medium

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

Entryinfo

Created: 03/13/2015 14:56
Updated: 06/08/2025 22:47
Changes: 03/13/2015 14:56 (75), 07/18/2019 09:07 (4), 04/21/2025 14:42 (19), 06/08/2025 22:47 (2)
Complete: 🔍
Cache ID: 216:F80:103

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

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!