Secunia Research: Enano CMS Five Cross-Site Scripting Vulnerabilities

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

                    Secunia Research 19/07/2011

       - Enano CMS Five Cross-Site Scripting 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

* Enano CMS version 1.0.6pl3.

NOTE: Other versions may also be affected.

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

Rating: Less critical
Impact: Cross-Site Scripting
Where:  From remote

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

"Looking for a CMS that actually manages your content? Enano is the 
breath of fresh air you're waiting for."

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

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

Secunia Research has discovered five vulnerabilities in Enano CMS, 
which can be exploited by malicious people to conduct cross-site 
scripting attacks.

1) Input appended to the URL after index.php (when "sub" is set to 
cookie_destroy" and "do" is set to "diag") is not properly sanitised 
before being returned to the user. This can be exploited to execute 
arbitrary HTML and script code in a user's browser session in context 
of an affected site.

2) Input appended to the URL after index.php/Special:DownloadFile (when 
"download" is set) is not properly sanitised in 
plugins/SpecialUpdownload.php before being returned to the user. This 
can be exploited to execute arbitrary HTML and script code in a user's
browser session in context of an affected site.

3) Input appended to the URL after index.php/Special:Login/Main_Page is
not properly sanitised in plugins/SpecialUserFuncs.php before being 
returned to the user. This can be exploited to execute arbitrary HTML 
and script code in a user's browser session in context of an affected 
site.

4) Input passed via the "pagename" parameter to index.php (when "title" 
is set to "CreatePage", "do" is set to "Create Page", and "namespace" 
is set) is not properly sanitised before being returned to the user. 
This can be exploited to execute arbitrary HTML and script code in a 
user's browser session in context of an affected site.

5) Input passed via the "subject" parameter to index.php (when "title" 
is set to "Special:PrivateMessages/Compose/Send" and "_savedraft" is 
set to "Save as draft") is not properly sanitised in 
plugins/SpecialPrivateMessages.php before being returned to the user. 
This can be exploited to execute arbitrary HTML and script code in a 
user's browser session in context of an affected site.

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

Update to version 1.0.6pl4.

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

04/07/2011 - Vendor notified.
05/07/2011 - Vendor response.
19/07/2011 - Vendor releases updates.
19/07/2011 - 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 vulnerabilities.

======================================================================
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/2011-53/

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

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