Live threats

All CVEs / Php

CVE-2008-5624Php

High 7.5 No auth needed

Priority
60
CVSS 2.0
7.5
EPSS
2.2%
probability of exploitation in 30 days · percentile 83
Auth required
No
Published
Dec 17, 2008
Updated
Jun 16, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-264
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp5.0.0
phpphp5.0.0
phpphp5.0.0
phpphp5.0.0
phpphp5.0.0
phpphp5.0.0
phpphp5.0.0
phpphp5.0.0
phpphp5.0.1
phpphp5.0.2
phpphp5.0.3
phpphp5.0.4
phpphp5.0.5
phpphp5.1.0
phpphp5.1.1
phpphp5.1.2
phpphp5.1.3
phpphp5.1.4
phpphp5.1.5
phpphp5.1.6
phpphp5.2.0
phpphp5.2.1
phpphp5.2.2
phpphp5.2.3
phpphp5.2.4
phpphp5.2.5
phpphp5.2.6
phpphp5.2.7

Official sources

References

Links published by the sources. Open them with care.