TorrentTrader Download.PHP SQL Injection Vulnerability

BID:11087

Info

TorrentTrader Download.PHP SQL Injection Vulnerability

Bugtraq ID: 11087
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Sep 01 2004 12:00AM
Updated: Sep 01 2004 12:00AM
Credit: Disclosure of this issue is credited to "acidbits ." <[email protected]>.
Vulnerable: TorrentTrader BitTorrent Tracker 2.0
TorrentTrader BitTorrent Tracker 1.0 beta RC2
TorrentTrader BitTorrent Tracker 1.0 beta RC1
TorrentTrader BitTorrent Tracker 1.0 beta
TorrentTrader BitTorrent Tracker 1.0 alpha
Not Vulnerable:

Discussion

TorrentTrader Download.PHP SQL Injection Vulnerability

TorrentTrader is vulnerable to a remote SQL injection vulnerability in the 'download.php' script. This issue is due to a failure of the application to properly validate user-supplied input prior to including it in an SQL query.

An attacker may exploit this issue to manipulate and inject SQL queries onto the underlying database. It will be possible to leverage this issue to steal database contents including administrator password hashes and user credentials as well as to make attacks against the underlying database.

Exploit / POC

TorrentTrader Download.PHP SQL Injection Vulnerability

No exploit is required to leverage this issue. The following proof of concept exploit has been provided:

Solution / Fix

TorrentTrader Download.PHP SQL Injection Vulnerability

Solution:
The vendor has released the following manual fix, users are advised to carry out these changes as soon as possible:

- Open your download.php file
- Find this :
//$id = $_GET["id"];
around line 7 and replace it by this
$id = (int)$_GET["id"];

References

TorrentTrader Download.PHP SQL Injection 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