Log4j Vulnerability - What do you need to know?


Userlevel 7
Badge +20

Hi Everyone,

 

Vulnerabilities wait for no-one, so whilst some are enjoying a weekend off, others are patching to protect against the latest risk. Log4j.

 

This post has two objectives. Firstly I’m sharing my write up regarding the issues I’m aware DO have an impact to VMware, secondly what does this mean to the Veeam products…

 

First up: VMware

I don’t often dedicate a blog post to a particular security vulnerability, but since it has scored a perfect 10 CVE rating, it’s important to be aware ASAP.

VMware have identified multiple products that utilise the Apache technology that are vulnerable to the Log4j vulnerability.

 

What is this “Log4j” vulnerability?

A Remote Code Execution (RCE) has been discovered in Apache’s Log4j Java Library. It is possible to insert maliciously crafted strings into fields that will be logged, which then leverages the “message lookup substitution” function of Log4j to execute code. This can be used to deploy and execute payloads, or execute commands at a heightened privilege level.

This is trivial to reproduce now the vulnerability has been confirmed to exist, hence the high score. This vulnerability isn’t exclusive to VMware.

 

What can I do?

Firstly, keep an eye on this VMware page for the latest updates and patch your systems as updates become available. It’s also a good idea to firewall your systems to prevent unauthorised access to limit any attack footprint. But restricting the footprint is of no substitute for a patch.

Finally, if you’re one of those people living on the edge with an externally accessible vCenter, odds are good you’ve already been compromised, get it off the internet now and check!

 

Second, What about Veeam?

I posted on the Veeam R&D forum this morning regarding Veeam’s vulnerability status regarding this, and thankfully it appears Apache isn’t used by any Veeam product, however the Veeam security team are still investigating.

 

I’ll cross-post any important updates but you can see the thread yourself here.

 

Hopefully Veeam won’t be impacted by this one as it’s honestly one of the scarier vulnerabilities I’ve ever seen due to how widespread this is.

 

Finally, a shout-out to @regnor as he was going to post about this himself if I hadn’t already! More eyes on these topics is always a good thing and I’m sure he’ll follow up with any insights that I’ve missed!

 

—UPDATE—

 

Veeam have confirmed via the R&D forum and via a KB that none of their products are impacted (thanks @Mildur )

https://www.veeam.com/kb4254


32 comments

Userlevel 7
Badge +13

If interested: Here is a list of all HPE products NOT affected:

https://support.hpe.com/hpesc/public/docDisplay?docId=emr_na-a00120086en_us

Here is a list of all affected HPE products and versions:

https://support.hpe.com/hpesc/public/docDisplay?nlaid=HPGL_ALERTS_3009925&docId=emr_na-hpesbgn04215en_us

Userlevel 7
Badge +13

VMware started to offer fixes for their VDI products:

https://www.vmware.com/security/advisories/VMSA-2021-0028.html

They also updated their workaround KB-article for the new finding, @MicoolPaul mentioned:

https://kb.vmware.com/s/article/87081. There is a new script to remove Java classes.

Userlevel 7
Badge +20

Thanks for sharing @marcofabbri, the more people know; the better they can apply the right mitigations.

 

Upon further review the second patch can cause DOS and RCE, but RCE so far has only been proven via macOS it seems.

Userlevel 7
Badge +13

Not sure if helpful, but INE posted this video about how log4j is exploited and how can be mitigated (double patch, the only first still permit DOS)

 

Userlevel 7
Badge +11

Great post @MicoolPaul ! It has been a hell of a week regarding this issue, to mitigate the infrastructure of the customers...

Userlevel 7
Badge +20

Unfortunately, there’s a new second CVE that’s need a new patch.

https://nvd.nist.gov/vuln/detail/CVE-2021-45046

Yes, log4j 2.16.0 is needed now. And who knows if this is the last issue :sunglasses:

Unfortunately this is getting worse. At first there was concern this would result in Denial of Service attacks, now the CVE severity is expected to be increased from 3.7 to around 9 as limited Remote Code Execution (RCE) has been discovered.

