### [CVE-2007-5899](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5899) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### 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. ### POC #### Reference - http://www.redhat.com/support/errata/RHSA-2008-0546.html - http://www.redhat.com/support/errata/RHSA-2008-0546.html #### Github No PoCs found on GitHub currently.