LogicMonitor collectors running vulnerable version of Log4j are affected by "Log4shell" CVE-2021-44228 vulnerability?
LogicMonitor collectors running vulnerable version of Log4j are affected by "Log4shell" CVE-2021-44228 vulnerability?
If no, can you please explain how?
Umesh_Parab
Posted 4 years ago·Last reply 4 years ago
29 comments
FrankG
·4 years agoFolks - We're going to need YAP (Yet-Another-Patch) to get log4j 2.17.1 packages out to Collectors.
Straight from the horses' err... mouth....
https://logging.apache.org/log4j/2.x/
FYI
alan
·4 years agoMy mistake, was using the locate command and didn't realize the locate DB does not automatically update. log4j is at 2.17 after the linux collector update.
Mosh
·4 years agoMine are all 2.17 (all mine are Windows):
alan
·4 years ago/usr/local/logicmonitor/agent/lib/log4j-1.2-api-2.13.2.jar
/usr/local/logicmonitor/agent/lib/log4j-api-2.13.2.jar
/usr/local/logicmonitor/agent/lib/log4j-core-2.13.2.jar
Mosh
·4 years agoHi @alan, where are you seeing JARs for 2.13?
alan
·4 years agoHas anyone been able to confirm log4j has updated to 2.17? Linux collectors on 31.002 are still showing 2.13 jars.
Mike Moniz
·4 years agoLooks like LM just released 31.002 with Log4J 2.17, https://www.logicmonitor.com/support/gd-collector-31002
nolimit99rbs
·4 years ago2nd this. Though the vulnerability is less severe, does LogicMonitor plan to update to 2.17 given the high visibility of these vulnerabilities? If so, when can we expect an updated collector?
Thank you
Mosh
·4 years ago@Michael Rodrigues@Stuart Weenig
For info, Log4J 2.16 also have a exploitable vulnerability:
https://nvd.nist.gov/vuln/detail/CVE-2021-45105
https://logging.apache.org/log4j/2.x/security.html
We are upgrading all of our own enterprise products to use 2.17. Will LogicMonitor be upgrading to 2.17?
Michael Rodrigues
·4 years agoGD 31.001 is now available in portals. It has log4j 2.16 to mitigate the log4shell vulnerabilities.
We'll continue to update our official communication as things progress: https://www.logicmonitor.com/support/log4shell-security-vulnerability-cve-2021-44228
Thanks for your patience!
Mosh
·4 years agoThanks @Michael Rodrigues.
We would much prefer that LogicMonitor updates the log4J libs in the collectors to 2.16 minimum as there are also vulnerabilities in 2.15.
FrankG
·4 years agoThanks @Michael
Michael Rodrigues
·4 years agoWe're working on a patched version of the collector with updated log4j, it's scheduled to drop soon.
Official communication is here and will be updated as we know more.
FrankG
·4 years agoOr the removal of the log4j libraries (as you mention in another post)?
FrankG
·4 years agoThere are end customers of ours disabling Collectors due to this issue. Any chance that a patch will become available with the updated log4j libraries in it?
LM User
·4 years agoI believe this is the highest priority activity for us right now. It should drop soon; i believe the decision has been to remove it entirely since it's not being used anyway. I understood log4j to be included in the Collector but not actually used in any capacity. Most vulnerability scanners can detect whether or not log4j is present, but not if the vulnerability can actually be exploited. So while the current version of the Collector may show up as containing log4j, that doesn't necessarily mean that the vulnerability exists and can be exploited. To be clear, a new collector version will be the third method of protecting against any log4j exploitation on the Collectors. The second is the configuration change that was already pushed out; the first is the fact that log4j isn't actively used by any of the Collector components.
Nathan_Abbott
·4 years agoJust curious when a patch will be released that does not contain a vulnerable version? A mitigation is not the same as having fully patched and up-to-date software. A mitigation is more of a stop-gap measure until an update to the most recent non-vulnerable version can be deployed.
Michael Rodrigues
·4 years agoHey everyone, here's an official communication you can pass on to customers, clients, stakeholders, etc. about what's going on with LM and the Log4shell vulnerability:
https://www.logicmonitor.com/support/log4shell-security-vulnerability-cve-2021-44228
It goes over the details and how to confirm that your collectors are safe. We will update this document as things progress.
Dennis_Huynh
·4 years agoThanks!
LM User
·4 years agoHaha, 'venerable' is a good thing. "Vulnerable" is not.
Official notice should be coming out some time this week.
Daniel Blanco
·4 years agoIs there something that LM will release more official that we can share with our clients. I've been asked many times today if we can delete these files or uninstall LM Collectors b/c these boxes are still turning up as still 'venerable' by this vulnerability scans.
Steve_the_IT_Gu
·4 years agoTo confirm the configuration update, look in C:\Program Files (x86)\LogicMonitor\Agent\Conf\watchdog.conf for "-Dlog4j2.formatMsgNoLookups=true"
LM User
·4 years agoYes, the above pop up should have appeared the first time an administrator logged in after Saturday:
Stefan Wuensch
·4 years agoThat was from a pop-up that appeared in the portal yesterday.
Phil123
·4 years agoI spoke to our Customer Success Manager just now and they have provided me the following information, this doesn't seem to be posted anywhere but this came directly from our CSM and provides a little more information. Hope this helps!
LogicMonitor has evaluated our exposure to the Log4Shell vulnerability and determined that the LM SaaS platform is not affected. We are aware that some versions of the LM Collector include a defective version of log4j, but its architecture has been purposely designed to mitigate such vulnerabilities.
However, out of an abundance of caution, we have developed a mitigation to the Log4Shell exposure and automatically deployed the fix to all Collectors. Instead of updating the Collector software itself, we were able to address the issue by updating the Collector configuration files.
On Dec 11th, all Collectors automatically updated their configuration files to include a directive -Dlog4j2.formatMsgNoLookups=true which neutralizes the Log4Shell attack vector. Because Collectors restart themselves on a 24-hour cadence, the updated configuration will have been applied to each Collector by Dec 12th.
If you want to verify with positive confirmation, you can check your Collectors’ wrapper.conf, watchdog.conf, and websites.conf/services.conf files for the above configuration directive. Also, each Collector that has been updated will include a line in its event log indicating Watchdog restarted by AddLog4jPropertyForWatchdog health check script.
Mosh
·4 years agoHi Manish,
Where was that posted?
Maurice_Harnett
·4 years agoIs there any update on this? How can we confirm whether the collector version we're running contains the mitigation?
Dennis_Huynh
·4 years agoCan you advise where the configuration are enabled/updated/disabled to confirm the mitigation has been implemented?
manish arora
·4 years agoPls find the recent update:
At this time the Log4Shell mitigation has already been released to the LM platform and each Collector will have automatically updated its configuration file to incorporate the fix on Saturday, Dec 11th. Because each Collector restarts itself on a daily cadence, the updated configuration will automatically take effect on all Collectors no later than Sunday, Dec 12th.
No updates to the Collector software are required to enable the Log4Shell mitigation and no manual intervention is required.
Hope this helps!!!