FKIE_CVE-2007-5899

Vulnerability from fkie_nvd - Published: 2007-11-20 19:46 - Updated: 2026-06-16 22:46
Severity
Summary
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.
References
cve@mitre.orghttp://bugs.php.net/bug.php?id=42869
cve@mitre.orghttp://osvdb.org/38918
cve@mitre.orghttp://secunia.com/advisories/27659
cve@mitre.orghttp://secunia.com/advisories/27864
cve@mitre.orghttp://secunia.com/advisories/28249
cve@mitre.orghttp://secunia.com/advisories/30040
cve@mitre.orghttp://secunia.com/advisories/30828
cve@mitre.orghttp://secunia.com/advisories/31119
cve@mitre.orghttp://secunia.com/advisories/31124
cve@mitre.orghttp://secunia.com/advisories/31200
cve@mitre.orghttp://wiki.rpath.com/wiki/Advisories:rPSA-2007-0242
cve@mitre.orghttp://www.debian.org/security/2008/dsa-1444
cve@mitre.orghttp://www.mandriva.com/security/advisories?name=MDVSA-2008:125
cve@mitre.orghttp://www.mandriva.com/security/advisories?name=MDVSA-2008:126
cve@mitre.orghttp://www.mandriva.com/security/advisories?name=MDVSA-2008:127
cve@mitre.orghttp://www.php.net/ChangeLog-5.php#5.2.5
cve@mitre.orghttp://www.php.net/releases/5_2_5.php
cve@mitre.orghttp://www.redhat.com/support/errata/RHSA-2008-0505.html
cve@mitre.orghttp://www.redhat.com/support/errata/RHSA-2008-0544.html
cve@mitre.orghttp://www.redhat.com/support/errata/RHSA-2008-0545.html
cve@mitre.orghttp://www.redhat.com/support/errata/RHSA-2008-0546.html
cve@mitre.orghttp://www.redhat.com/support/errata/RHSA-2008-0582.html
cve@mitre.orghttp://www.securityfocus.com/archive/1/491693/100/0/threaded
cve@mitre.orghttp://www.ubuntu.com/usn/usn-549-2
cve@mitre.orghttp://www.ubuntu.com/usn/usn-628-1
cve@mitre.orghttps://issues.rpath.com/browse/RPL-1943
cve@mitre.orghttps://launchpad.net/bugs/173043
cve@mitre.orghttps://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11211
cve@mitre.orghttps://usn.ubuntu.com/549-1/
cve@mitre.orghttps://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html
af854a3a-2127-422b-91ae-364da2661108http://bugs.php.net/bug.php?id=42869
af854a3a-2127-422b-91ae-364da2661108http://osvdb.org/38918
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/27659
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/27864
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/28249
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/30040
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/30828
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/31119
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/31124
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/31200
af854a3a-2127-422b-91ae-364da2661108http://wiki.rpath.com/wiki/Advisories:rPSA-2007-0242
af854a3a-2127-422b-91ae-364da2661108http://www.debian.org/security/2008/dsa-1444
af854a3a-2127-422b-91ae-364da2661108http://www.mandriva.com/security/advisories?name=MDVSA-2008:125
af854a3a-2127-422b-91ae-364da2661108http://www.mandriva.com/security/advisories?name=MDVSA-2008:126
af854a3a-2127-422b-91ae-364da2661108http://www.mandriva.com/security/advisories?name=MDVSA-2008:127
af854a3a-2127-422b-91ae-364da2661108http://www.php.net/ChangeLog-5.php#5.2.5
af854a3a-2127-422b-91ae-364da2661108http://www.php.net/releases/5_2_5.php
af854a3a-2127-422b-91ae-364da2661108http://www.redhat.com/support/errata/RHSA-2008-0505.html
af854a3a-2127-422b-91ae-364da2661108http://www.redhat.com/support/errata/RHSA-2008-0544.html
af854a3a-2127-422b-91ae-364da2661108http://www.redhat.com/support/errata/RHSA-2008-0545.html
af854a3a-2127-422b-91ae-364da2661108http://www.redhat.com/support/errata/RHSA-2008-0546.html
af854a3a-2127-422b-91ae-364da2661108http://www.redhat.com/support/errata/RHSA-2008-0582.html
af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/archive/1/491693/100/0/threaded
af854a3a-2127-422b-91ae-364da2661108http://www.ubuntu.com/usn/usn-549-2
af854a3a-2127-422b-91ae-364da2661108http://www.ubuntu.com/usn/usn-628-1
af854a3a-2127-422b-91ae-364da2661108https://issues.rpath.com/browse/RPL-1943
af854a3a-2127-422b-91ae-364da2661108https://launchpad.net/bugs/173043
af854a3a-2127-422b-91ae-364da2661108https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11211
af854a3a-2127-422b-91ae-364da2661108https://usn.ubuntu.com/549-1/
af854a3a-2127-422b-91ae-364da2661108https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html
Impacted products
Vendor Product Version
php php *

