PoC Monitor
← All CVEs
CVE-2024-21887published 12 Jan 2024 17:02 UTCData: JSON · API

Ivanti ICS

Ivanti Connect Secure and Policy Secure Command Injection Vulnerability

Edge device · Remote access gatewayknown edge product: Ivanti ICS Ivanti Connect Secure and Policy (high confidence)

A command injection vulnerability in web components of Ivanti Connect Secure (9.x, 22.x) and Ivanti Policy Secure (9.x, 22.x) allows an authenticated administrator to send specially crafted requests and execute arbitrary commands on the appliance.

First public PoC 1.7 daysafter publication · 14 Jan 2024
Public PoCs118 on GitHub · 3 Exploit-DB, Metasploit or nuclei
CVSS9.1critical · scored by CNA · CWE-77
CISA KEV 10 Jan 20242 days before after publication · ransomware use known

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8Added to CISA KEV10 Jan 2024 · t−2dCVE published12 Jan 2024 · t = 0First public PoC14 Jan 2024 · t+1.7d

First public PoC 1.7 days after publication; added to CISA KEV 2 days before publication. First PoC: oways/ivanti-CVE-2024-21887 (created 14 Jan 2024, found by us: backfilled).

PoC repositories

Found on GitHub.

8 PoCs · 2 pending · 3 informational · 1 suspicious or fake

PoCs 8
RepositoryCreatedStarsAssessment
oways/ivanti-CVE-2024-21887 14 Jan 2024 +1.7 d 7 PoC
duy-31/CVE-2023-46805_CVE-2024-21887 16 Jan 2024 +4.1 d 23 PoC
Chocapikk/CVE-2024-21887 16 Jan 2024 +4.2 d 58 PoC
raminkarimkhani1996/CVE-2023-46805_CVE-2024-21887 18 Jan 2024 +5.8 d 5 PoC
Chocapikk/CVE-2024-21893-to-CVE-2024-21887 3 Feb 2024 +22 d 27 PoC
stephen-murcott/Ivanti-ICT-Snapshot-decryption 9 Feb 2024 +28 d 1 PoC via PoC Index
pwniel/ivanti_shell 24 Feb 2024 +43 d 0 PoC via PoC Index
webdev11-code/shell-injection 18 Aug 2026 +2.6 y 0 PoC via PoC Index
Pending 2
RepositoryCreatedStarsAssessment
imhunterand/CVE-2024-21887 unknown 0 Pending · repository unavailable (HTTP 404)
tucommenceapousser/CVE-2024-21887 unknown 0 Pending · repository unavailable (HTTP 404)
Informational 3
RepositoryCreatedStarsAssessment
seajaysec/Ivanti-Connect-Around-Scan 19 Jan 2024 +6.4 d 12 Informational · detection
rxwx/pulse-meter 14 Jan 2025 +1.0 y 1 Informational · detection
Hexastrike/Ivanti-Connect-Secure-Logs-Parser 19 Jan 2025 +1.0 y 6 Informational · detection
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

Suspicious or fake 1
RepositoryCreatedStarsAssessment
xingchennb/POC- 26 Jan 2024 +14 d 0 Fake

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 8 PoC repos

GET /api/v1/configuration/users/user-roles/user-role/rest-userrole1/web/web-bookmarks/bookmark

Ports
8080
Seen in
2 repos: oways/ivanti-CVE-2024-21887, raminkarimkhani1996/CVE-2023-46805_CVE-2024-21887
Evidence
oways/ivanti-CVE-2024-21887/checker.py:19 raminkarimkhani1996/CVE-2023-46805_CVE-2024-21887/CVE-2023-46805_CVE-2024-21887.py:11

POST /dana-ws/saml20.ws

Body markers
<?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Bo in text/xml
Ports
8090
Seen in
1 repo: Chocapikk/CVE-2024-21893-to-CVE-2024-21887
Evidence
Chocapikk/CVE-2024-21893-to-CVE-2024-21887/CVE-2024-21893-CVE-2024-21887.yaml:30 Chocapikk/CVE-2024-21893-to-CVE-2024-21887/CVE-2024-21893.yaml:30

GET /api/v1/totp/user-backup-code/%2e%2e/%2e%2e/system/system-information

Ports
8080
Seen in
1 repo: raminkarimkhani1996/CVE-2023-46805_CVE-2024-21887
Evidence
raminkarimkhani1996/CVE-2023-46805_CVE-2024-21887/CVE-2023-46805_CVE-2024-21887.py:15

POST /api/v1/totp/user-backup-code/%2E%2E/%2E%2E/system/maintenance/archiving/cloud-server-test-connection

