`Details
=============
Product: Cpanel
Security-Risk: High
Remote-Exploit: yes
Vendor-URL: http://www.cpanel.net
Advisory-Status: NotPublished
Credits
=============
Discovered by: Rafay Baloch of RafayHackingArticles(RHA)
Affected Products:
=============
Cpanel's Latest Version
Description
=============
"Simple website management."
More Details
=============
I have discsovered a non persistent Cross site scripting (XSS) inside
Cpanel,
the vulnerability can be easily exploited and can be used to steal cookies,
perform
phishing attacks and other various attacks compromising the security of a
user.
Proof of Concept
=============
Log into your CPanel accoutn and navigate to the following link:
https://gator1347.hostgator.com:2083/frontend/x3/files/dir.html?showhidden=1&dir=
Now insert your xss payload inside Dir parameter.
Exploit
=============
https://localhost/frontend/x3/files/dir.html?showhidden=1&dir=%3Cimg%20src=x%20onerror=prompt%280%29;%3E
Solution
=============
Edit the source code to ensure that input is properly sanitized.
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation