---------------------------------------------------------------------- 2003: 2,700 advisories published 2004: 3,100 advisories published 2005: 4,600 advisories published 2006: 5,300 advisories published How do you know which Secunia advisories are important to you? The Secunia Vulnerability Intelligence Solutions allows you to filter and structure all the information you need, so you can address issues effectively. Get a free trial of the Secunia Vulnerability Intelligence Solutions: http://corporate.secunia.com/how_to_buy/38/vi/?ref=secadv ---------------------------------------------------------------------- TITLE: phpRPG SQL Injection and Information Disclosure SECUNIA ADVISORY ID: SA27968 VERIFY ADVISORY: http://secunia.com/advisories/27968/ CRITICAL: Moderately critical IMPACT: Security Bypass, Manipulation of data, Exposure of sensitive information WHERE: >From remote SOFTWARE: phpRPG 0.x http://secunia.com/product/16970/ DESCRIPTION: Michael Brooks has discovered some vulnerabilities in phpRPG, which can be exploited by malicious people to conduct SQL injection attacks and to disclose sensitive information. 1) Input passed to the "username" and "password" parameters 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 of this vulnerability allows e.g. logging in as administrator without valid administrator credentials, but requires that "magic_quotes_gpc" is disabled. 2) A vulnerability is caused by not properly protecting session files in the "tmp/" directory. Directory listings for that directory contain the session IDs used by the application. This can be exploited to pass session IDs in the "PHPSESSID" cookie and take over other users' sessions. Successful exploitation of this vulnerability requires that the web server is configured to display directory listings for the "tmp/" directory. The vulnerabilities are confirmed in version 0.8.0. Other versions may also be affected. SOLUTION: Edit the source code to ensure that input is properly sanitised. Restrict access to the "tmp/" directory (e.g. with ".htaccess"). PROVIDED AND/OR DISCOVERED BY: Michael Brooks ---------------------------------------------------------------------- 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 ----------------------------------------------------------------------