TITLE: Milkeyway Captive Portal Multiple Vulnerabilities SECUNIA ADVISORY ID: SA19258 VERIFY ADVISORY: http://secunia.com/advisories/19258/ CRITICAL: Moderately critical IMPACT: Cross Site Scripting, Manipulation of data WHERE: >From remote SOFTWARE: Milkeyway Captive Portal 0.x http://secunia.com/product/8751/ DESCRIPTION: Francesco Ongaro has discovered multiple vulnerabilities in Milkeyway, which can be exploited by malicious users to conduct SQL injection attacks, and malicious people to conduct cross-site scripting attacks and SQL injection attacks. 1) Input passed to the "username" parameter in auth.php and logout.php, and to the "USERNAME" and "PASSWORD" cookie parameters in chgpwd.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 "magic_quotes_rpc" to be disabled. 2) Input passed to the "username", "password", and "filter" parameters in admin/authuser.php and admin/userstatistics.php, to the "teamname" parameter in admin/authgroup.php, and the "date" and "id" parameters in admin/traffic.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 access to the administration section and "magic_quotes_rpc" to be disabled. 3) Input passed to the "username" parameter in admin/userstatistics.php and the "ipAddress" parameter in authuser.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in an administrative user's browser session in context of an affected site. The vulnerabilities have been confirmed in version 0.1.1. Other versions may also be affected. SOLUTION: Edit the source code to ensure that input is properly sanitised. PROVIDED AND/OR DISCOVERED BY: Francesco Ongaro ORIGINAL ADVISORY: http://www.ush.it/team/ascii/hack-milkeway/advisory.txt ---------------------------------------------------------------------- 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 ----------------------------------------------------------------------