php: missing initialization of BG(page_uid) and BG(page_gid)
Published Dec 17, 2008
7.5
HIGHCVSS 2.0
EPSS 2.22%
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.
Affected products
No data.
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.1
- 5.0.2
- 5.0.3
- 5.0.4
- 5.0.5
- 5.1.0
- 5.1.1
- 5.1.2
- 5.1.3
- 5.1.4
- 5.1.5
- 5.1.6
- 5.2.0
- 5.2.1
- 5.2.2
- 5.2.3
- 5.2.4
- 5.2.5
- 5.2.6
- 5.2.7
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
Red Hat statement
We do not consider these to be security issues. For more details see https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1 and https://www.php.net/security-note.php
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.22% (0.02222) | 82.06th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.22% (0.02222) | 80.32th | v5 (v2026.06.15) |
| Jul 7, 2025 | 1.26% (0.01257) | 78.47th | v4 (v2025.03.14) |
| Mar 30, 2025 | 2.73% (0.02728) | 84.66th | v4 (v2025.03.14) |
| Mar 29, 2025 | 5.24% (0.05239) | 82.90th | v4 (v2025.03.14) |
| Mar 17, 2025 | 2.73% (0.02728) | 84.98th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.60% (0.01604) | 87.93th | v3 (v2023.03.01) |
| May 18, 2024 | 1.60% (0.01604) | 87.41th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.60% (0.01604) | 85.39th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
References (19)
- http://marc.info/?l=bugtraq&m=124654546101607&w=2 vendor-advisoryx_refsource_HP
- http://marc.info/?l=bugtraq&m=125631037611762&w=2 vendor-advisoryx_refsource_HP
- http://osvdb.org/50483 vdb-entryx_refsource_OSVDB
- http://osvdb.org/52207 vdb-entryx_refsource_OSVDB
- http://secunia.com/advisories/35003 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/35650 third-party-advisoryx_refsource_SECUNIA
- http://securityreason.com/achievement_securityalert/59 third-party-advisoryx_refsource_SREASONRESExploit
- http://wiki.rpath.com/Advisories:rPSA-2009-0035 x_refsource_CONFIRM
- http://www.debian.org/security/2009/dsa-1789 vendor-advisoryx_refsource_DEBIAN
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:045 vendor-advisoryx_refsource_MANDRIVA
- http://www.php.net/ChangeLog-5.php#5.2.7 x_refsource_CONFIRM
- http://www.securityfocus.com/archive/1/498985/100/0/threaded mailing-listx_refsource_BUGTRAQ
- http://www.securityfocus.com/archive/1/501376/100/0/threaded mailing-listx_refsource_BUGTRAQ
- http://www.securityfocus.com/bid/32688 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2008-5624 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=476985 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/47318 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2008-5624
- https://www.cve.org/CVERecord?id=CVE-2008-5624
Change history (0)
No recorded changes yet.