Cloudanix VulnDB

CVE-2021-20080

Medium · 6.1

CVSS

6.1

EPSS

93.1%

Published

Apr 9, 2021

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Attend

An attacker could upload a malicious asset file that makes harmful code run when help desk staff view it.

Exploit Available
Exploitation
Requires User Interaction
Attacker needs
None
Complexity
Low
Impact
Data Exposure
Component
Application
Class
XSS
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

CVE-2021-20080 is a persistent cross-site scripting vulnerability caused by insufficient output sanitization when ManageEngine ServiceDesk Plus before version 11200 and ManageEngine AssetExplorer before version 6800 process uploaded XML asset files. A remote unauthenticated attacker can upload a crafted XML asset file containing script content that is stored by the application and later executed in the browser of a user who views the affected asset data. Because the CVSS scope is changed, exploitation can cause attacker-controlled code to run in a victim user’s authenticated browser context, potentially allowing theft of session tokens where accessible, unauthorized actions as the victim, credential phishing, data exposure visible to the victim, or malicious redirection.

Why it matters to the business

Successful exploitation can compromise help desk or asset management workflows by allowing an external attacker to plant malicious script content that executes when staff view imported asset records. This may lead to account misuse, exposure of ticket or asset information, fraudulent workflow actions, and loss of trust in IT service management data. Although it is not listed in CISA KEV and is not specifically identified as ransomware-used, the EPSS score is very high and public exploit availability is reported, so internet-exposed or broadly accessible deployments should treat remediation as urgent. ServiceDesk Plus and AssetExplorer often contain operationally sensitive inventory, user, and support information, increasing the potential impact if privileged IT staff accounts are targeted.

How an attack unfolds

An attacker identifies an exposed ManageEngine ServiceDesk Plus or AssetExplorer instance that permits XML asset file upload or import functionality without authentication. The attacker crafts an XML asset file containing embedded JavaScript or HTML event-handler payloads in fields that the application stores and later renders without proper output encoding. After uploading the file, the payload persists in the application’s asset data. When an administrator, technician, or other authenticated user views the affected asset record or page, the browser executes the attacker’s script in the application’s origin. The script can then attempt to read page content, perform same-origin requests as the victim, modify data, create misleading UI elements, redirect the user, or exfiltrate accessible tokens and sensitive values depending on browser protections and application behavior.

How to fix it

Upgrade to a fixed version immediately: ManageEngine ServiceDesk Plus version 11200 or later, and ManageEngine AssetExplorer version 6800 or later. If immediate upgrade is not possible, restrict access to the application and especially XML asset upload/import endpoints to trusted networks and authenticated administrative users, disable unauthenticated asset import functionality where feasible, place the application behind VPN or identity-aware access controls, and use a web application firewall rule to block XML uploads containing script tags, HTML event handlers, JavaScript URLs, or suspicious markup. Review and sanitize imported asset records that may contain embedded HTML or JavaScript. After patching, rotate sessions for administrative users if exploitation is suspected, and consider resetting credentials for accounts that interacted with suspicious asset records.

How to confirm the fix worked

Confirm the installed product versions are ServiceDesk Plus 11200 or later and AssetExplorer 6800 or later. Review vendor build information from the application UI and filesystem release metadata where available. Test the vulnerable workflow in a non-production environment by importing a benign XSS probe string in an XML asset field and verifying it is rendered as inert text rather than executed script. Validate that unauthenticated users cannot access asset upload/import functionality. Confirm compensating controls, such as network restrictions or WAF rules, block malicious XML payloads. Review existing asset records for script markup and remove or neutralize suspicious entries.

Typical attack path

  1. Discover a ManageEngine ServiceDesk Plus or AssetExplorer deployment, especially one reachable from the internet or partner networks.
  2. Confirm the product/version is potentially vulnerable: ServiceDesk Plus before 11200 or AssetExplorer before 6800.
  3. Craft a malicious XML asset file containing stored XSS payloads in importable asset fields.
  4. Upload or import the crafted XML file through the vulnerable asset upload workflow without authentication.
  5. Wait for an authenticated technician, administrator, or asset manager to view the imported asset data.
  6. Execute JavaScript in the victim’s browser under the ManageEngine application origin.
  7. Use the victim session to read accessible data, perform unauthorized application actions, phish credentials, or exfiltrate sensitive page content.

How to detect it

To determine whether exploitation already occurred, review ManageEngine application logs, web server access logs, reverse-proxy logs, WAF events, and endpoint/network telemetry around asset import or XML upload activity. Focus on unauthenticated POST requests that upload XML files, especially requests containing script tags, JavaScript URI schemes, HTML event-handler attributes, encoded script content, or references to external domains. Correlate suspicious uploads with later page views by technicians or administrators and with outbound browser connections to unfamiliar domains shortly afterward. Inspect stored asset records and imported XML data for embedded markup. Review authentication/session logs for unusual actions performed by accounts that viewed suspicious asset records, such as unexpected configuration changes, ticket edits, user creation, API activity, exports, or access from abnormal IP addresses. If browser or EDR telemetry is available, look for ManageEngine-origin pages spawning downloads, redirects, clipboard access attempts, or connections to external collection infrastructure.

  • <script
  • </script>
  • javascript:
  • onerror=
  • onload=
  • onclick=
  • onmouseover=
  • <img src=x
  • <svg/onload=
  • <![CDATA[<script
  • %3Cscript
  • %3C%2Fscript%3E
  • .xml
  • POST

What your security team should do

  • Prioritize patching because public exploit code is available and EPSS is very high, even though the vulnerability is not currently listed in CISA KEV.
  • Identify all ManageEngine ServiceDesk Plus and AssetExplorer instances, including internet-facing, partner-accessible, and legacy deployments.
  • Upgrade ServiceDesk Plus to 11200 or later and AssetExplorer to 6800 or later.
  • Restrict XML asset import/upload functionality to trusted administrative users and trusted network paths only.
  • Search historical web, application, and reverse-proxy logs for unauthenticated XML uploads and suspicious script content in asset import requests.
  • Review imported asset records for stored HTML, JavaScript, event-handler attributes, or external callback domains.
  • Invalidate active sessions and investigate privileged help desk or asset management accounts that viewed suspicious asset records.
  • Add SIEM detections for script-like payloads in XML uploads to ManageEngine endpoints and outbound callbacks following asset record views.

The record

Insufficient output sanitization in ManageEngine ServiceDesk Plus before version 11200 and ManageEngine AssetExplorer before version 6800 allows a remote, unauthenticated attacker to conduct persistent cross-site scripting (XSS) attacks by uploading a crafted XML asset file.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities