Description: shadowleet and nbbn have discovered some vulnerabilities in PHPKIT, which can be exploited by malicious people to conduct SQL injection attacks and to disclose sensitive information.
1) Input passed to the "contentid" parameter in pkinc/public/article.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
2) The session ID is included in the "Referer" HTTP header when opening links contained within forum posts or private messages. This can be exploited to e.g. disclose the administrator's session ID by tricking the administrator into opening a malicious webpage.
Successful exploitation can also result in cross-site request forgery attacks.
The vulnerabilities are confirmed in version 1.6.4 pl1. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly sanitised. Do not open untrusted web pages while being logged in to PHPKIT.
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.
Ideas, suggestions, and other feedback are most welcome.