cbcvebase.
CVE-2019-1821
published 2019-05-16

CVE-2019-1821: A vulnerability in the web-based management interface of Cisco Prime Infrastructure (PI) and Cisco Evolved Programmable Network (EPN) Manager could allow an…

PriorityP193critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEVInitial access
Exploited in the wild
EPSS
98.09%
99.9th percentile
A vulnerability in the web-based management interface of Cisco Prime Infrastructure (PI) and Cisco Evolved Programmable Network (EPN) Manager could allow an authenticated, remote attacker to execute code with root-level privileges on the underlying operating system. This vulnerability exist because the software improperly validates user-supplied input. An attacker could exploit this vulnerability by uploading a malicious file to the administrative web interface. A successful exploit could allow the attacker to execute code with root-level privileges on the underlying operating system.

Affected

5 ranges
VendorProductVersion rangeFixed in
ciscocisco_prime_infrastructure
ciscoevolved_programmable_network_manager< 3.0.13.0.1
cisconetwork_level_service
ciscoprime_infrastructure< 3.4.13.4.1
ciscoprime_infrastructure_and_evolved_programmable_network_manager

Detection & IOCsextracted from sources · hover to see the quote

urlhttps://<target>:8082/servlet/UploadServlet
port8082
path/servlet/UploadServlet
path../../opt/CSCOlumos/tomcat/webapps/ROOT/si.jsp
path/opt/CSCOlumos/tomcat/webapps/ROOT/
path/opt/CSCOlumos/bin/runrshell
filenamesi.jsp
filenamesi.tar
command/opt/CSCOlumos/bin/runrshell '" && /bin/sh #'
path/webacs/pages/common/login.jsp
pathapache-tomcat-8.5.16/webapps/ROOT/
  • Detect exploit attempts by monitoring POST requests to /servlet/UploadServlet on port 8082 with the specific exploit headers: Destination-Dir: tftpRoot, Compressed-Archive: false, Primary-IP: 127.0.0.1
  • Alert on HTTP POST to /servlet/UploadServlet containing a tar file with path traversal sequences (../../) in tar entry names, indicating directory traversal exploitation attempt
  • Monitor for new .jsp files appearing under /opt/CSCOlumos/tomcat/webapps/ROOT/ or apache-tomcat-8.5.16/webapps/ROOT/ as indicators of successful webshell deployment
  • Use Shodan/FOFA/Google dorks to identify exposed Cisco Prime Infrastructure instances: http.title:"prime infrastructure" / title="prime infrastructure" / intitle:"prime infrastructure"
  • Fingerprint Cisco Prime Infrastructure by checking for HTTP response header 'Server: Prime' on the login page /webacs/pages/common/login.jsp returning HTTP 200
  • Detect privilege escalation post-exploitation via execution of /opt/CSCOlumos/bin/runrshell with shell injection argument pattern '" && /bin/sh #'
  • Nuclei template detection: POST to /servlet/UploadServlet with tar containing path traversal to ../../opt/CSCOlumos/tomcat/webapps/ROOT/test.txt, then GET /test.txt and verify randstr in response body with HTTP 200
  • ·CVE-2019-1821 is exploitable WITHOUT authentication (unauthenticated RCE), targeting the HA Health Monitor component on port 8082, not the standard web management port 443
  • ·The Metasploit module targets Cisco Prime Infrastructure 3.4.0.0 specifically; the exploit port for UploadServlet is 8082 (SSL), while the web interface check uses port 443
  • ·CVE-2019-1821 differs from CVE-2019-1822 and CVE-2019-1823 in that it requires no authentication; the latter two require valid credentials to the administrative interface

CVSS provenance

nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.010.0CRITICALAV:N/AC:L/Au:N/C:C/I:C/A:C
vulncheck8.8HIGH
vendor_cisco8.8HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.