One Article Review

Accueil - L'article:
Source Fortinet.webp Fortinet ThreatSignal
Identifiant 3791015
Date de publication 2021-12-13 09:00:42 (vue: 2021-12-13 21:05:26)
Titre Apache Log4J Remote Code Execution Vulnerability (CVE-2021-44228)
Texte FortiGuard Labs is aware of a remote code execution vulnerability in Apache Log4j. Log4j is a Java based logging audit framework within Apache. Apache Log4j2 2.14.1 and below are susceptible to a remote code execution vulnerability where a remote attacker can leverage this vulnerability to take full control of a vulnerable machine.This vulnerability is also known as Log4shell and has the CVE assignment (CVE-2021-44228). FortiGuard Labs will be monitoring this issue for any further developments.What are the Technical Details?Apache Log4j2 versions 2.14.1 and below Java Naming and Directory Interface (JNDI) features do not protect against attacker controlled LDAP and other JNDI related endpoints. A remote code execution vulnerability exists where attacker controlled log messages or log message parameters are able to execute arbitrary code loaded from LDAP servers when message lookup substitution is enabled.What Versions of Software are Affected?Apache Log4J versions 2.0-beta9 to 2.14.1 are affected.Is there a Patch or Security Update Available?Yes, moving to version 2.15.0 mitigates this issue. Further mitigation steps are available from Apache as well. Please refer to the "Apache Log4j Security Vulnerabilities" in the APPENDIX for details.What is the CVSS Score?10 (CRITICAL)What is Exactly Apache Log4j?According to Apache:Log4j is a tool to help the programmer output log statements to a variety of output targets. In case of problems with an application, it is helpful to enable logging so that the problem can be located. With log4j it is possible to enable logging at runtime without modifying the application binary. The log4j package is designed so that log statements can remain in shipped code without incurring a high performance cost. It follows that the speed of logging (or rather not logging) is capital.At the same time, log output can be so voluminous that it quickly becomes overwhelming. One of the distinctive features of log4j is the notion of hierarchical loggers. Using loggers it is possible to selectively control which log statements are output at arbitrary granularity.What is the Status of Protections?FortiGuard Labs has IPS coverage in place for this issue as (version 19.215):Apache.Log4j.Error.Log.Remote.Code.ExecutionWhile we urge customers to patch vulnerable systems as soon as possible, FortiEDR monitors and protects against payloads delivered by exploitation of the vulnerability. The picture below demonstrates blocking of a PowerShell payload used as part of CVE-2021-44228 exploitation:Detection of exploitable systems is possible via FortiEDR threat hunting by searching for loading of vulnerable log4j versions. This is an example of loading a vulnerable log4j library by a Apache Tomcat Server:Any Suggested Mitigation?According to Apache, the specific following mitigation steps are available:In releases >=2.10, this behavior can be mitigated by setting either the system property log4j2.formatMsgNoLookups or the environment variable LOG4J_FORMAT_MSG_NO_LOOKUPS to "true." For releases from 2.0-beta9 to 2.10.0, the mitigation is to remove the JndiLookup class from the classpath: zip -q -d log4j-core-*.jar org/apache/logging/log4j/core/lookup/JndiLookup.classFortiGuard Labs recommends organizations affected by CVE-2021-44228 to update to the latest version of 2.15.0 immediately. Apache also recommends that users running versions 1.0 or lower install version 2.0 or higher as 1.0 has reached end of life in August 2015 for Log4j to obtain security updates. Binary patches are never provided and must be compiled. For further details, refer to the "Apache Log4j Security Vulnerabilities" in the APPENDIX.If this is not possible, various counter measures such as isolating machines behind a firewall or VPN that are public facing is recommended.
Notes ★★★★★
Envoyé Oui
Condensat 2015 2021 215 44228 :apache >=2 able according affected against also any apache apache:log4j appendix application arbitrary are assignment attacker audit august available available:in aware based becomes behavior behind below beta9 binary blocking can capital case class classfortiguard classpath: code compiled control controlled core cost counter coverage critical customers cve cvss delivered demonstrates designed details developments directory distinctive either enable enabled end endpoints environment error exactly example execute execution executionwhile exists exploitable exploitation exploitation:detection facing features firewall following follows format formatmsgnolookups fortiedr fortiguard framework from full further granularity has help helpful hierarchical high higher hunting immediately incurring install interface ips isolating issue jar java jndi jndilookup known labs latest ldap leverage library life loaded loading located log log4j log4j2 log4shell loggers logging lookup lookups lower machine machines measures message messages mitigated mitigates mitigation modifying monitoring monitors moving msg must naming never not notion obtain one org/apache/logging/log4j/core/lookup/jndilookup organizations other output overwhelming package parameters part patch patches payload payloads performance picture place please possible powershell problem problems programmer property protect protections protects provided public quickly rather reached recommended recommends refer related releases remain remote remove running runtime same score searching security selectively server:any servers setting shipped software soon specific speed statements status steps substitution such suggested susceptible system systems take targets technical threat time tomcat tool true update updates urge used users using variable variety various version versions voluminous vpn vulnerabilities vulnerability vulnerable well what when where which will within without zip
Tags Tool Vulnerability Threat
Stories
Move


L'article ne semble pas avoir été repris aprés sa publication.


L'article ne semble pas avoir été repris sur un précédent.
My email: