Secunia Logo  
 
TorrentFlux Multiple Vulnerabilities
Secunia Advisory: SA23270
Release Date: 2006-12-13
Last Update: 2006-12-21
Popularity: 5,209 views

Critical:
Moderately critical
Impact: Cross Site Scripting
Exposure of system information
Exposure of sensitive information
System access
Where: From remote
Solution Status: Vendor Patch

Software:TorrentFlux 2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-6331
CVE-2006-6599
CVE-2006-6600
CVE-2006-6604


Description:
Some vulnerabilities have been discovered in TorrentFlux, which can be exploited by malicious users to gain system access or disclose sensitive information and by malicious people to conduct cross-site scripting attacks.

1) Input passed to the "announce" parameter in maketorrent.php is not properly sanitised before being used as a part of a shell command. This can be exploited to inject shell commands via the ";" character.

Successful exploitation requires valid user credentials and that the command to be executed doesn't contain certain characters, including "<" or ">".

2) Input passed to the "torrent" parameter in startpop.php and details.php is not properly sanitised before being used as a part of a shell command. This can be exploited to inject shell commands by using directory traversal attacks to refer to existing files and directories containing backticks.

Successful exploitation requires valid user credentials, that "Enable File Priority" is set to false (not the default), and that the attacker can create files and directories containing backticks on the web server (i.e. by uploading malicious torrent files or by local shell access).

3) Input passed to the "alias" parameter in downloaddetails.php is not properly sanitised before being used to display files. This can be exploited to display most lines from arbitrary files via directory traversal attacks.

Successful exploitation requires valid user credentials.

4) Input passed to the "dir" parameter in dir.php that is URL-encoded twice is not properly sanitised before being returned to users. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

Successful exploitation requires that the target user is logged in.

The vulnerabilities are confirmed in version 2.2. Prior versions may also be affected.

Solution:
Update to version 2.3.

Provided and/or discovered by:
1+3) r0ut3r
2) Stefan Fritsch and Cameron Dale
4) Stefan Fritsch and an anonymous person

Changelog:
2006-12-21: Added CVE reference.

Original Advisory:
1) http://www.milw0rm.com/exploits/2903
2+4) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=400582
3) http://www.milw0rm.com/exploits/2902


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Today
New advisories: 4
New vulnerabilities: 13
Updated advisories: 5

Less // 63 views
Red Hat update for kernel
Less // 63 views
Ubuntu update for bind9
Less // 56 views
Ubuntu update for ntp
Less // 59 views
Red Hat update for bind

8th Jan, 2009
New advisories: 24
New vulnerabilities: 99
Updated advisories: 26


Solutions | More...  


Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. SAP GUI TabOne ActiveX Control Caption List Buffer Overflow // 45 views
2. Drupal Project Module File Upload and Cross-Site Scripting // 37 views
3. Sun Java JDK / JRE Multiple Vulnerabilities // 34 views
4. SmbFTPD Long Command Processing Vulnerability // 32 views
5. Ubuntu update for bind9 // 30 views
6. Red Hat update for kernel // 29 views
7. FreeBSD update for lukemftpd // 27 views
8. Cisco Global Site Selector DNS Request Denial of Service // 26 views
9. Ubuntu update for ntp // 26 views
10. Red Hat update for bind // 26 views