1. CVE archive
  2. 2007
  3. CVE-2007-5899

CVE-2007-5899

4.3 Medium severity CVSS v2.0 · source NVD AV:N/AC:M/Au:N/C:P/I:N/A:N 4.3 – Medium

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.

Affected products

VendorProductVersionPlatform
php php <= 5.2.4 –
All 757 Php vulnerabilities

Vulnerability type

CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.

Impact on systems

ScopeImpact
Confidentiality Read Application Data

How to prevent it

Architecture and Design · Separation of Privilege Compartmentalize the system to have safe areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area. Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

All 11,923 CWE-200 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org