This is insanity.
Log4j RCE Found
11–20 of 531 posts
Re: Log4j RCE Found
#12an immediate remediation is to set log4j.formatMsgNoLookups=true or log4j2.formatMsgNoLookups=true ctrl+f it here: https://logging.apache.org/log4j/2.x/manual/configuration.ht...
That text isn't present on that page any more – it looks like that was silently removed at some point after December 4th: https://web.archive.org/web/20211204140505/https://logging.a...
Re: Log4j RCE Found
#13The best part is surely the diffstat of the "fix": +465 −9 This is insanity.
(I'm not surprised. I worked with Enterprise Java briefly, many years ago. Verbosity and redundancy is a deeply ingrained cultural thing.)
Re: Log4j RCE Found
#14Re: Log4j RCE Found
#15To see if there are injection points statically, I work on a tool (https://github.com/returntocorp/semgrep) that someone else already wrote a check with: https://twitter.com/lapt0r/status/1469096944047779845 or look for the mitigation with `semgrep -e '$LOGGER.formatMsgNoLookups(true)' --lang java`. For the mitigation, the string should be unique enough that just ripgrep works well too.
Re: Log4j RCE Found
#16Re: Log4j RCE Found
#17Re: Log4j RCE Found
#18Re: Log4j RCE Found
#19What’s the actual bug and how would it be exploited?
Another commentators states that after Java 8u191 arbitrary code execution isn't possible but you can get pingback: https://news.ycombinator.com/item?id=29505027