CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2008 · Php

CVE-2008-5625
Php vulnerability

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.

Affected products

Php. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Php products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.