Live threats

All CVEs / Php

CVE-2007-1396Php

Medium 6.8 No auth needed

Priority
56
CVSS 2.0
6.8
EPSS
1.9%
probability of exploitation in 30 days · percentile 81
Auth required
No
Published
Mar 10, 2007
Updated
Jun 16, 2026
Category
Web application · Cross-platform
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P

What happens

The import_request_variables function in PHP 4.0.7 through 4.4.6, and 5.x before 5.2.2, when called without a prefix, does not prevent the (1) GET, (2) POST, (3) COOKIE, (4) FILES, (5) SERVER, (6) SESSION, and other superglobals from being overwritten, which allows remote attackers to spoof source IP address and Referer data, and have other unspecified impact. NOTE: it could be argued that this is a design limitation of PHP and that only the misuse of this feature, i.e. implementation bugs in applications, should be included in CVE. However, it has been fixed by the vendor.

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
phpphp4.0.7
phpphp4.1.0
phpphp4.1.1
phpphp4.1.2
phpphp4.2.0
phpphp4.2.1
phpphp4.2.2
phpphp4.2.3
phpphp4.3.0
phpphp4.3.1
phpphp4.3.2
phpphp4.3.3
phpphp4.3.4
phpphp4.3.5
phpphp4.3.6
phpphp4.3.7
phpphp4.3.8
phpphp4.3.9
phpphp4.3.10
phpphp4.3.11
phpphp4.4.0
phpphp4.4.1
phpphp4.4.2
phpphp4.4.3
phpphp4.4.4
phpphp4.4.5
phpphp4.4.6
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

Official sources

References

Links published by the sources. Open them with care.