News for hackers. Stuff that matters.
Re:Log4j RCE Found by makeitdouble on Friday December 10, 2021 @12:33AM (#29506769)
This is the obvious solution now.

I think 20 years ago it would have been slammed as overkill to have a separate process just to send logs.

Even now actually, there is a flurry of libs/gems to send events/logs/analytics to a remote server (Datadog, NewRelic, Slack…)from the application itself. It’s usually not directly coupled with the logger, but it’s not far.

Re:Log4j RCE Found by Thorrez on Friday December 10, 2021 @12:37AM (#29506789)
Putting a feature in a logger to send logs remote is one thing. Putting a special syntax into the log message itself that gets parsed to decide where to send it is much weirder.
Re:Log4j RCE Found by tmd83 on Friday December 10, 2021 @01:22AM (#29506975)
Exactly and this being enabled by default seems specially more unusual. I can understand config being parseable even though log configurer directly pulling a remote config is a stretch specially by default. But I don't think it's unlikely that people would by default assume that their log message would be parsed that way and as someone said it even works if that's used as a user input using {} instead of +.
Re:Log4j RCE Found by spc476 on Friday December 10, 2021 @03:29AM (#29507709)
syslog() has been around for a lot longer than 20 years, and that's a function that logs to a separate process. What's so bad about syslog that people need to invent new logging systems?
Re:Log4j RCE Found by funcDropShadow on Friday December 10, 2021 @05:09AM (#29508278)
Because it is not portable and therefore not the blessed Java entreprise way of doing things. /rantoff
Re:Log4j RCE Found by abhishekjha on Friday December 10, 2021 @07:20PM (#29517144)
Apps do send metrics from the process itself. Dropwizard metrics comes to mind. Wonder what timing RCE is waiting to happen there.