SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (File Transfer/Sharing)  >   TorrentFlux Vendors:   torrentflux.com
TorrentFlux Missing Input Validation in HTTP User-Agent Permits Cross-Site Scripting Attacks
SecurityTracker Alert ID:  1017007
SecurityTracker URL:  http://securitytracker.com/id/1017007
CVE Reference:   CVE-2006-5227   (Links to External Site)
Updated:  Sep 3 2014
Original Entry Date:  Oct 6 2006
Impact:   Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
Exploit Included:  Yes  
Version(s): 2.1
Description:   A vulnerability was reported in TorrentFlux. A remote user can conduct cross-site scripting attacks.

The 'admin.php' script does not properly filter HTML code from user-supplied input in the HTTP User-Agent field before displaying the input. A remote user can submit a specially crafted HTTP request to cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the TorrentFlux software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

Steven Roddis discovered this vulnerability.

The original advisory is available at:

http://www.stevenroddis.com.au/2006/10/06/torrentflux-user-agent-xss-vulnerability/

Impact:   A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the TorrentFlux software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
Solution:   No solution was available at the time of this entry.
Vendor URL:  sourceforge.net/projects/torrentflux/ (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.


 Source Message Contents

Subject:  TorrentFlux User-Agent XSS Vulnerability

http://www.stevenroddis.com.au/2006/10/06/torrentflux-user-agent-xss-vulnerability/
Name: TorrentFlux User-Agent XSS Vulnerability
Published: 2006-10-06
Critical Level: Moderate
Type: Cross-Site Scripting
Where: Remote
Status: 0-Day
Software: Torrentflux 2.1
Discoverer: Steven Roddis (http://www.stevenroddis.com.au)
I gave the authors of this product a week (more than usual) just to contact me, they have failed to do so; so I am releasing this
 vulnerability publicly!
/admin.php
Line: 325
$ip_info = $ip_resolved."
".$user_agent;
Useragent is not esacped.
Solution:
Edit source code:
/admin.php
Line: 325:
$ip_info = htmlentities($ip_resolved)."
".htmlentities($user_agent); 

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, SecurityGlobal.net LLC