{
  "id": "CVE-2024-21887",
  "url": "https://poc.griffinguard.io/cve/CVE-2024-21887",
  "published_at": "2024-01-12T17:02:16.481Z",
  "title": "Ivanti Connect Secure and Policy Secure Command Injection Vulnerability",
  "vendor": "Ivanti",
  "product": "ICS",
  "cvss": {
    "score": 9.1,
    "source": "cna",
    "vector": "CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2024-01-10",
    "known_ransomware_campaign_use": "Known",
    "days_after_publication": -2
  },
  "first_poc": {
    "created_at": "2024-01-14T09:25:56Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 1.7,
    "repo": "oways/ivanti-CVE-2024-21887",
    "source": "github"
  },
  "poc_repo_count": 8,
  "exploit_count": 3,
  "suspicious_repo_count": 0,
  "edge_device": {
    "category": "Remote access gateway",
    "confidence": "high",
    "reason": "known edge product: Ivanti ICS Ivanti Connect Secure and Policy"
  },
  "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.",
  "cwe": "CWE-77",
  "cvss_by_source": {
    "cna": 9.1
  },
  "repos": [
    {
      "repo": "imhunterand/CVE-2024-21887",
      "url": "https://github.com/imhunterand/CVE-2024-21887",
      "created_at": null,
      "first_seen_at": "2026-11-14T21:59:14.787Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "tucommenceapousser/CVE-2024-21887",
      "url": "https://github.com/tucommenceapousser/CVE-2024-21887",
      "created_at": null,
      "first_seen_at": "2026-11-14T21:59:14.787Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "oways/ivanti-CVE-2024-21887",
      "url": "https://github.com/oways/ivanti-CVE-2024-21887",
      "created_at": "2024-01-14T09:25:56Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 7,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-02-22T05:57:06Z"
    },
    {
      "repo": "duy-31/CVE-2023-46805_CVE-2024-21887",
      "url": "https://github.com/duy-31/CVE-2023-46805_CVE-2024-21887",
      "created_at": "2024-01-16T19:40:59Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 23,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-08-03T15:16:55Z"
    },
    {
      "repo": "Chocapikk/CVE-2024-21887",
      "url": "https://github.com/Chocapikk/CVE-2024-21887",
      "created_at": "2024-01-16T20:59:38Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 58,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-08-06T09:10:49Z"
    },
    {
      "repo": "raminkarimkhani1996/CVE-2023-46805_CVE-2024-21887",
      "url": "https://github.com/raminkarimkhani1996/CVE-2023-46805_CVE-2024-21887",
      "created_at": "2024-01-18T13:25:46Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 5,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-03-21T20:07:33Z"
    },
    {
      "repo": "seajaysec/Ivanti-Connect-Around-Scan",
      "url": "https://github.com/seajaysec/Ivanti-Connect-Around-Scan",
      "created_at": "2024-01-19T02:12:11Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 12,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2014-03-20T21:52:58Z"
    },
    {
      "repo": "xingchennb/POC-",
      "url": "https://github.com/xingchennb/POC-",
      "created_at": "2024-01-26T06:18:10Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-08-30T10:13:37Z"
    },
    {
      "repo": "Chocapikk/CVE-2024-21893-to-CVE-2024-21887",
      "url": "https://github.com/Chocapikk/CVE-2024-21893-to-CVE-2024-21887",
      "created_at": "2024-02-03T11:33:40Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 27,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-08-06T09:10:49Z"
    },
    {
      "repo": "stephen-murcott/Ivanti-ICT-Snapshot-decryption",
      "url": "https://github.com/stephen-murcott/Ivanti-ICT-Snapshot-decryption",
      "created_at": "2024-02-09T16:49:00Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-07-23T09:36:17Z"
    },
    {
      "repo": "pwniel/ivanti_shell",
      "url": "https://github.com/pwniel/ivanti_shell",
      "created_at": "2024-02-24T12:55:43Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-11-16T16:36:45Z"
    },
    {
      "repo": "rxwx/pulse-meter",
      "url": "https://github.com/rxwx/pulse-meter",
      "created_at": "2025-01-14T12:54:19Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2012-08-23T08:21:06Z"
    },
    {
      "repo": "Hexastrike/Ivanti-Connect-Secure-Logs-Parser",
      "url": "https://github.com/Hexastrike/Ivanti-Connect-Secure-Logs-Parser",
      "created_at": "2025-01-19T09:02:37Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 6,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "no network code found (normal for a local exploit)"
      ],
      "status": "analyzed",
      "owner_created_at": "2024-04-29T17:48:08Z"
    },
    {
      "repo": "webdev11-code/shell-injection",
      "url": "https://github.com/webdev11-code/shell-injection",
      "created_at": "2026-08-18T13:38:01Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped",
      "owner_created_at": "2026-06-26T04:39:09Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/ivanti_connect_secure_rce_cve_2023_46805.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Ivanti Connect Secure Unauthenticated Remote Code Execution (exploit/linux/http/ivanti_connect_secure_rce_cve_2023_46805)",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/ivanti_connect_secure_rce_cve_2024_21893.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Ivanti Connect Secure Unauthenticated Remote Code Execution (exploit/linux/http/ivanti_connect_secure_rce_cve_2024_21893)",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-21887.yaml",
      "source": "nuclei",
      "title": "nuclei template: Ivanti Connect Secure (9.x, 22.x) and Ivanti Policy Secure (9.x, 22.x) - Command Injection",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/api/v1/configuration/users/user-roles/user-role/rest-userrole1/web/web-bookmarks/bookmark",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "oways/ivanti-CVE-2024-21887",
        "raminkarimkhani1996/CVE-2023-46805_CVE-2024-21887"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "oways/ivanti-CVE-2024-21887/checker.py:19",
        "raminkarimkhani1996/CVE-2023-46805_CVE-2024-21887/CVE-2023-46805_CVE-2024-21887.py:11"
      ]
    },
    {
      "method": "POST",
      "path_template": "/dana-ws/saml20.ws",
      "body_markers": [
        "\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003csoap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"\u003e\n  \u003csoap:Bo"
      ],
      "content_type": "text/xml",
      "ports": [
        8090
      ],
      "protocol": "http",
      "repos": [
        "Chocapikk/CVE-2024-21893-to-CVE-2024-21887"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "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"
      ]
    },
    {
      "method": "GET",
      "path_template": "/api/v1/totp/user-backup-code/%2e%2e/%2e%2e/system/system-information",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "raminkarimkhani1996/CVE-2023-46805_CVE-2024-21887"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "raminkarimkhani1996/CVE-2023-46805_CVE-2024-21887/CVE-2023-46805_CVE-2024-21887.py:15"
      ]
    },
    {
      "method": "POST",
      "path_template": "/api/v1/totp/user-backup-code/%2E%2E/%2E%2E/system/maintenance/archiving/cloud-server-test-connection",
      "body_markers": [
        "\"type\""
      ],
      "content_type": "application/json",
      "protocol": "http",
      "repos": [
        "Chocapikk/CVE-2024-21887"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Chocapikk/CVE-2024-21887/exploit.py:26"
      ]
    }
  ],
  "rules": []
}
