7.5
HIGH
CVE-2008-5624
Apache PHP Safe Mode Bypass Vulnerability
Description

PHP 5 before 5.2.7 does not properly initialize the page_uid and page_gid global variables for use by the SAPI php_getuid function, which allows context-dependent attackers to bypass safe_mode restrictions via variable settings that are intended to be restricted to root, as demonstrated by a setting of /etc for the error_log variable.

INFO

Published Date :

Dec. 17, 2008, 5:30 p.m.

Last Modified :

April 9, 2025, 12:30 a.m.

Remotely Exploitable :

Yes !

Impact Score :

6.4

Exploitability Score :

10.0
Affected Products

The following products are affected by CVE-2008-5624 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Php php
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2008-5624.

URL Resource
http://marc.info/?l=bugtraq&m=124654546101607&w=2
http://marc.info/?l=bugtraq&m=124654546101607&w=2
http://marc.info/?l=bugtraq&m=125631037611762&w=2
http://marc.info/?l=bugtraq&m=125631037611762&w=2
http://osvdb.org/50483
http://osvdb.org/52207
http://secunia.com/advisories/35003
http://secunia.com/advisories/35650
http://securityreason.com/achievement_securityalert/59 Exploit
http://wiki.rpath.com/Advisories:rPSA-2009-0035
http://www.debian.org/security/2009/dsa-1789
http://www.mandriva.com/security/advisories?name=MDVSA-2009:045
http://www.php.net/ChangeLog-5.php#5.2.7
http://www.securityfocus.com/archive/1/498985/100/0/threaded
http://www.securityfocus.com/archive/1/501376/100/0/threaded
http://www.securityfocus.com/bid/32688
https://exchange.xforce.ibmcloud.com/vulnerabilities/47318
http://marc.info/?l=bugtraq&m=124654546101607&w=2
http://marc.info/?l=bugtraq&m=124654546101607&w=2
http://marc.info/?l=bugtraq&m=125631037611762&w=2
http://marc.info/?l=bugtraq&m=125631037611762&w=2
http://osvdb.org/50483
http://osvdb.org/52207
http://secunia.com/advisories/35003
http://secunia.com/advisories/35650
http://securityreason.com/achievement_securityalert/59 Exploit
http://wiki.rpath.com/Advisories:rPSA-2009-0035
http://www.debian.org/security/2009/dsa-1789
http://www.mandriva.com/security/advisories?name=MDVSA-2009:045
http://www.php.net/ChangeLog-5.php#5.2.7
http://www.securityfocus.com/archive/1/498985/100/0/threaded
http://www.securityfocus.com/archive/1/501376/100/0/threaded
http://www.securityfocus.com/bid/32688
https://exchange.xforce.ibmcloud.com/vulnerabilities/47318

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2008-5624 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2008-5624 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://marc.info/?l=bugtraq&m=124654546101607&w=2
    Added Reference http://marc.info/?l=bugtraq&m=124654546101607&w=2
    Added Reference http://marc.info/?l=bugtraq&m=125631037611762&w=2
    Added Reference http://marc.info/?l=bugtraq&m=125631037611762&w=2
    Added Reference http://osvdb.org/50483
    Added Reference http://osvdb.org/52207
    Added Reference http://secunia.com/advisories/35003
    Added Reference http://secunia.com/advisories/35650
    Added Reference http://securityreason.com/achievement_securityalert/59
    Added Reference http://wiki.rpath.com/Advisories:rPSA-2009-0035
    Added Reference http://www.debian.org/security/2009/dsa-1789
    Added Reference http://www.mandriva.com/security/advisories?name=MDVSA-2009:045
    Added Reference http://www.php.net/ChangeLog-5.php#5.2.7
    Added Reference http://www.securityfocus.com/archive/1/498985/100/0/threaded
    Added Reference http://www.securityfocus.com/archive/1/501376/100/0/threaded
    Added Reference http://www.securityfocus.com/bid/32688
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/47318
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Oct. 11, 2018

    Action Type Old Value New Value
    Removed Reference http://www.securityfocus.com/archive/1/archive/1/498985/100/0/threaded [Exploit]
    Removed Reference http://www.securityfocus.com/archive/1/archive/1/501376/100/0/threaded [No Types Assigned]
    Added Reference http://www.securityfocus.com/archive/1/501376/100/0/threaded [No Types Assigned]
    Added Reference http://www.securityfocus.com/archive/1/498985/100/0/threaded [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 08, 2017

    Action Type Old Value New Value
    Removed Reference http://xforce.iss.net/xforce/xfdb/47318 [No Types Assigned]
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/47318 [No Types Assigned]
  • Initial Analysis by [email protected]

    Dec. 17, 2008

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2008-5624 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2008-5624 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

2.73 }} -2.51%

score

0.84662

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability