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").
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org
Subject: KnowledgeQuest SQL Injection and Security Bypass
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.