PoC Monitor
← All CVEs
CVE-2023-20273published 24 Oct 2023 14:13 UTCData: JSON · API

Cisco IOS XE Software

Cisco IOS XE Web UI Command Injection Vulnerability

Edge device · Router / network deviceknown edge product: Cisco Cisco IOS XE Software Cisco IOS (high confidence)

A vulnerability in the web UI feature of Cisco IOS XE Software could allow an authenticated, remote attacker to inject commands with the privileges of root. This vulnerability is due to insufficient input validation. An attacker could exploit this vulnerability by sending crafted input to the web UI. A successful exploit could allow the attacker to inject commands to the underlying operating system with root privileges.

First public PoC 46 daysafter publication · 9 Dec 2023
Public PoCs31 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS7.2high · scored by CNA · CWE-78
CISA KEV 23 Oct 20231 day before after publication

Timeline

Days relative to CVE publication
t=0+7+14+21+28+35+42Added to CISA KEV23 Oct 2023 · t−1dCVE published24 Oct 2023 · t = 0First public PoC9 Dec 2023 · t+46d

First public PoC 46 days after publication; added to CISA KEV 1 day before publication. First PoC: smokeintheshell/CVE-2023-20273 (created 9 Dec 2023, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs · 3 not a PoC

PoCs 1
RepositoryCreatedStarsAssessment
smokeintheshell/CVE-2023-20273 9 Dec 2023 +46 d 15 PoC
Not a PoC 3
RepositoryCreatedStarsAssessment
smokeintheshell/CVE-2023-20198 16 Nov 2023 +23 d 67 Not a PoC · unrelated
sanan2004/CVE-2023-20198 26 Aug 2024 +307 d 0 Not a PoC · unrelated
G4sul1n/Cisco-IOS-XE-CVE-2023-20198 11 Apr 2025 +1.5 y 3 Not a PoC · unrelated

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

POST /webui/rest/softwareMgmt/installAdd

Key headers
Cookie: Auth={var} X-Csrf-Token: <token from /webui/rest/getDeviceCapability>
Body markers
"installMethod":"tftp" "ipaddress":"1000:1000:1000: $(echo hello world > /var/www/hello.html)" "operation_type":"SMU" "filePath":"test" "fileSystem":"flash:"
Ports
8080
PoC User-Agent
CVE-2023-20273
Seen in
1 repo: smokeintheshell/CVE-2023-20273
Evidence
smokeintheshell/CVE-2023-20273/exploit.py:342 smokeintheshell/CVE-2023-20273/exploit.py:412 smokeintheshell/CVE-2023-20273/exploit.py:481 smokeintheshell/CVE-2023-20273/exploit.py:519 smokeintheshell/CVE-2023-20273/exploit.py:593

GET /webui/{var}

Ports
8080
PoC User-Agent
CVE-2023-20273
Seen in
1 repo: smokeintheshell/CVE-2023-20273
Evidence
smokeintheshell/CVE-2023-20273/exploit.py:372 smokeintheshell/CVE-2023-20273/exploit.py:435

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /webui/rest/softwareMgmt/installAdd
(?i)^/webui/rest/softwareMgmt/installAdd(?:[?#].*)?$
GET /webui/{var}
(?i)^/webui/[^/?#]*(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /webui/rest/softwareMgmt/installAdd
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2023-20273 Cisco Cisco IOS XE Software exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/webui/rest/softwareMgmt/installAdd"; http.header; content:"Cookie: Auth="; nocase; http.header; content:"X-Csrf-Token: <token from /webui/rest/getDeviceCapability>"; nocase; http.request_body; content:"|22|installMethod|22|:|22|tftp|22|"; http.request_body; content:"|22|ipaddress|22|:|22|1000:1000:1000: $(echo hello world > /var/www/hello.html)|22|"; http.request_body; content:"|22|operation_type|22|:|22|SMU|22|"; http.request_body; content:"|22|filePath|22|:|22|test|22|"; http.request_body; content:"|22|fileSystem|22|:|22|flash:|22|"; reference:url,poc.griffinguard.io/cve/CVE-2023-20273; classtype:web-application-attack; sid:9301388; rev:1;)
GET /webui/{var}
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2023-20273 Cisco Cisco IOS XE Software exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/webui/"; reference:url,poc.griffinguard.io/cve/CVE-2023-20273; classtype:web-application-attack; sid:9468309; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /webui/rest/softwareMgmt/installAdd
title: Cisco Cisco IOS XE Software exploit attempt (CVE-2023-20273)
id: gg-pocmon-cve-2023-20273-9301388
status: experimental
description: Request pattern taken from public PoCs for CVE-2023-20273. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2023-20273
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/webui/rest/softwareMgmt/installAdd'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2023.20273
GET /webui/{var}
title: Cisco Cisco IOS XE Software exploit attempt (CVE-2023-20273)
id: gg-pocmon-cve-2023-20273-9468309
status: experimental
description: Request pattern taken from public PoCs for CVE-2023-20273. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2023-20273
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/webui/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2023.20273