Userlevel 3

:warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning:

Nearly full list of whats vendor/products are affected:

https://github.com/NCSC-NL/log4shell/tree/main/software

 :warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning:

grazie Signore

Userlevel 3

Link for a Linux script that, amongst other things, checks inside of Java files:
https://github.com/rubo77/log4j_checker_beta

Userlevel 7
Badge +13

:warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning:

Nearly full list of whats vendor/products are affected:

https://github.com/NCSC-NL/log4shell/tree/main/software

 :warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning::warning:

Userlevel 3

Red Hat products not affected:
https://access.redhat.com/security/vulnerabilities/RHSB-2021-009

Userlevel 7
Badge +13

If interested: Here is a list of all HPE products NOT affected:

https://support.hpe.com/hpesc/public/docDisplay?docId=emr_na-a00120086en_us

Userlevel 7
Badge +17

Unfortunately, there’s a new second CVE that’s need a new patch.

https://nvd.nist.gov/vuln/detail/CVE-2021-45046

Yes, log4j 2.16.0 is needed now. And who knows if this is the last issue :sunglasses:

Userlevel 7
Badge +17

hi use this script for scan my Winzoz server :D

ScriptsAndAutomationPolicies/get-log4jrcevulnerability.ps1 at master · N-able/ScriptsAndAutomationPolicies · GitHub

 

Anyone can share a good scripts for Nix enviroment?

Thx

Very nice script :thumbsup_tone2:

Userlevel 7
Badge +13

Unfortunately, there’s a new second CVE that’s need a new patch.

https://nvd.nist.gov/vuln/detail/CVE-2021-45046

Userlevel 7
Badge +7

hi use this script for scan my Winzoz server :D

ScriptsAndAutomationPolicies/get-log4jrcevulnerability.ps1 at master · N-able/ScriptsAndAutomationPolicies · GitHub

 

Anyone can share a good scripts for Nix enviroment?

Thx

Userlevel 7
Badge +7

A KB article is now online:

https://www.veeam.com/kb4254

Thanks for your update!:hugging:

Userlevel 7
Badge +12

A KB article is now online:

https://www.veeam.com/kb4254

Userlevel 7
Badge +4

Thanks for sharing @MicoolPaul . I saw a lot of vendors are informing on this Vulnerability. Cisco, HPE, VMware and so on… 

Userlevel 7
Badge +13

@MicoolPaul

Anton has confirmed that the security teams has finished the investigations.

Veeams products are not affected.

 

https://forums.veeam.com/post438363.html#p438363

Thanks for update, @Mildur ! Great news!

Userlevel 7
Badge +7

VMware released workaround instructions to address CVE-2021-44228 in vCenter Server and vCenter Cloud Gateway. Some of my customers applied this workaround.

https://kb.vmware.com/s/article/87081

Userlevel 7
Badge +7

@MicoolPaul

Anton has confirmed that the security teams has finished the investigations.

Veeams products are not affected.

 

https://forums.veeam.com/post438363.html#p438363

Thanks for your confirmation.:grin:

Userlevel 7
Badge +13

@MicoolPaul

Anton has confirmed that the security teams has finished the investigations.

Veeams products are not affected.

 

https://forums.veeam.com/post438363.html#p438363

VERY GOOD.

Userlevel 7
Badge +12

@MicoolPaul 

Anton has confirmed that the security teams has finished the investigations.

Veeams products are not affected.

 

https://forums.veeam.com/post438363.html#p438363

Userlevel 7
Badge +12

If you use a Cloudian as the capacity tier, they have released a Patch:

[SECURITY] Cloudian HyperStore - Log4j vulnerability CVE-2021-44228 (force.com)

Security patch for CVE-2021-44228 (Log4j vulnerability) (force.com)

Userlevel 7
Badge +13

WOW, this issue will have unimaginable effects! For example Apache and Java can suffer from this issue! So many parts of the internet will be affected! 

Comment