# Exploit Title: Kentico CMS version 9 through 11 - Cross-Site Scripting (Reflect) # Date: 18-02-2018 # Software Link: https://www.kentico.com # Exploit Author: Keerati T. # CVE: CVE-2018-7205 # Category: webapps 1. Description Kentico is the only fully integrated ASP.NET CMS, E-commerce, and Online Marketing platform that allows you to create cutting-edge websites and optimize your digital customers experiences fully across multiple channels. Kentico saves you time and resources so you can accomplish more. (Copy from Kentico homepage.) 2. Proof of Concept In case of no product to install you can request Hosted Trial at https://www.kentico.com/download-demo/hosted-trial (Vendor message: Hosted trials are virtual applications running isolated and are limited by application pool permission set on server level so they should be safe as well.) 2.1 Log in as administrator. 2.2 Go to "Pages". 2.3 At "Edit" on left panel, select any page under site. 2.4 Click "Template" tab locate on top right panel. 2.5 Under "Template" tab, select "Edit template properties". 2.6 Select "Device layout". 2.7 Select "Create device layout". 2.8 At popped "New device layout" select device on drop-down list and save. 2.9 Edit created device layout, select "Design". 2.10 Inject ')};alert('xss');// into "devicename" parameter. 3. Timeline 3.1 Discovery and report - 15 Feb 2018. 3.2 CVE ID was assigned - 18 Feb 2018. 3.3 Public - 18 Feb 2018. 4. Solution Implementing HTML encode function.