Good/Bad Vote 'vote.php' Local File Include and Cross Site Scripting Vulnerabilities
BID:43526
Info
Good/Bad Vote 'vote.php' Local File Include and Cross Site Scripting Vulnerabilities
| Bugtraq ID: | 43526 |
| Class: | Input Validation Error |
| CVE: |
CVE-2009-4683 |
| Remote: | Yes |
| Local: | No |
| Published: | Jul 17 2009 12:00AM |
| Updated: | Jul 17 2009 12:00AM |
| Credit: | Moudi |
| Vulnerable: | |
| Not Vulnerable: | |
Discussion
Good/Bad Vote 'vote.php' Local File Include and Cross Site Scripting Vulnerabilities
Good/Bad Vote is prone to a local file-include vulnerability and a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.
An attacker can exploit the local file-include vulnerability using directory-traversal strings to view and execute local files within the context of the webserver process. Information harvested may aid in further attacks.
The attacker may leverage the cross-site scripting issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may let the attacker steal cookie-based authentication credentials and launch other attacks.
Good/Bad Vote is prone to a local file-include vulnerability and a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.
An attacker can exploit the local file-include vulnerability using directory-traversal strings to view and execute local files within the context of the webserver process. Information harvested may aid in further attacks.
The attacker may leverage the cross-site scripting issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may let the attacker steal cookie-based authentication credentials and launch other attacks.
Exploit / POC
Good/Bad Vote 'vote.php' Local File Include and Cross Site Scripting Vulnerabilities
Attackers can exploit these issues via a browser. To exploit a cross-site scripting issue, attackers must entice an unsuspecting user to follow a malicious URI.
The following example URIs are available:
http://www.example.com/patch/vote.php?action=vote&id=[XSS]&ficdest=0%2Edat&midcast=0%2Etxt
http://www.example.com/patch/vote.php?action=dovote&id=[LFI]&ficdest=.dat&midcast=.txt
Attackers can exploit these issues via a browser. To exploit a cross-site scripting issue, attackers must entice an unsuspecting user to follow a malicious URI.
The following example URIs are available:
http://www.example.com/patch/vote.php?action=vote&id=[XSS]&ficdest=0%2Edat&midcast=0%2Etxt
http://www.example.com/patch/vote.php?action=dovote&id=[LFI]&ficdest=.dat&midcast=.txt
Solution / Fix
Good/Bad Vote 'vote.php' Local File Include and Cross Site Scripting Vulnerabilities
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected]
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected]
References
Good/Bad Vote 'vote.php' Local File Include and Cross Site Scripting Vulnerabilities
References:
References:
- Vendor Homepage (scriptEZ.net)