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.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
2 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).
This 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.
This 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.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.