All vulnerabilities

Servers and applications

CVE-2007-5899

The output_add_rewrite_var function in PHP before 5.2.5 rewrites local forms in which the ACTION attribute references a non-local URL, which allows remote attackers to obtain potentially sensitive information by reading the requests for this URL, as demonstrated by a rewritten form containing a local session ID.

Severity
Medium 4.3
Published
20 Nov 2007
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
3.4% in the next 30 daysHigher than 88% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Information exposure (CWE-200)
Attack
Over the network · No login needed
Attacker can
Read some data
CVSS vector
AV:N/AC:M/Au:N/C:P/I:N/A:N
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Every version up to 5.2.4

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2007-5899
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2007-5899