Social Share 'vote.php' HTTP Response Splitting Vulnerability
BID:45550
Info
Social Share 'vote.php' HTTP Response Splitting Vulnerability
| Bugtraq ID: | 45550 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Dec 10 2010 12:00AM |
| Updated: | Dec 10 2010 12:00AM |
| Credit: | Aliaksandr Hartsuyeu |
| Vulnerable: |
Social Share Social Share 0 |
| Not Vulnerable: | |
Exploit / POC
Social Share 'vote.php' HTTP Response Splitting Vulnerability
To exploit this issue, an attacker must entice an unsuspecting victim into following a malicious URI.
The following example input is available:
Vulnerable code: $referrer = $_SERVER[HTTP_REFERER]; header("Location: $referrer");
HTTP query ("Referer" field):
Referer: http://www.example.com/\r\n[second new response]
To exploit this issue, an attacker must entice an unsuspecting victim into following a malicious URI.
The following example input is available:
Vulnerable code: $referrer = $_SERVER[HTTP_REFERER]; header("Location: $referrer");
HTTP query ("Referer" field):
Referer: http://www.example.com/\r\n[second new response]
References
Social Share 'vote.php' HTTP Response Splitting Vulnerability
References:
References:
- HTTP Response Splitting in Social Share (Aliaksandr Hartsuyeu)
- Social Share Homepage (Geeknet)