Access Restriction Bypass Affecting php package, versions [,5.2.7)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.4% (87th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-PHP-2335678
  • published12 Jan 2022
  • disclosed17 Dec 2008
  • creditUnknown

Introduced: 17 Dec 2008

CVE-2008-5625  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade php to version 5.2.7 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass. PHP 5 before 5.2.7 does not enforce the error_log safe_mode restrictions when safe_mode is enabled through a php_admin_flag setting in httpd.conf, which allows context-dependent attackers to write to arbitrary files by placing a "php_value error_log" entry in a .htaccess file.

References

CVSS Scores

version 3.1