| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.0 | $0-$5k | 0.00 |
Summary
A vulnerability was found in PHP 5.2.7. It has been classified as critical. Affected by this vulnerability is an unknown functionality. Performing a manipulation results in config. This vulnerability is identified as CVE-2008-5844. The attack can be initiated remotely. There is not any exploit available. Upgrading the affected component is recommended.
Details
A vulnerability was found in PHP 5.2.7 (Programming Language Software). It has been classified as critical. This affects an unknown code block. The manipulation with an unknown input leads to a config vulnerability. CWE is classifying the issue as CWE-16. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
PHP 5.2.7 contains an incorrect change to the FILTER_UNSAFE_RAW functionality, and unintentionally disables magic_quotes_gpc regardless of the actual magic_quotes_gpc setting, which might make it easier for context-dependent attackers to conduct SQL injection attacks and unspecified other attacks.
The bug was discovered 12/07/2008. The weakness was released 01/05/2009 with PHP (Website). It is possible to read the advisory at securitytracker.com. This vulnerability is uniquely identified as CVE-2008-5844 since 01/05/2009. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. The technical details are unknown and an exploit is not publicly available. The attack technique deployed by this issue is T1592.004 according to MITRE ATT&CK.
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 $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 35050 (FreeBSD : php5 -- potential magic_quotes_gpc vulnerability (1f9e2376-c52f-11dd-8cbc-00163e000016)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 12268 (PHP 5.2.7 "magic_quotes_gpc" Security Bypass Weakness).
Upgrading eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (47779), Tenable (35050), SecurityFocus (BID 32673†), OSVDB (50587†) and SecurityTracker (ID 1021393†). 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: 7.0
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
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: ConfigCWE: CWE-16
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 35050
Nessus Name: FreeBSD : php5 -- potential magic_quotes_gpc vulnerability (1f9e2376-c52f-11dd-8cbc-00163e000016)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍
OpenVAS ID: 62850
OpenVAS Name: FreeBSD Ports: php5
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Timeline
12/07/2008 🔍12/07/2008 🔍
12/07/2008 🔍
12/08/2008 🔍
12/08/2008 🔍
12/15/2008 🔍
12/16/2008 🔍
01/05/2009 🔍
01/05/2009 🔍
01/05/2009 🔍
03/17/2015 🔍
05/24/2025 🔍
Sources
Product: php.orgAdvisory: securitytracker.com⛔
Organization: PHP
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2008-5844 (🔍)
GCVE (CVE): GCVE-0-2008-5844
GCVE (VulDB): GCVE-100-45771
X-Force: 47779
SecurityFocus: 32673 - PHP 5.2.7 'magic_quotes_gpc' Security Bypass Weakness
OSVDB: 50587 - PHP 5.2.7 - 'magic_quotes_gpc' Security Bypass Weakness
SecurityTracker: 1021393
Vulnerability Center: 20242 - PHP 5.2.7 magic_quotes_gpc Setting Remote Bypass Security Restrictions Vulnerability, High
Entry
Created: 03/17/2015 16:11Updated: 05/24/2025 20:39
Changes: 03/17/2015 16:11 (75), 08/22/2019 11:19 (5), 05/24/2025 20:39 (18)
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.