Body markers
"type" in application/json
Seen in
1 repo: Chocapikk/CVE-2024-21887
Evidence
Chocapikk/CVE-2024-21887/exploit.py:26

Regex

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

GET /api/v1/configuration/users/user-roles/user-role/rest-userrole1/web/web-bookmarks/bookmark
(?i)^/api/v1/configuration/users/user-roles/user-role/rest-userrole1/web/web-bookmarks/bookmark(?:[?#].*)?$
POST /dana-ws/saml20.ws
(?i)^/dana-ws/saml20\.ws(?:[?#].*)?$
GET /api/v1/totp/user-backup-code/%2e%2e/%2e%2e/system/system-information
(?i)^/api/v1/totp/user-backup-code/%2e%2e/%2e%2e/system/system-information(?:[?#].*)?$
POST /api/v1/totp/user-backup-code/%2E%2E/%2E%2E/system/maintenance/archiving/cloud-server-test-connection
(?i)^/api/v1/totp/user-backup-code/%2E%2E/%2E%2E/system/maintenance/archiving/cloud-server-test-connection(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /api/v1/configuration/users/user-roles/user-role/rest-userrole1/web/web-bookmarks/bookmark
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2024-21887 Ivanti ICS exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/v1/configuration/users/user-roles/user-role/rest-userrole1/web/web-bookmarks/bookmark"; reference:url,poc.griffinguard.io/cve/CVE-2024-21887; classtype:web-application-attack; sid:9788140; rev:1;)
POST /dana-ws/saml20.ws
alert http any any -> $HOME_NET [8090] (msg:"GG PoC-Monitor CVE-2024-21887 Ivanti ICS exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/dana-ws/saml20.ws"; http.request_body; content:"<?xml version=|22|1.0|22| encoding=|22|UTF-8|22|?>
<soap:Envelope xmlns:soap=|22|http://schemas.xmlsoap.org/soap/envelope/|22|>
  <soap:Bo"; reference:url,poc.griffinguard.io/cve/CVE-2024-21887; classtype:web-application-attack; sid:9729513; rev:1;)
GET /api/v1/totp/user-backup-code/%2e%2e/%2e%2e/system/system-information
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2024-21887 Ivanti ICS exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/v1/totp/user-backup-code/%2e%2e/%2e%2e/system/system-information"; reference:url,poc.griffinguard.io/cve/CVE-2024-21887; classtype:web-application-attack; sid:9224102; rev:1;)
POST /api/v1/totp/user-backup-code/%2E%2E/%2E%2E/system/maintenance/archiving/cloud-server-test-connection
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2024-21887 Ivanti ICS exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/v1/totp/user-backup-code/%2E%2E/%2E%2E/system/maintenance/archiving/cloud-server-test-connection"; http.request_body; content:"|22|type|22|"; reference:url,poc.griffinguard.io/cve/CVE-2024-21887; classtype:web-application-attack; sid:9507171; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /api/v1/configuration/users/user-roles/user-role/rest-userrole1/web/web-bookmarks/bookmark
title: Ivanti ICS exploit attempt (CVE-2024-21887)
id: gg-pocmon-cve-2024-21887-9788140
status: experimental
description: Request pattern taken from public PoCs for CVE-2024-21887. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2024-21887
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/api/v1/configuration/users/user-roles/user-role/rest-userrole1/web/web-bookmarks/bookmark'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2024.21887
POST /dana-ws/saml20.ws
title: Ivanti ICS exploit attempt (CVE-2024-21887)
id: gg-pocmon-cve-2024-21887-9729513
status: experimental
description: Request pattern taken from public PoCs for CVE-2024-21887. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2024-21887
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/dana-ws/saml20.ws'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2024.21887
GET /api/v1/totp/user-backup-code/%2e%2e/%2e%2e/system/system-information
title: Ivanti ICS exploit attempt (CVE-2024-21887)
id: gg-pocmon-cve-2024-21887-9224102
status: experimental
description: Request pattern taken from public PoCs for CVE-2024-21887. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2024-21887
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/api/v1/totp/user-backup-code/%2e%2e/%2e%2e/system/system-information'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2024.21887
POST /api/v1/totp/user-backup-code/%2E%2E/%2E%2E/system/maintenance/archiving/cloud-server-test-connection
title: Ivanti ICS exploit attempt (CVE-2024-21887)
id: gg-pocmon-cve-2024-21887-9507171
status: experimental
description: Request pattern taken from public PoCs for CVE-2024-21887. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2024-21887
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/v1/totp/user-backup-code/%2E%2E/%2E%2E/system/maintenance/archiving/cloud-server-test-connection'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2024.21887