Description: Some vulnerabilities have been reported in GuppY, which can be exploited by malicious people to compromise vulnerable systems.
1) Input passed to the "REMOTE_ADDR" and "msg[x][0]" cookies in error.php is not properly sanitised before being stored in .inc files. This can be exploited to execute arbitrary PHP code by requesting the .inc file through error.php.
2) Input passed to the "selskin" parameter in index.php is not properly verified before being used to include files. This can be exploited to include files from local (or by e.g. including ../inc/boxleft.inc also external) resources.
The vulnerabilities in #1 are confirmed in version 4.5.16. Vulnerability #2 is reported in version 4.6.3. Other versions may also be affected.
Solution: Update to version 4.6.4.
Provided and/or discovered by: 1) rgod
2) irk4z
Changelog: 2007-02-01: Updated "Solution" section.
2007-02-05: Added CVE reference.
2007-11-05: Updated "Solution" section due to an incorrect patch for vulnerabilities in #1. Updated advisory to include vulnerability #2.
2007-11-07: Added CVE reference.
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.