{
  "id": "CVE-2021-22986",
  "url": "https://poc.griffinguard.io/cve/CVE-2021-22986",
  "published_at": "2021-03-31T14:04:47Z",
  "title": "F5 BIG-IP and BIG-IQ Centralized Management iControl REST Remote Code Execution Vulnerability",
  "vendor": "F5",
  "product": "BIG-IP; BIG-IQ",
  "cvss": {
    "score": 9.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2021-11-03",
    "known_ransomware_campaign_use": "Known",
    "days_after_publication": 217
  },
  "first_poc": {
    "created_at": "2021-03-17T05:02:45Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": -14.4,
    "repo": "dorkerdevil/CVE-2021-22986-Poc",
    "source": "github"
  },
  "poc_repo_count": 13,
  "exploit_count": 3,
  "suspicious_repo_count": 0,
  "edge_device": {
    "category": "Load balancer / ADC",
    "confidence": "high",
    "reason": "known edge product: F5 BIG-IP; BIG-IQ F5 BIG-IP and BIG-IQ"
  },
  "description": "On BIG-IP versions 16.0.x before 16.0.1.1, 15.1.x before 15.1.2.1, 14.1.x before 14.1.4, 13.1.x before 13.1.3.6, and 12.1.x before 12.1.5.3 amd BIG-IQ 7.1.0.x before 7.1.0.3 and 7.0.0.x before 7.0.0.2, the iControl REST interface has an unauthenticated remote command execution vulnerability. Note: Software versions which have reached End of Software Development (EoSD) are not evaluated.",
  "cwe": "CWE-918",
  "cvss_by_source": {
    "cisa-adp": 9.8
  },
  "repos": [
    {
      "repo": "Udyz/CVE-2021-22986-SSRF2RCE",
      "url": "https://github.com/Udyz/CVE-2021-22986-SSRF2RCE",
      "created_at": null,
      "first_seen_at": "2026-11-14T23:12:49.679Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "saucer-man/exploit",
      "url": "https://github.com/saucer-man/exploit",
      "created_at": "2021-02-01T12:04:43Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 11,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-09-20T13:25:02Z"
    },
    {
      "repo": "dorkerdevil/CVE-2021-22986-Poc",
      "url": "https://github.com/dorkerdevil/CVE-2021-22986-Poc",
      "created_at": "2021-03-17T05:02:45Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 51,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-11-11T08:21:33Z"
    },
    {
      "repo": "S1xHcL/f5_rce_poc",
      "url": "https://github.com/S1xHcL/f5_rce_poc",
      "created_at": "2021-03-19T18:50:22Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 26,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-02-19T01:53:31Z"
    },
    {
      "repo": "Osyanina/westone-CVE-2021-22986-scanner",
      "url": "https://github.com/Osyanina/westone-CVE-2021-22986-scanner",
      "created_at": "2021-03-20T07:45:38Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-02-03T06:55:56Z"
    },
    {
      "repo": "safesword/F5_RCE",
      "url": "https://github.com/safesword/F5_RCE",
      "created_at": "2021-03-21T07:40:51Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 4,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 30 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2021-03-03T08:30:07Z"
    },
    {
      "repo": "microvorld/CVE-2021-22986",
      "url": "https://github.com/microvorld/CVE-2021-22986",
      "created_at": "2021-03-22T02:46:33Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-07-13T08:54:15Z"
    },
    {
      "repo": "Al1ex/CVE-2021-22986",
      "url": "https://github.com/Al1ex/CVE-2021-22986",
      "created_at": "2021-03-22T07:13:50Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 90,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-04-07T15:12:05Z"
    },
    {
      "repo": "kiri-48/CVE-2021-22986",
      "url": "https://github.com/kiri-48/CVE-2021-22986",
      "created_at": "2021-03-22T08:19:11Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-09-07T04:45:34Z"
    },
    {
      "repo": "qdtad/CVE-2021-22986",
      "url": "https://github.com/qdtad/CVE-2021-22986",
      "created_at": "2021-03-22T08:19:11Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-09-07T04:45:34Z"
    },
    {
      "repo": "ZephrFish/CVE-2021-22986_Check",
      "url": "https://github.com/ZephrFish/CVE-2021-22986_Check",
      "created_at": "2021-03-23T02:04:39Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 3,
      "is_poc": "yes",
      "kind": "scanner",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-10-26T19:01:23Z"
    },
    {
      "repo": "yaunsky/CVE-202122986-EXP",
      "url": "https://github.com/yaunsky/CVE-202122986-EXP",
      "created_at": "2021-03-26T03:32:06Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 8,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-03-05T10:11:18Z"
    },
    {
      "repo": "Tas9er/CVE-2021-22986",
      "url": "https://github.com/Tas9er/CVE-2021-22986",
      "created_at": "2021-03-29T05:56:21Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 13,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-10-28T08:45:32Z"
    },
    {
      "repo": "dotslashed/CVE-2021-22986",
      "url": "https://github.com/dotslashed/CVE-2021-22986",
      "created_at": "2021-03-29T13:01:08Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-10-26T11:59:11Z"
    },
    {
      "repo": "DDestinys/CVE-2021-22986",
      "url": "https://github.com/DDestinys/CVE-2021-22986",
      "created_at": "2022-04-01T02:02:33Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-10-29T06:05:22Z"
    },
    {
      "repo": "AnonymouID/POC",
      "url": "https://github.com/AnonymouID/POC",
      "created_at": "2022-04-25T03:21:51Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 7 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2022-04-25T03:17:17Z"
    },
    {
      "repo": "west9b/F5-BIG-IP-POC",
      "url": "https://github.com/west9b/F5-BIG-IP-POC",
      "created_at": "2022-05-28T13:30:22Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 10,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-04-12T13:26:29Z"
    },
    {
      "repo": "amitlttwo/CVE-2021-22986",
      "url": "https://github.com/amitlttwo/CVE-2021-22986",
      "created_at": "2023-02-07T11:19:20Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-09-24T17:06:46Z"
    },
    {
      "repo": "huydung26/CVE-2021-22986",
      "url": "https://github.com/huydung26/CVE-2021-22986",
      "created_at": "2023-12-28T01:49:24Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-02-09T04:35:49Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/49738",
      "source": "exploitdb",
      "title": "F5 BIG-IP 16.0.x - iControl REST Remote Code Execution (Unauthenticated)",
      "published_at": "2021-04-02T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/f5_icontrol_rest_ssrf_rce.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: F5 iControl REST Unauthenticated SSRF Token Generation RCE (exploit/linux/http/f5_icontrol_rest_ssrf_rce)",
      "published_at": "2021-03-31T19:02:32Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-22986.yaml",
      "source": "nuclei",
      "title": "nuclei template: F5 iControl REST - Remote Command Execution",
      "published_at": "2021-03-21T19:49:30Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/mgmt/tm/util/bash",
      "headers": [
        {
          "name": "Authorization",
          "value": "Basic YWRtaW46QVNhc1M="
        },
        {
          "name": "Authorization",
          "value": "Basic YWRtaW46YWRtaW4="
        },
        {
          "name": "Cache-Control",
          "value": "max-age=0"
        },
        {
          "name": "Upgrade-Insecure-Requests",
          "value": "1"
        },
        {
          "name": "X-F5-Auth-Token",
          "value": ""
        },
        {
          "name": "X-F5-Auth-Token",
          "value": "{var}"
        }
      ],
      "body_markers": [
        "\"command\":\"run\"",
        "\"utilCmdArgs\":\"-c id\"",
        "\"utilCmdArgs\":\"-c whoami\"",
        "\"utilCmdArgs\":\"-c '{var}'\"",
        "command=run",
        "utilCmdArgs=-c '"
      ],
      "content_type": "application/json",
      "ports": [
        8080,
        8100,
        8443
      ],
      "user_agents": [
        "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:76.0) Gecko/20100101 Firefox/76.0",
        "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36",
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36",
        "hello-world"
      ],
      "protocol": "https",
      "repos": [
        "Al1ex/CVE-2021-22986",
        "DDestinys/CVE-2021-22986",
        "S1xHcL/f5_rce_poc",
        "ZephrFish/CVE-2021-22986_Check",
        "amitlttwo/CVE-2021-22986",
        "dorkerdevil/CVE-2021-22986-Poc",
        "huydung26/CVE-2021-22986",
        "kiri-48/CVE-2021-22986",
        "microvorld/CVE-2021-22986",
        "qdtad/CVE-2021-22986",
        "safesword/F5_RCE",
        "yaunsky/CVE-202122986-EXP"
      ],
      "repo_count": 12,
      "confidence": 0.85,
      "evidence": [
        "Al1ex/CVE-2021-22986/CVE_2021_22986.py:42",
        "Al1ex/CVE-2021-22986/CVE_2021_22986.py:61",
        "Al1ex/CVE-2021-22986/CVE_2021_22986.py:84",
        "Al1ex/CVE-2021-22986/newpoc.py:48",
        "Al1ex/CVE-2021-22986/newpoc.py:53",
        "Al1ex/CVE-2021-22986/newpoc.py:73",
        "DDestinys/CVE-2021-22986/CVE-2021-22986.py:35",
        "S1xHcL/f5_rce_poc/f5_rce.py:24",
        "S1xHcL/f5_rce_poc/f5_rce.py:45",
        "S1xHcL/f5_rce_poc/f5_rce.py:62",
        "ZephrFish/CVE-2021-22986_Check/Checker.py:43",
        "amitlttwo/CVE-2021-22986/cve-2021-22986.py:42",
        "amitlttwo/CVE-2021-22986/cve-2021-22986.py:61",
        "amitlttwo/CVE-2021-22986/cve-2021-22986.py:84",
        "amitlttwo/CVE-2021-22986/new-poc.py:48",
        "amitlttwo/CVE-2021-22986/new-poc.py:53",
        "amitlttwo/CVE-2021-22986/new-poc.py:73",
        "dorkerdevil/CVE-2021-22986-Poc/README.md:10",
        "huydung26/CVE-2021-22986/CVE-2021-22986.py:62",
        "huydung26/CVE-2021-22986/CVE-2021-22986.py:66",
        "huydung26/CVE-2021-22986/CVE-2021-22986.py:67",
        "huydung26/CVE-2021-22986/CVE-2021-22986.py:72",
        "huydung26/CVE-2021-22986/CVE-2021-22986.py:92",
        "huydung26/CVE-2021-22986/CVE-2021-22986.py:94",
        "huydung26/CVE-2021-22986/CVE-2021-22986.py:98",
        "kiri-48/CVE-2021-22986/exploit.py:23",
        "kiri-48/CVE-2021-22986/exploit.py:44",
        "microvorld/CVE-2021-22986/CVE-2021-22986.py:23",
        "microvorld/CVE-2021-22986/CVE-2021-22986.py:28",
        "microvorld/CVE-2021-22986/CVE-2021-22986.py:45",
        "qdtad/CVE-2021-22986/exploit.py:23",
        "qdtad/CVE-2021-22986/exploit.py:44",
        "safesword/F5_RCE/f5_rce.py:24",
        "yaunsky/CVE-202122986-EXP/F5 BIG-IP 远程命令执行漏洞（CVE-2021-22986）.md:24",
        "yaunsky/CVE-202122986-EXP/README.md:24"
      ]
    },
    {
      "method": "POST",
      "path_template": "/mgmt/shared/authn/login",
      "body_markers": [
        "\"bigipAuthCookie\":\"\"",
        "\"username\":\"admin\"",
        "\"loginReference\"",
        "\"userReference\"",
        "\"bigipAuthCookie\"",
        "\"link\":\"http://localhost/mgmt/tm/access/bundle-install-tasks\"",
        "\"filePath\":\"`id`\""
      ],
      "content_type": "application/json",
      "ports": [
        8080,
        8100
      ],
      "user_agents": [
        "hello-world"
      ],
      "protocol": "https",
      "repos": [
        "Al1ex/CVE-2021-22986",
        "amitlttwo/CVE-2021-22986",
        "dorkerdevil/CVE-2021-22986-Poc",
        "huydung26/CVE-2021-22986",
        "kiri-48/CVE-2021-22986",
        "microvorld/CVE-2021-22986",
        "qdtad/CVE-2021-22986"
      ],
      "repo_count": 7,
      "confidence": 0.7,
      "evidence": [
        "Al1ex/CVE-2021-22986/newpoc.py:32",
        "amitlttwo/CVE-2021-22986/new-poc.py:32",
        "dorkerdevil/CVE-2021-22986-Poc/README.md:8",
        "huydung26/CVE-2021-22986/CVE-2021-22986.py:41",
        "huydung26/CVE-2021-22986/CVE-2021-22986.py:45",
        "kiri-48/CVE-2021-22986/exploit.py:10",
        "microvorld/CVE-2021-22986/CVE-2021-22986.py:10",
        "qdtad/CVE-2021-22986/exploit.py:10"
      ]
    },
    {
      "method": "POST",
      "path_template": "//{var}/mgmt/tm/util/bash",
      "headers": [
        {
          "name": "Authorization",
          "value": "Basic YWRtaW46QVNhc1M="
        },
        {
          "name": "X-F5-Auth-Token",
          "value": ""
        }
      ],
      "body_markers": [
        "\"command\":\"run\"",
        "\"utilCmdArgs\":\"-c id\""
      ],
      "content_type": "application/json",
      "protocol": "https",
      "repos": [
        "yaunsky/CVE-202122986-EXP"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "yaunsky/CVE-202122986-EXP/CVE202122986.py:23",
        "yaunsky/CVE-202122986-EXP/CVE202122986.py:62"
      ]
    },
    {
      "method": "POST",
      "path_template": "/mgmt/tm/access/bundle-install-tasks",
      "body_markers": [
        "\"filePath\":\"`id`\""
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        8100
      ],
      "protocol": "https",
      "repos": [
        "dorkerdevil/CVE-2021-22986-Poc"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "dorkerdevil/CVE-2021-22986-Poc/README.md:6"
      ]
    },
    {
      "method": "POST",
      "path_template": "/tmui/login.jsp",
      "headers": [
        {
          "name": "Authorization",
          "value": "Basic YWRtaW46YWRtaW4="
        },
        {
          "name": "X-F5-Auth-Token",
          "value": ""
        }
      ],
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "DDestinys/CVE-2021-22986"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "DDestinys/CVE-2021-22986/CVE-2021-22986.py:36"
      ]
    }
  ],
  "rules": []
}
