Total Tests:

SQL Injection Vulnerabilities in Mac's CMS

Advisory ID:HTB22436
Product:Mac's CMS
Vendor:Macdonald Terrence Robinson
Vulnerable Versions:1.1.4 and probably prior
Tested Version:1.1.4
Advisory Publication:June 10, 2010 [without technical details]
Vendor Notification:June 10, 2010
Public Disclosure:June 24, 2010
Vulnerability Type:SQL Injection [CWE-89]
Risk Level:High
CVSSv2 Base Score: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 multiple vulnerabilities in Mac's CMS which could be exploited to perform SQL injection attacks.

1) SQL injection vulnerability in Mac's CMS
1.1 The vulnerability exists due to input sanitation errors in the “commentId” parameter in index.php. A remote attacker can send a specially crafted HTTP 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/index.php/main/cms/deleteComment/?commentId=4'-'1
1.2 The vulnerability exists due to input sanitation errors in the “lang” parameter in index.php. A remote attacker can send a specially crafted HTTP 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. Successful exploitation requires privileges to delete comments.
Exploitation example:
http://host/index.php/home?lang=-1%27+union+select+1,2,3,4,5,6,7,8,9,10,11,1 2,13+--+

How to Detect SQL Injection 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 HTB22436 - https://www.immuniweb.com/advisory/HTB22436 - SQL Injection Vulnerabilities in Mac's CMS
[2] Mac's CMS - http://macs-framework.sourceforge.net/ - Mac's CMS is a flat file (XML and SQLite) AJAX content management system.
[3] 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