---------------------------------------------------------------------- Secunia is proud to announce the availability of the Secunia Software Inspector. The Secunia Software Inspector is a free service that detects insecure versions of software that you may have installed in your system. When insecure versions are detected, the Secunia Software Inspector also provides thorough guidelines for updating the software to the latest secure version from the vendor. Try it out online: http://secunia.com/software_inspector/ ---------------------------------------------------------------------- TITLE: TorrentFlux Multiple Vulnerabilities SECUNIA ADVISORY ID: SA23270 VERIFY ADVISORY: http://secunia.com/advisories/23270/ CRITICAL: Moderately critical IMPACT: Cross Site Scripting, Exposure of system information, Exposure of sensitive information, System access WHERE: >From remote SOFTWARE: TorrentFlux 2.x http://secunia.com/product/12225/ 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 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 ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------