CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2007 · Php

CVE-2007-1700
Php vulnerability

The session extension in PHP 4 before 4.4.5, and PHP 5 before 5.2.1, calculates the reference count for the session variables without considering the internal pointer from the session globals, which allows context-dependent attackers to execute arbitrary code via a crafted string in the session_register after unsetting HTTP_SESSION_VARS and _SESSION, which destroys the session data Hashtable.

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.