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.
Timeline
Days relative to CVE publicationFirst 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
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 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
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| imhunterand/CVE-2024-21887 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
| tucommenceapousser/CVE-2024-21887 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Informational 3
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 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
Below the suspicion threshold (50); does not change the assessment. |
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 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.| Source | Title | Published | Found by us |
|---|---|---|---|
| Metasploit | Metasploit exploit: Ivanti Connect Secure Unauthenticated Remote Code Execution (exploit/linux/http/ivanti_connect_secure_rce_cve_2023_46805) | 16 Jan 2024 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: Ivanti Connect Secure Unauthenticated Remote Code Execution (exploit/linux/http/ivanti_connect_secure_rce_cve_2024_21893) | 6 Feb 2024 | 14 Nov 2026 |
| nuclei template | nuclei template: Ivanti Connect Secure (9.x, 22.x) and Ivanti Policy Secure (9.x, 22.x) - Command Injection | 16 Jan 2024 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 8 PoC reposGET /api/v1/configuration/users/user-roles/user-role/rest-userrole1/web/web-bookmarks/bookmark
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:Bointext/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"inapplication/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.
(?i)^/api/v1/configuration/users/user-roles/user-role/rest-userrole1/web/web-bookmarks/bookmark(?:[?#].*)?$
(?i)^/dana-ws/saml20\.ws(?:[?#].*)?$
(?i)^/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/maintenance/archiving/cloud-server-test-connection(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
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;)
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;)
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;)
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.
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
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
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
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