Secunia Research: Website Baker Four Local File Inclusion Vulnerabilities

======================================================================

                     Secunia Research 30/06/2010

     - Website Baker Four Local File Inclusion Vulnerabilities -

======================================================================
Table of Contents

Affected Software....................................................1
Severity.............................................................2
Vendor's Description of Software.....................................3
Description of Vulnerability.........................................4
Solution.............................................................5
Time Table...........................................................6
Credits..............................................................7
References...........................................................8
About Secunia........................................................9
Verification........................................................10

====================================================================== 
1) Affected Software 

* Website Baker version 2.8.1 Revision 1287.

NOTE: Other versions may also be affected.

====================================================================== 
2) Severity 

Rating: Less critical
Impact: Exposure of sensitive information
Where:  From remote

======================================================================
3) Vendor's Description of Software 

"WebsiteBaker helps you to create the website you want: A free, easy 
and secure, flexible and extensible open source content management 
system (CMS)."

Product Link:
http://www.websitebaker2.org/

====================================================================== 
4) Description of Vulnerability

Secunia Research has discovered four vulnerabilities in Website Baker,
which can be exploited by malicious users to disclose sensitive
information.

1) Input passed to the "language" parameter in
admin/preferences/details.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 sequences and 
URL-encoded NULL bytes.

2) Input passed to the "code" parameter in admin/languages/details.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 sequences and URL-encoded NULL bytes.

Successful exploitation of this vulnerability requires "View"
permissions for "Languages".

3) Input passed via the "template" parameter to
admin/pages/settings2.php when modiying page settings is not properly
verified before being used to include files. This can be exploited to
include arbitrary files from local resources via directory traversal
sequences and URL-encoded NULL bytes.

Successful exploitation of this vulnerability requires "Modify 
Settings" permissions for "Pages".

4) Input passed via the "type" parameter to admin/pages/add.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 sequences and URL-encoded NULL bytes.

Successful exploitation of this vulnerability requires "Add"
permissions for "Pages".

NOTE: Successful exploitation of vulnerabilities #1 and #2 requires 
that "magic_quotes_gpc" is disabled.

====================================================================== 
5) Solution 

No fix is currently available.

====================================================================== 
6) Time Table

07/06/2010 - Vendor notified.
14/06/2010 - Vendor notified (2nd attempt).
22/06/2010 - Vendor notified (3rd attempt).
30/06/2010 - Public disclosure.

====================================================================== 
7) Credits 

Discovered by Secunia Research.

====================================================================== 
8) References

The Common Vulnerabilities and Exposures (CVE) project has not 
currently assigned a CVE identifier for the vulnerability.

====================================================================== 
9) About Secunia

Secunia offers vulnerability management solutions to corporate
customers with verified and reliable vulnerability intelligence
relevant to their specific system configuration:

http://secunia.com/advisories/business_solutions/

Secunia also provides a publicly accessible and comprehensive advisory
database as a service to the security community and private 
individuals, who are interested in or concerned about IT-security.

http://secunia.com/advisories/

Secunia believes that it is important to support the community and to
do active vulnerability research in order to aid improving the 
security and reliability of software in general:

http://secunia.com/secunia_research/

Secunia regularly hires new skilled team members. Check the URL below
to see currently vacant positions:

http://secunia.com/corporate/jobs/

Secunia offers a FREE mailing list called Secunia Security Advisories:

http://secunia.com/advisories/mailing_lists/

====================================================================== 
10) Verification 

Please verify this advisory by visiting the Secunia website:
http://secunia.com/secunia_research/2010-93/

Complete list of vulnerability reports published by Secunia Research:
http://secunia.com/secunia_research/

======================================================================