Description: Kacper has reported a vulnerability in KGB, which can be exploited by malicious people to compromise a vulnerable system.
Input passed to the "skinnn" parameter in kgbmod/sesskglogadmin.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources via directory traversal attacks or to execute arbitrary PHP code by including kg/wpisy.txt, which contains guestbook entries.
Successful exploitation requires that "register_globals" is enabled and "magic_quotes_gpc" is disabled.
The vulnerability is reported in version 1.9. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly verified.
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
Send Feedback to Secunia
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.