CVE-2007-5899
Published Nov 20, 2007 · Updated Oct 23, 2026
Original summary
Normalized public record · Updated Oct 23, 2026
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.
Publisher and source text is retained separately from QFinch interpretation.
QFinch assessment
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.
Evidence: public source recordsAffected products
| Affected package, product or range | Fix status |
|---|---|
| Consult the referenced vendor advisory for affected versions. | Consult source advisory |
Matching a version is only one part of assessing exposure. QFinch has not assessed your environment on this public page.
Remediation
Apply the vendor-supported fixed release or mitigation, then verify the affected component is no longer reachable.
- Confirm the affected product and reachable code path exist in your environment.
- Apply the vendor-supported patch or mitigation from the primary advisory.
- Rescan the exact deployed revision and retain verification evidence.
Evidence coverage
- SSVC priority
- LOW
- Confidence
- Not available
- Aliases
- None reported
Scores appear only when corresponding evidence exists. Missing data is never interpreted as zero risk.
Sources and record history
- 38918 ↗
- www.php.net ↗
- launchpad.net ↗
- RHSA-2008:0546 ↗
- FEDORA-2008-3864 ↗
- bugs.php.net ↗
- issues.rpath.com ↗
- 30828 ↗
- DSA-1444 ↗
- RHSA-2008:0582 ↗
- USN-628-1 ↗
- RHSA-2008:0545 ↗
Record history
Published Nov 20, 2007 · Last refreshed Oct 23, 2026