TITLE: Geeklog SQL Injection and File Inclusion Vulnerabilities SECUNIA ADVISORY ID: SA18920 VERIFY ADVISORY: http://secunia.com/advisories/18920/ CRITICAL: Highly critical IMPACT: Manipulation of data, Exposure of sensitive information, System access WHERE: >From remote SOFTWARE: Geeklog 1.x http://secunia.com/product/963/ DESCRIPTION: James Bercegay has reported some vulnerabilities in Geeklog, which can be exploited by malicious people to conduct SQL injection attacks, disclose potentially sensitive information and potentially to compromise a vulnerable system. 1) Input passed in cookies to users.php and lib-sessions.php isn't properly sanitised before being used in a SQL query. This can be exploited by manipulate SQL queries by injecting arbitrary SQL code. 2) Input passed in cookies to lib-common.php isn't properly verified, before it is used to include files. This can be exploited to include arbitrary files from local resources. This can be exploited with vulnerability #1 to execute arbitrary PHP code by injecting the code into the "error.log" SQL error log and including it. The vulnerabilities have been reported in versions prior to 1.3.11sr4 and 1.4.0sr1. SOLUTION: Update to the fixed versions. Geeklog 1.4.0: Update to version 1.4.0sr1. http://www.geeklog.net/filemgmt/singlefile.php?lid=671 Geeklog 1.3.11sr3: Update to version 1.3.11sr4. http://www.geeklog.net/filemgmt/singlefile.php?lid=670 PROVIDED AND/OR DISCOVERED BY: James Bercegay, GulfTech Security Research Team. ORIGINAL ADVISORY: http://www.gulftech.org/?node=research&article_id=00102-02192006 ---------------------------------------------------------------------- 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 ----------------------------------------------------------------------