Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Moderately critical

TorrentTrader Classic Multiple Vulnerabilities

-

Release Date:  2009-06-17    Last Update:  2009-06-26    Views:  4,828

Secunia Advisory SA35456

Where:

From remote

Impact:

Security Bypass, Cross Site Scripting, Manipulation of data, Exposure of system information, Exposure of sensitive information

Solution Status:

Unpatched

CVE Reference(s):

Description


Some weaknesses and vulnerabilities have been discovered in TorrentTrader Classic, which can be exploited by malicious users to conduct script-insertion and SQL injection attacks, and by malicious people to disclose potentially sensitive information, bypass certain security restrictions, and conduct cross-site scripting and SQL injection attacks.

1) Input passed to the "origmsg" parameter in account-inbox.php when deleting a message is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation requires valid user credentials.

2) Access to the "backup-database.php" script is not properly restricted. Additionally, the script creates database dumps with an easy to guess filename inside a publicly accessible folder, which can be exploited to e.g. create and download database dumps.

3) Input passed to the "wherecatin" parameter in browse.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

4) Access to the "check.php" and "phpinfo.php" scripts is not properly restricted, which can be exploited to disclose certain system information (e.g. system paths, PHP settings, and certain file permission settings).

5) Input passed to the "categ" parameter in delreq.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation requires privileges to delete requests.

6) Input passed to the "choice" parameter in index.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation requires valid user credentials.

7) Input passed to the "id" parameter in modrules.php (if "act" is set to "edit") is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation requires moderator privileges.

8) Input passed to the "user", "torrent", "forumid", and "forumpost" POST parameters in report.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation requires valid user credentials.

9) Input passed to the "delreport[]" parameter in takedelreport.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation requires moderator privileges.

10) Input passed to the "delreq[]" parameter in takedelreq.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation requires valid user credentials.

11) Input passed to the "warndisable[]" parameter in takewarndisable.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation requires moderator privileges.

12) Input passed to the "limit" parameter in today.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

13) Input passed to the "where" parameter in torrents-details.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

14) Input passed to the "categ" parameter in admin-delreq.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation requires moderator privileges.

15) Input passed via the "Title" field when requesting a torrent and to the "Torrent Name" field when uploading a torrent is not properly sanitised before being used. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site when the malicious data is viewed.

Successful exploitation requires valid user privileges.

16) The application does not properly restrict access to the "backend/admin-functions.php" script, which can be exploited on a case insensitive file system (e.g. Windows) to bypass the access restrictions.

Note: This may further be exploited to e.g. include arbitrary local files.

17) Input passed to the "ttversion" parameter in themes/default/footer.php, the "SITENAME" and "CURUSER" parameters in themes/default/header.php, the "todayactive" parameter in visitorstoday.php, the "activepeople" parameter in visitorsnow.php, and the "faq_categ[][title]" parameter in faq.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

The vulnerabilities are confirmed in version 1.09. Other versions may also be affected.


Solution:
Edit the source code to ensure that input is properly sanitised and verified and restricted access to insufficiently restricted scripts (e.g. via ".htaccess").

Provided and/or discovered by:
Janek Vind a.k.a. waraxe

Original Advisory:
http://www.waraxe.us/advisory-74.html

Deep Links:
Links available to Secunia VIM customers

Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: TorrentTrader Classic Multiple Vulnerabilities

No posts yet

-

You must be logged in to post a comment.



 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability