cPanel 'dir' Parameter Cross Site Scripting Vulnerability
BID:57064
Info
cPanel 'dir' Parameter Cross Site Scripting Vulnerability
| Bugtraq ID: | 57064 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Dec 26 2012 12:00AM |
| Updated: | Dec 26 2012 12:00AM |
| Credit: | Rafay Baloch |
| Vulnerable: |
cPanel cPanel 0 |
| Not Vulnerable: | |
Discussion
cPanel 'dir' Parameter Cross Site Scripting Vulnerability
cPanel is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.
An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and launch other attacks.
cPanel is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.
An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and launch other attacks.
Exploit / POC
cPanel 'dir' Parameter Cross Site Scripting Vulnerability
Attackers can exploit this issue by enticing an unsuspecting victim into following a malicious URI.
The following example URI is available:
http://www.example.com/frontend/x3/files/dir.html?showhidden=1&dir=%3Cimg%20src=x%20onerror=prompt%280%29;%3E
Attackers can exploit this issue by enticing an unsuspecting victim into following a malicious URI.
The following example URI is available:
http://www.example.com/frontend/x3/files/dir.html?showhidden=1&dir=%3Cimg%20src=x%20onerror=prompt%280%29;%3E
Solution / Fix
cPanel 'dir' Parameter Cross Site Scripting Vulnerability
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].