CVE-2007-5899

Description

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.

Category

4.3
CVSS
Severity: Medium
CVSS 2.0 •
EPSS 1.86% Top 20%
Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory debian.org Vendor Advisory redhat.com Vendor Advisory ubuntu.com Vendor Advisory redhat.com Vendor Advisory ubuntu.com Vendor Advisory securityfocus.com Vendor Advisory redhat.com Vendor Advisory mandriva.com Vendor Advisory redhat.com Vendor Advisory ubuntu.com Vendor Advisory mandriva.com Vendor Advisory mandriva.com
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
http://osvdb.org/38918 vdb entry
http://www.php.net/ChangeLog-5.php#5.2.5
https://launchpad.net/bugs/173043
http://www.redhat.com/support/errata/RHSA-2008-0546.html vendor advisory
https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html vendor advisory
http://bugs.php.net/bug.php?id=42869
https://issues.rpath.com/browse/RPL-1943
http://secunia.com/advisories/30828 third party advisory
http://www.debian.org/security/2008/dsa-1444 vendor advisory
http://www.redhat.com/support/errata/RHSA-2008-0582.html vendor advisory
http://www.ubuntu.com/usn/usn-628-1 vendor advisory
http://www.redhat.com/support/errata/RHSA-2008-0545.html vendor advisory
http://secunia.com/advisories/27864 third party advisory
http://secunia.com/advisories/31124 third party advisory
http://secunia.com/advisories/31119 third party advisory
http://secunia.com/advisories/30040 third party advisory
http://www.php.net/releases/5_2_5.php
http://secunia.com/advisories/27659 third party advisory
http://secunia.com/advisories/31200 third party advisory
https://usn.ubuntu.com/549-1/ vendor advisory
http://www.securityfocus.com/archive/1/491693/100/0/threaded vendor advisory
http://www.redhat.com/support/errata/RHSA-2008-0544.html vendor advisory
http://secunia.com/advisories/28249 third party advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2008:125 vendor advisory
http://wiki.rpath.com/wiki/Advisories:rPSA-2007-0242
http://www.redhat.com/support/errata/RHSA-2008-0505.html vendor advisory
http://www.ubuntu.com/usn/usn-549-2 vendor advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2008:126 vendor advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2008:127 vendor advisory
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11211 vdb entry signature

Frequently Asked Questions

What is the severity of CVE-2007-5899?
CVE-2007-5899 has been scored as a medium severity vulnerability.
How to fix CVE-2007-5899?
To fix CVE-2007-5899, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2007-5899 being actively exploited in the wild?
It is possible that CVE-2007-5899 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~2% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.