---------------------------------------------------------------------- The final version of the CSI 6.0 has been released. Find out why this is not just another Patch Management solution: http://secunia.com/blog/325/ ---------------------------------------------------------------------- TITLE: phpMyBitTorrent Multiple Vulnerabilities SECUNIA ADVISORY ID: SA50829 VERIFY ADVISORY: Secunia.com http://secunia.com/advisories/50829/ Customer Area (Credentials Required) https://ca.secunia.com/?page=viewadvisory&vuln_id=50829 RELEASE DATE: 2012-10-25 DISCUSS ADVISORY: http://secunia.com/advisories/50829/#comments AVAILABLE ON SITE AND IN CUSTOMER AREA: * Last Update * Popularity * Comments * Criticality Level * Impact * Where * Solution Status * Operating System / Software * CVE Reference(s) http://secunia.com/advisories/50829/ ONLY AVAILABLE IN CUSTOMER AREA: * Authentication Level * Report Reliability * Secunia PoC * Secunia Analysis * Systems Affected * Approve Distribution * Remediation Status * Secunia CVSS Score * CVSS https://ca.secunia.com/?page=viewadvisory&vuln_id=50829 ONLY AVAILABLE WITH SECUNIA CSI AND SECUNIA PSI: * AUTOMATED SCANNING http://secunia.com/vulnerability_scanning/personal/ http://secunia.com/vulnerability_scanning/corporate/wsus_sccm_3rd_third_party_patching/ DESCRIPTION: Janek Vind has discovered multiple vulnerabilities in phpMyBitTorrent, which can be exploited by malicious users to conduct SQL injection attacks and by malicious people to disclose sensitive information and conduct cross-site scripting and SQL injection attacks. 1) An error due to the application not restricting access to "cache/cache_newestmemberblock.txt" can be exploited to disclose sensitive information e.g. users credential. 2) Input passed via multiple parameters and scripts is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. List of affected scripts and parameters: http://[host]/ajax.php?op=archivedeleteshout&shout http://[host]/ajax.php?op=check_username?username http://[host]/ajax.php?op=get_imdb?torrent http://[host]/ajax.php?op=private__chat&to http://[host]/ajax.php?op=take_delete_archive_shout&shout http://[host]/ajax.php?op=take_delete_shout&shout http://[host]/ajax.php?op=take_edit_archive_shout&shout http://[host]/ajax.php?op=take_edit_shout&shout http://[host]/ajax.php?op=member_search&search http://[host]/ajax.php?op=view_details&torrent http://[host]/ajax.php?op=view_details_page&torrent http://[host]/ajax.php?op=view_files_page&torrent=1&pass http://[host]/ajax.php?op=view_peers_page&torrent=1&pass http://[host]/ajax.php?op=view_rate_page&torrent http://[host]/backend.php?op=category&cat http://[host]/casino_player_edit.php?player http://[host]/deloffer.php?offerid http://[host]/edit.php?id[]= http://[host]/edit.php?torrent_id[] http://[host]/frame.php?id=1&op=commentlist http://[host]/frame.php?id=1&op=filelist http://[host]/frame.php?id=1&op=peerlist http://[host]/helpdesk.php?op=ticket&category http://[host]/helpdesk.php?op=ticket&priority http://[host]/helpdesk.php?op=ticket&problem http://[host]/helpdesk.php?op=ticket&title http://[host]/hitruns.php?reset[] http://[host]/hitruns.php?warn[] http://[host]/makepoll.php?option0 http://[host]/makepoll.php?option1 http://[host]/makepoll.php?option2 http://[host]/makepoll.php?option3 http://[host]/makepoll.php?option4 http://[host]/makepoll.php?option5 http://[host]/makepoll.php?option6 http://[host]/makepoll.php?option7 http://[host]/makepoll.php?option8 http://[host]/makepoll.php?option9 http://[host]/makepoll.php?pollid http://[host]/makepoll.php?question http://[host]/makepoll.php?sort http://[host]/modrules.php?act=delete&id http://[host]/mybonus.php?action=exchange&option http://[host]/polls.php?action=delete&sure=set&pollid http://[host]/scrape-external.php?id=&tracker http://[host]/shoutboxarchive.php?lookforcount http://[host]/slove.php?cid http://[host]/slove.php?id http://[host]/slove.php?rid http://[host]/slove.php?tid http://[host]/takehelpans.php?change_status=set&newstatus http://[host]/takehelpans.php?reopen=set&id http://[host]/takeoffedit.php?category http://[host]/takeoffedit.php?id http://[host]/takerequest.php?requesttitle http://[host]/takethankyou.php?id http://[host]/torrents.php?sort=1&type http://[host]/viewsnatches.php?id http://[host]/votesview.php?requestid 3) Input passed via the "shotuser" parameter to ajax.php (when "op" is set to "view_shout") is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. Successful exploitation of this vulnerability requires the shout privileges. 4) Input passed via multiple parameters and scripts 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. List of affected scripts and parameters: http://[host]/ajax.php?op=member_search&search=z&browsemenu http://[host]/ajax.php?op=member_search&search=z&pagemenu http://[host]/ajax.php?op=view_coments_page?password http://[host]/ajax.php?op=view_coments_page?torrent http://[host]/ajax.php?op=view_details&torrent http://[host]/ajax.php?op=view_details_page&torrent http://[host]/ajax.php?op=view_rate_page&torrentrating http://[host]/ban.php?reson http://[host]/bbcode.php?test http://[host]/contactstaff.php?returnto http://[host]/faq.php?faq_categ[0][flag]=1&faq_categ[0][title] http://[host]/keno.php?n1 http://[host]/keno.php?n2 http://[host]/keno.php?n3 http://[host]/keno.php?n4 http://[host]/keno.php?n5 http://[host]/keno.php?n6 http://[host]/keno.php?n7 http://[host]/keno.php?n8 http://[host]/keno.php?n9 http://[host]/keno.php?n10 http://[host]/keno.php?n11 http://[host]/keno.php?n12 http://[host]/keno.php?n13 http://[host]/keno.php?n14 http://[host]/keno.php?n15 http://[host]/keno.php?n16 http://[host]/keno.php?n17 http://[host]/keno.php?n18 http://[host]/keno.php?n19 http://[host]/keno.php?n20 http://[host]/makepoll.php?poll http://[host]/makepoll.php?returnto http://[host]/modrules.php?act=newsect&res http://[host]/polls.php?action=delete&pollid http://[host]/polls.php?action=delete&returnto http://[host]/popuptest.php?text http://[host]/redirect.php?url http://[host]/search.php?search http://[host]/user.php?op=loginconfirm&returnto The vulnerabilities are confirmed in version 2.04 Gold. Other versions may also be affected. SOLUTION: No official solution is currently available. PROVIDED AND/OR DISCOVERED BY: Janek Vind "waraxe" ORIGINAL ADVISORY: Janek Vind "waraxe": http://www.waraxe.us/advisory-91.html OTHER REFERENCES: Further details available in Customer Area: http://secunia.com/vulnerability_intelligence/ DEEP LINKS: Further details available in Customer Area: http://secunia.com/vulnerability_intelligence/ EXTENDED DESCRIPTION: Further details available in Customer Area: http://secunia.com/vulnerability_intelligence/ EXTENDED SOLUTION: Further details available in Customer Area: http://secunia.com/vulnerability_intelligence/ EXPLOIT: Further details available in Customer Area: http://secunia.com/vulnerability_intelligence/ ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help private users keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/advisories/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/advisories/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 ----------------------------------------------------------------------