TITLE: Leadhound SQL Injection and Cross-Site Scripting Vulnerabilities SECUNIA ADVISORY ID: SA19867 VERIFY ADVISORY: http://secunia.com/advisories/19867/ CRITICAL: Moderately critical IMPACT: Cross Site Scripting, Manipulation of data WHERE: >From remote SOFTWARE: Leadhound http://secunia.com/product/9627/ DESCRIPTION: r0t has reported some vulnerabilities in Leadhound, which can be exploited by malicious people to conduct SQL injection and cross-site scripting attacks. 1) Input passed to the "banner" and "offset" parameters in agent_links.pl, to the "offset" parameter in agent_transactions.pl, agent_subaffiliates.pl and agent_summary.pl, to the "camp_id" parameter in agent_subaffiliates.pl and agent_camp_det.pl, and to the "agent_id" parameter in agent_commission_statement.pl isn't properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. 2) Input passed to the "login", "logged", "camp_id","banner","offset","date","dates", and "page" parameters in various scripts e.g. agent_affil.pl, agent_help.pl, agent_faq.pl, and modify_agent.pl, isn't 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 have been reported in the latest version. SOLUTION: Edit the source code to ensure that input is properly sanitised. PROVIDED AND/OR DISCOVERED BY: r0t ORIGINAL ADVISORY: http://pridels.blogspot.com/2006/04/leadhound-multiple-vuln.html ---------------------------------------------------------------------- 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 ----------------------------------------------------------------------