Vulnerability ID: HTB22407
Reference: http://www.htbridge.ch/advisory/stored_xss_vulnerability_in_anecms_blog_module.html
Product: AneCMS
Vendor: AneCMS Team
Vulnerable Version: 1.3 and Probably Prior Versions
Vendor Notification: 28 May 2010 
Vulnerability Type: Stored XSS (Cross Site Scripting)
Status: Fixed by Vendor
Risk level: Medium 
Credit: High-Tech Bridge SA (http://www.htbridge.ch/) 

Vulnerability Details:
User can execute arbitrary JavaScript code within the vulnerable application.

The vulnerability exists due to failure in the blog module script "/modules/blog/index.php" to properly sanitize user-supplied input in "comment" variable. Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data.

An attacker can use browser to exploit this vulnerability by entering in comment text area for example "hello <script>alert(document.cookie)</script>".


Solution: Upgrade to the most recent version
Vulnerability ID: HTB22408
Reference: http://www.htbridge.ch/advisory/sql_injection_vulnerability_in_anecms.html
Product: AneCMS
Vendor: AneCMS Team
Vulnerable Version: 1.3 and Probably Prior Versions
Vendor Notification: 28 May 2010 
Vulnerability Type: SQL Injection
Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response
Risk level: High 
Credit: High-Tech Bridge SA (http://www.htbridge.ch/) 

Vulnerability Details:
The vulnerability exists due to failure in the "/modules/blog/index.php" script. Attacker can alter queries to the application SQL database, execute arbitrary queries to the database, compromise the application, access or modify sensitive data, or exploit various vulnerabilities in the underlying SQL database.

Attacker can use browser to exploit this vulnerability. The following PoC is available:

http://host/blog/1+ANY_SQL_CODE_HERE/Demo_of_ANE_CMS#comment-63


