Home page logo
/

bugtraq logo Bugtraq mailing list archives

TorrentFlux action Script Insertion
From: 3cab7cc7 () srasg stevenroddis com au
Date: 17 Oct 2006 06:42:14 -0000

TorrentFlux “action” Script Insertion

TITLE:
TorrentFlux “action” Script Insertion

CRITICAL:
Not Critical
IMPACT:
Cross Site Scripting

WHERE:
From remote

SOFTWARE:
TorrentFlux 2.x

DESCRIPTION:
I have discovered a vulnerability in TorrentFlux, which can be exploited by malicious users to conduct script insertion 
attacks.

Input passed to the “action” variable is not properly sanitised before being used. This can be exploited to insert 
arbitrary HTML and script code, which will be executed in an administrator’s browser session in context of an affected 
site when the “Activity Log” is viewed.

The vulnerability has been confirmed in version 2.1. Other versions may also be affected.

SOLUTION:
Edit the source code to ensure that input is properly sanitised.
/admin.php
Line 336:

$output .= ”
“.htmlentities($action, ENT_QUOTES).”

“;

Line 398:

echo “”.htmlentities($action, ENT_QUOTES).”";

ORIGINAL ADVISORY:
http://www.stevenroddis.com.au/2006/10/17/torrentflux-action-script-insertion/


  By Date           By Thread  

Current thread:
  • TorrentFlux action Script Insertion 3cab7cc7 (Oct 17)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]