Description: Trex has reported some vulnerabilities in WebSPELL, which can be exploited by malicious people to disclose potentially sensitive information.
1) Input passed to the "file" parameter in picture.php is not properly sanitised before being used to display files. This can be exploited to disclose the content of arbitrary files via directory traversal attacks.
Successful exploitation requires that "register_globals" is enabled.
2) Input passed to the "id" parameter in picture.php is not properly sanitised before being used to display files. This can be exploited to disclose the content of files via directory traversal attacks.
Successful exploitation requires that a PHP version prior to 4.3.0 is used.
The vulnerabilities are reported in version 4.01.02. Other versions may also be affected.
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.