---------------------------------------------------------------------- A new version (0.9.0.0 - Release Candidate 1) of the free Secunia PSI has been released. The new version includes many new and advanced features, which makes it even easier to stay patched. Download and test it today: https://psi.secunia.com/ Read more about this new version: https://psi.secunia.com/?page=changelog ---------------------------------------------------------------------- TITLE: KnowledgeQuest SQL Injection and Security Bypass SECUNIA ADVISORY ID: SA29716 VERIFY ADVISORY: http://secunia.com/advisories/29716/ CRITICAL: Moderately critical IMPACT: Security Bypass, Manipulation of data, Exposure of sensitive information WHERE: >From remote SOFTWARE: KnowledgeQuest 2.x http://secunia.com/product/18281/ DESCRIPTION: Some vulnerabilities have been discovered in KnowledgeQuest, which can be exploited by malicious people to conduct SQL injection attacks or to bypass certain security restrictions. 1) Input passed to the "kqid" parameter in articletext.php and articletextonly.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. retrieving administrator usernames and passwords. 2) Input passed to the "username" parameter in logincheck.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. 3) A vulnerability is caused due to insufficient access restrictions in the admincheck.php script. This can be exploited to add new administrator users. The vulnerabilities are confirmed in version 2.6. Other versions may also be affected. SOLUTION: Edit the source code to ensure that input is properly sanitised. Restrict access to the admincheck.php script (e.g. with ".htaccess"). PROVIDED AND/OR DISCOVERED BY: 1, 2) hadihadi, virangar security team 3) t0pP8uzz ORIGINAL ADVISORY: 1, 2) http://milw0rm.com/exploits/5421 3) http://milw0rm.com/exploits/5418 ---------------------------------------------------------------------- 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 ----------------------------------------------------------------------