Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2019-1821: Unauthenticated RCE via Directory Traversal in Cisco Prime Infrastructure Health Monitor UploadServlet

Published May 16, 2019 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3
EPSS98.1%100th percentile
CISA KEVNoNot listed
In the wildReported536 exploitation records in Mallory
Vendor
Cisco Systems
IdentifiersCVE-2019-1821CWE-22

CVE-2019-1821 is a critical unauthenticated remote code execution vulnerability in Cisco Prime Infrastructure Health Monitor, specifically in the UploadServlet component. The flaw arises from improper validation of file paths during tar archive extraction, enabling directory traversal. An attacker can exploit this by uploading a crafted tar archive containing a malicious JSP webshell to the server's webroot, resulting in arbitrary code execution as the 'prime' user, with subsequent privilege escalation to root. The vulnerability is accessible remotely over HTTPS and does not require authentication if high availability is configured. The vulnerable code is based on the TarArchive class by ICE Engineering, which is also used in other projects.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows a remote, unauthenticated attacker to gain root-level shell access to the affected system, execute arbitrary commands, and fully compromise the host. This can lead to complete loss of confidentiality, integrity, and availability of the system and any managed infrastructure.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, restrict network access to the management interface, especially port 8082, to trusted hosts only. Disable high availability if not required, as the vulnerability is only accessible in this configuration. Monitor for suspicious file uploads and webshell activity. Consider deploying web application firewalls to detect and block malicious archive uploads.

Remediation

Patch, then assume compromise.

Apply the official Cisco patch for CVE-2019-1821 as soon as possible. Ensure that all Cisco Prime Infrastructure instances are updated to a version containing the fix. Review Cisco's security advisories for any additional mitigations or updates regarding the completeness of the patch.

Public exploits

Exploits

2 exploits validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.

View more in app →
cpi_tararchive_upload.rbThis repository contains a single Metasploit module (modules/exploits/linux/http/cpi_tararchive_upload.rb) that exploits a directory traversal vulnerability (CVE-2019-1821) in Cisco Prime Infrastructure 3.4.0.0's Health Monitor component. The exploit abuses the TarArchive Java class, which fails to sanitize file paths when extracting tar files, allowing an attacker to upload a malicious JSP stager to the Tomcat webapps directory via the /servlet/UploadServlet endpoint. The module then triggers the JSP to write and execute a custom ELF payload (such as Meterpreter), resulting in unauthenticated remote code execution. The exploit is fully weaponized, supporting custom payloads and cleanup, and is designed for use within the Metasploit framework. The main attack vector is network-based, targeting the web interface (default port 443 or 8082, SSL enabled). The code is well-structured, with clear separation of the tar creation, upload, and execution logic, and includes checks to verify the target is running Cisco Prime Infrastructure.Disclosed May 15, 2019 · Framework: metasploit · ruby · networkWeaponizedCiscoExploitThis repository contains a Python exploit script (CVE-2019-1821.py) targeting Cisco Prime Infrastructure's Health Monitor HA TarArchive Directory Traversal vulnerability (CVE-2019-1821). The exploit works by crafting a malicious tar archive containing a JSP webshell, which is uploaded to the target via a vulnerable servlet endpoint. Once uploaded, the script accesses the webshell to trigger a reverse shell connection from the target to the attacker's machine, granting root access. The exploit is operational and provides a working reverse shell payload. The repository also includes a README.md with references to related Cisco vulnerabilities and exploits, but the main exploit is fully contained in the Python script. The attack vector is network-based, requiring access to the target's web interface. Key endpoints include the upload servlet and the location where the webshell is planted and accessed.k8gege · Disclosed May 21, 2019 · python · networkOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Cisco SystemsEvolved Programmable Network Managerapplication
Cisco SystemsNetwork Level Serviceapplication
Cisco SystemsPrime Infrastructureapplication
FAQ

Frequently asked questions

Is CVE-2019-1821 exploited in the wild?
Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2019-1821?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2019-1821, the earliest disclosed May 15, 2019.
Is there a patch for CVE-2019-1821?
Apply the official Cisco patch for CVE-2019-1821 as soon as possible. Ensure that all Cisco Prime Infrastructure instances are updated to a version containing the fix.
What products are affected by CVE-2019-1821?
Cisco Systems Prime Infrastructure, Cisco Systems Evolved Programmable Network Manager, and Cisco Systems Network Level Service.
How severe is CVE-2019-1821?
CVE-2019-1821 has a CVSS v3 score of 9.8 (Critical) and an EPSS score of 98.1% (100th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.