phpThumb() Multiple Cross Site Scripting Vulnerabilities
BID:53572
Info
phpThumb() Multiple Cross Site Scripting Vulnerabilities
| Bugtraq ID: | 53572 |
| Class: | Input Validation Error |
| CVE: |
CVE-2012-2910 |
| Remote: | Yes |
| Local: | No |
| Published: | May 16 2012 12:00AM |
| Updated: | Mar 19 2015 07:35AM |
| Credit: | Gjoko Krstic |
| Vulnerable: |
SiliSoftware phpThumb() 1.7.11-201108081537 |
| Not Vulnerable: | |
Discussion
phpThumb() Multiple Cross Site Scripting Vulnerabilities
phpThumb() is prone to multiple cross-site scripting vulnerabilities because it fails to properly sanitize user-supplied input.
An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and to launch other attacks.
phpThumb() 1.7.11-201108081537 is vulnerable; other versions may also be affected.
phpThumb() is prone to multiple cross-site scripting vulnerabilities because it fails to properly sanitize user-supplied input.
An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and to launch other attacks.
phpThumb() 1.7.11-201108081537 is vulnerable; other versions may also be affected.
Exploit / POC
phpThumb() Multiple Cross Site Scripting Vulnerabilities
Attackers can exploit these issues by enticing an unsuspecting victim to follow a malicious URI.
The following example data is available:
GET [SOME_CMS]/phpthumb/demo/phpThumb.demo.random.php?dir="><script>alert(document.cookie);</script> HTTP/1.1
GET [SOME_CMS]/phpthumb/demo/phpThumb.demo.showpic.php?title="><script>alert(document.cookie);</script> HTTP/1.1
Attackers can exploit these issues by enticing an unsuspecting victim to follow a malicious URI.
The following example data is available:
GET [SOME_CMS]/phpthumb/demo/phpThumb.demo.random.php?dir="><script>alert(document.cookie);</script> HTTP/1.1
GET [SOME_CMS]/phpthumb/demo/phpThumb.demo.showpic.php?title="><script>alert(document.cookie);</script> HTTP/1.1
Solution / Fix
phpThumb() Multiple 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
phpThumb() Multiple Cross Site Scripting Vulnerabilities
References:
References:
- phpThumb() Homepage (SiliSoftware )
- ZSL-2012-5088: phpThumb() v1.7.11 (dir & title) Cross-Site Scripting Vulnerabili (Zero Science Lab)