exploit-db-mirror/platforms/php/webapps/31020.txt
Offensive Security 11e1d3b192 Updated 01_19_2014
2014-01-19 04:21:27 +00:00

9 lines
No EOL
683 B
Text
Executable file

source: http://www.securityfocus.com/bid/27259/info
Moodle 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 help the attacker steal cookie-based authentication credentials and launch other attacks.
This issue affects versions prior to Moodle 1.8.4.
<form method="post" action="http://localhost/moodle/install.php"> <input type="hidden" name="stage" value="3"> <input type="text" name="dbname" value='"><script>alert(1)</script>'> <input type=submit> </form>