Kentico Xperience CMS, a widely used platform designed for enterprises and organizations, is under scrutiny after a vulnerability chain was discovered that exploits Cross-Site Scripting (XSS) to enable Remote Code Execution (RCE).
This vulnerability was disclosed by researchers who demonstrated its potential harm through a detailed proof of concept.
According to Watch Towr Labs’ report, Kentico’s resource-handling mechanism was pivotal in the discovered vulnerability chain.
The severity stems from two core issues: the unauthenticated fetching of resources via the CMS.UIControls.GetResourceHandler and the presence of an unauthenticated file upload functionality (MultiFileUploader.ashx).
Together, these vulnerabilities allowed attackers to execute advanced exploitation techniques.
Step 1: Unauthenticated Resource Fetching
The researchers identified a handler that performs unauthenticated retrieval of resources—such as images, files, and scripts. Initially perceived as low-impact, this feature proved significant due to its ability to process SVG files.
SVG files can contain embedded JavaScript and execute malicious code when read by a browser under specific conditions.
Step 2: File Upload Primitive
An unauthenticated file upload handler (CMS.DocumentEngine.Web.UI.ContentUploader) was discovered, enabling attackers to place temporary files within a predictable web-accessible directory.
Though constrained by a whitelist of file extensions, this handler’s functionality opened the door to further exploitation.
Step 3: Leveraging a Custom File Handler
Kentico’s custom file-handling mechanism includes ZIP-processing capabilities. This allows files within ZIP archives to be virtually unpacked and rendered.
The researchers created a malicious SVG file containing executable JavaScript, packaged it into a ZIP archive, and uploaded it using the file upload handler. By calling the uploaded ZIP file via the resource fetch handler, the SVG inside the archive was executed—triggering XSS.
Proof of Concept:
An attacker could upload poc.zip containing poc.svg and read it through the following endpoint:
http://hostname/CMSPages/GetResource.ashx?image=/App_Data/CMSTemp/MultiFileUploader/00/00000000-0000-0000-0000-000000000000/[poc.zip]/poc.svg
This results in JavaScript execution, causing an XSS alert.
Step 4: Post-authentication RCE
CMS platforms like Kentico Xperience often grant privileged users functionalities that include uploading files.
Researchers demonstrated how authenticated users could extend the application’s file extension whitelist and upload ASPX files to the webroot directory for RCE.
By using an uploaded webshell, attackers can remotely execute arbitrary code. While this aspect of the vulnerability requires authentication, it highlights risks associated with weak access controls and privilege misuse.
For a complete demonstration of the vulnerability chain and exploitation process, the researchers have published a video showcasing their findings.
In the proof of concept, malicious commands were executed on the host, demonstrating the full impact of the vulnerability chain.
The research team commended Kentico for its swift action and professionalism in addressing these vulnerabilities.
The company patched the issues promptly upon receiving their report, showcasing their commitment to customer security.
Kentico administrators are advised to:
While XSS vulnerabilities are often dismissed as minor, this case demonstrates how XSS can lead to critical RCE under the right conditions.
Organizations using Kentico Xperience CMS are urged to assess their systems for similar issues and adopt best practices to prevent exploitation.
Investigate Real-World Malicious Links & Phishing Attacks With Threat Intelligence Lookup - Try for Free
The Tails Project has urgently released Tails 6.14.2, addressing critical security vulnerabilities in the Linux kernel…
Check Point Research (CPR) has uncovered a new targeted phishing campaign employing GRAPELOADER, a sophisticated…
A sophisticated cyber espionage campaign leveraging the newly identified BRICKSTORM malware variants has targeted European…
A recent report by Cyble has shed light on the evolving tactics of hacktivist groups,…
The U.S. Cybersecurity and Infrastructure Security Agency (CISA) has released nine new advisories detailing severe…
Email security solutions are critical for protecting organizations from the growing sophistication of cyber threats…