<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>log4j Archives &#8902; CyberHood Sentinel</title>
	<atom:link href="https://hoodguy.net/tag/log4j/feed/" rel="self" type="application/rss+xml" />
	<link>https://hoodguy.net/tag/log4j/</link>
	<description>Guarding the Digital Frontier</description>
	<lastBuildDate>Sat, 18 Dec 2021 18:19:04 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.8</generator>

<image>
	<url>https://hoodguy.net/wp-content/uploads/2024/05/cropped-DALL·E-2024-05-31-00.53.01-A-single-logo-for-Hoodguy-website-featuring-an-image-of-a-hacker-with-a-hoodie-and-the-tagline-We-Write.-The-logo-should-be-serious-in-style-highl-32x32.webp</url>
	<title>log4j Archives &#8902; CyberHood Sentinel</title>
	<link>https://hoodguy.net/tag/log4j/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>All Log4j vulnerabilities in a Nutshell</title>
		<link>https://hoodguy.net/all-log4j-vulnerabilities-in-a-nutshell/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=all-log4j-vulnerabilities-in-a-nutshell</link>
					<comments>https://hoodguy.net/all-log4j-vulnerabilities-in-a-nutshell/#respond</comments>
		
		<dc:creator><![CDATA[TeamHood]]></dc:creator>
		<pubDate>Sat, 18 Dec 2021 18:19:03 +0000</pubDate>
				<category><![CDATA[News]]></category>
		<category><![CDATA[log4j]]></category>
		<category><![CDATA[vulnerabilities]]></category>
		<guid isPermaLink="false">https://hoodguy.net/?p=855</guid>

					<description><![CDATA[<p>Every security administrator nightmare critical log4j zero-day is a household name by now. Dubbed &#8216;Log4Shell,&#8217; the vulnerability has already set the internet on fire. Thus far, the log4j vulnerability, tracked as CVE-2021-44228, has been abused by all kinds of threat actors from state-backed hackers to ransomware gangs and others to inject Monero miners on vulnerable systems. Log4j usage is rampant among many software products and [&#8230;]</p>
<p>The post <a href="https://hoodguy.net/all-log4j-vulnerabilities-in-a-nutshell/">All Log4j vulnerabilities in a Nutshell</a> appeared first on <a href="https://hoodguy.net">CyberHood Sentinel</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Every security administrator nightmare critical log4j zero-day is a household name by now. Dubbed &#8216;Log4Shell,&#8217; the vulnerability has already set the internet on fire.</p>



<p class="wp-block-paragraph">Thus far, the log4j vulnerability, tracked as CVE-2021-44228, has been abused by all kinds of threat actors from state-backed hackers to ransomware gangs and others to inject Monero miners on vulnerable systems.</p>



<p class="wp-block-paragraph">Log4j usage is rampant among many software products and multiple vendor advisories have since surfaced. And, it now seems, &#8216;logback&#8217; isn&#8217;t all that immune either.</p>



<p class="wp-block-paragraph">Given Log4j&#8217;s vast usage&nbsp;in the majority of Java applications, Log4Shell soon&nbsp;turned into a&nbsp;<a href="https://www.bleepingcomputer.com/news/security/new-zero-day-exploit-for-log4j-java-library-is-an-enterprise-nightmare/" target="_blank" rel="noreferrer noopener">nightmare for enterprises and governments</a>&nbsp;worldwide.</p>



<p class="wp-block-paragraph">Below are the CVEs&nbsp;in the order that they emerged that you should know about:</p>



<ul class="wp-block-list"><li><a href="https://nvd.nist.gov/vuln/detail/CVE-2021-44228" target="_blank" rel="noreferrer noopener">CVE-2021-44228</a><strong> [Critical]</strong>: The original &#8216;Log4Shell&#8217; vulnerability is an <a href="https://cwe.mitre.org/data/definitions/502.html" target="_blank" rel="noreferrer noopener">untrusted deserialization</a> flaw. Rated critical in severity, this one scores a 10 on the <a href="https://www.first.org/cvss/" target="_blank" rel="noreferrer noopener">CVSS</a> scale and grants remote code execution (RCE) abilities to unauthenticated attackers, allowing complete system takeover.<br><br>Reported by Chen Zhaojun of Alibaba Cloud Security Team to Apache on November 24th, CVE-2021-44228 impacts the default configurations of multiple Apache frameworks, including Apache Struts2, Apache Solr, Apache Druid, Apache Flink, and others.<br><br>Being the most dangerous of them all, this vulnerability lurks in the <a href="https://search.maven.org/artifact/org.apache.logging.log4j/log4j-core" target="_blank" rel="noreferrer noopener">log4j-core</a> component, limited to 2.x versions: from 2.0-beta9 up to and including 2.14.1. A fix for Log4Shell was rolled out in version 2.15.0 but deemed incomplete (keep reading).<br></li><li><a href="https://nvd.nist.gov/vuln/detail/CVE-2021-45046" target="_blank" rel="noreferrer noopener">CVE-2021-45046</a> [<strong>Critical</strong>, previously Low]: This one is a Denial of Service (DoS) flaw scoring a <s>3.7</s> 9.0. The flaw arose as a result of an incomplete fix that went into 2.15.0 for CVE-2021-44228. While the fix applied to 2.15.0 did largely resolve the flaw, that wasn&#8217;t quite the case for certain non-default configurations.   <br><br>Log4j 2.15.0 makes &#8220;a best-effort attempt&#8221; to restrict JNDI LDAP lookups to <em>localhost</em> by default. But, attackers who have control over the Thread Context Map (MDC) input data can craft malicious payloads via the JNDI Lookup patterns to cause DoS attacsk. This applies to non-default configurations in which a non-default Pattern Layout using either a Context Lookup, e.g. $${ctx:loginId}, or a Thread Context Map pattern (%X, %mdc, or %MDC).  <br><br>Log4j 2.16.0 fixes this issue by removing support for message lookup patterns and disabling JNDI functionality by default,&#8221; states the NVD advisory. For those on 2.12.1 branch, a fix was backported into 2.12.2.<br></li><li><a href="https://nvd.nist.gov/vuln/detail/CVE-2021-4104" target="_blank" rel="noreferrer noopener">CVE-2021-4104</a><strong>[High]</strong>: Did we say Log4j 2.x versions were vulnerable? What about Log4j 1.x? <br>While previously thought to be safe, Log4Shell found a way to lurk in the older Log4j too. Essentially, non-default configuration of Log4j 1.x instances using the <em>JMSAppender </em>class also become susceptible to the untrusted deserialization flaw.<br><br>Although a less severe variant of CVE-2021-44228, nonetheless, this CVE impacts all versions of the <a href="https://search.maven.org/artifact/log4j/log4j" target="_blank" rel="noreferrer noopener">log4j:log4j</a> and <a href="https://mvnrepository.com/artifact/org.apache.log4j/log4j" target="_blank" rel="noreferrer noopener">org.apache.log4j:log4j</a> components for which only 1.x releases exist. Because these are <a href="https://logging.apache.org/log4j/1.2/" target="_blank" rel="noreferrer noopener">end-of-life</a> versions, a fix for 1.x branch does not exist anywhere, and one should upgrade to <em>log4j-core</em> 2.16.0.<br></li><li><a href="https://nvd.nist.gov/vuln/detail/CVE-2021-42550" target="_blank" rel="noreferrer noopener">CVE-2021-42550</a><strong> [Moderate]:</strong> This is a vulnerability in the Logback logging framework. A successor to the Log4j 1.x library, Logback claims to pick up &#8220;where log4j 1.x leaves off.&#8221;<br><br>Up until last week, Logback also <a href="https://archive.md/QkzIy" target="_blank" rel="noreferrer noopener">bragged</a> that being &#8220;unrelated to log4j 2.x, [logback] does not share its vulnerabilities.&#8221;<br><br>That assumption quickly faded when CVE-2021-4104 was discovered to impact Log4j 1.x as well, and the possibility of potential impact to Logback was <a href="https://jira.qos.ch/browse/LOGBACK-1591" target="_blank" rel="noreferrer noopener">assessed</a>. Newer Logback versions, 1.3.0-alpha11 and 1.2.9 addressing this less severe vulnerability have now been <a href="https://search.maven.org/artifact/ch.qos.logback/logback-classic" target="_blank" rel="noreferrer noopener">released</a>.<br> </li><li>CVE-2021-45105 <strong>[High]</strong>: Log4j 2.16.0 was found out to be vulnerable to a DoS flaw rated &#8216;High&#8217; in severity. Apache has since released a log4j 2.17.0 version fixing the CVE. </li></ul>



<p class="wp-block-paragraph"></p>



<h2 class="wp-block-heading">Patch Log4j 2.15: DNS exfiltration &amp; RCE possible</h2>



<p class="wp-block-paragraph">Log4j 2.15.0 might contain even more severe vulnerabilities than the ones discovered so far, which is why 2.16.0 is by far a safer bet.</p>



<p class="wp-block-paragraph">Because of CVE-2021-45046 described above, the maximum impact from the flaw initially appeared to be DoS, but that assumption is evolving.</p>



<p class="wp-block-paragraph">Cloud security firm Praetorian demonstrated how Log4j 2.15.0 versions could still be abused for DNS-based data exfiltration from external hosts, and is working with Apache towards a coordinated disclosure.</p>



<p class="wp-block-paragraph">As Bleeping computer reports &#8221; The Praetorian <a href="https://www.praetorian.com/blog/log4j-2-15-0-stills-allows-for-exfiltration-of-sensitive-data/" target="_blank" rel="noreferrer noopener">blog post</a> is in response to CVE-2021-45046, which applies to Log4j version 2.15. The CVE description states that—when using a specific type of Pattern Layout—this vulnerability can lead to a denial of service. The reason they state it is DoS only is due to the <em>localhost</em> allowlist,&#8221; Weems tells BleepingComputer.</p>



<p class="wp-block-paragraph">&#8220;We&#8217;ve developed a bypass for this &#8216;localhost&#8217; allowlist and sent the details to Apache. At minimum, this means systems that are vulnerable to CVE-2021-45046 are not just vulnerable to DoS, but also DNS exfil of potentially sensitive environment variables. &#8220;</p>



<p class="wp-block-paragraph">The worst possible scenario resulting from Log4j 2.15.0 is yet to be fully determined, but suffice to say, it doesn&#8217;t seem like it&#8217;s just limited to DoS.</p>
<p>The post <a href="https://hoodguy.net/all-log4j-vulnerabilities-in-a-nutshell/">All Log4j vulnerabilities in a Nutshell</a> appeared first on <a href="https://hoodguy.net">CyberHood Sentinel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://hoodguy.net/all-log4j-vulnerabilities-in-a-nutshell/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