{
  "affected": [
    {
      "affectedData": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "source": "cve@mitre.org"
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "A5B6B1C7-B7B8-495E-9FE5-FF39718DC64E",
              "versionEndIncluding": "5.2.4",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    },
    {
      "lang": "es",
      "value": "La funci\u00f3n output_add_rewrite_var en PHP anterior a 5.2.5 rescribe formularios locales en los cuales el atributo ACTION referencia a una URL no local, lo caul permite a atacantes remotos obtener informaci\u00f3n potencialmente sensible a trav\u00e9s de la lectura de respuestas para esta URL, como se demostr\u00f3 por la rescritura del formulario contenedor de una sesi\u00f3n local ID."
    }
  ],
  "id": "CVE-2007-5899",
  "lastModified": "2026-06-16T22:46:59.773",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "MEDIUM",
        "cvssData": {
          "accessComplexity": "MEDIUM",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "NONE",
          "baseScore": 4.3,
          "confidentialityImpact": "PARTIAL",
          "integrityImpact": "NONE",
          "vectorString": "AV:N/AC:M/Au:N/C:P/I:N/A:N",
          "version": "2.0"
        },
        "exploitabilityScore": 8.6,
        "impactScore": 2.9,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": false
      }
    ]
  },
  "published": "2007-11-20T19:46:00.000",
  "references": [
    {
      "source": "cve@mitre.org",
      "url": "http://bugs.php.net/bug.php?id=42869"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://osvdb.org/38918"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/27659"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/27864"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/28249"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/30040"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/30828"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/31119"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/31124"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/31200"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://wiki.rpath.com/wiki/Advisories:rPSA-2007-0242"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.debian.org/security/2008/dsa-1444"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:125"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:126"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:127"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.php.net/ChangeLog-5.php#5.2.5"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.php.net/releases/5_2_5.php"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.redhat.com/support/errata/RHSA-2008-0505.html"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.redhat.com/support/errata/RHSA-2008-0544.html"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.redhat.com/support/errata/RHSA-2008-0545.html"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.redhat.com/support/errata/RHSA-2008-0546.html"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.redhat.com/support/errata/RHSA-2008-0582.html"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.securityfocus.com/archive/1/491693/100/0/threaded"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.ubuntu.com/usn/usn-549-2"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.ubuntu.com/usn/usn-628-1"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://issues.rpath.com/browse/RPL-1943"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://launchpad.net/bugs/173043"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11211"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://usn.ubuntu.com/549-1/"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://bugs.php.net/bug.php?id=42869"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://osvdb.org/38918"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/27659"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/27864"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/28249"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/30040"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/30828"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/31119"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/31124"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/31200"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://wiki.rpath.com/wiki/Advisories:rPSA-2007-0242"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.debian.org/security/2008/dsa-1444"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:125"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:126"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:127"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.php.net/ChangeLog-5.php#5.2.5"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.php.net/releases/5_2_5.php"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.redhat.com/support/errata/RHSA-2008-0505.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.redhat.com/support/errata/RHSA-2008-0544.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.redhat.com/support/errata/RHSA-2008-0545.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.redhat.com/support/errata/RHSA-2008-0546.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.redhat.com/support/errata/RHSA-2008-0582.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securityfocus.com/archive/1/491693/100/0/threaded"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.ubuntu.com/usn/usn-549-2"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.ubuntu.com/usn/usn-628-1"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://issues.rpath.com/browse/RPL-1943"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://launchpad.net/bugs/173043"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11211"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://usn.ubuntu.com/549-1/"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html"
    }
  ],
  "sourceIdentifier": "cve@mitre.org",
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-200"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.