5 ms·
Someone should tell them that any system that it logging user supplied data can be affected. Not only "user facing" systems. Not even a WAF can protect these.
by tex0 5y ago
Someone should tell them that any system that it logging user supplied data can be affected.
Not only "user facing" systems.
Not even a WAF can protect these.
- Thorrez 5y agoIf the WAF blocks any request containing "{", that would be fairly safe, right? Yes, some attacks could still get through (e.g. a backend that receives requests base64-encoded), but that's the case generally with WAFs I think.
- simcop2387 5y agoThag would also mean blocking any apis that use json. This would not end well in the short term, or long term.
- Thorrez 5y agoYou could probably write a more advanced check than just "{" that would let most JSON through while still blocking the attack.
- miohtama 5y agoCloudflare did something along these lines: https://blog.cloudflare.com/how-cloudflare-security-responded-to-log4j2-vulnerability/ https://blog.cloudflare.com/how-cloudflare-security-responde...
- PeterisP 5y agoThe devil is in the details. As a random example, you might have a process where all the pre-WAF requests (or explicitly the requests blocked by WAF) get forwarded to a log analysis system that itself uses log4j and is vulnerable, allowing the attacker to gain RCE in your monitoring infrastructure. Also, blocking any request containing "{" is tricky - like, that's so generic that it's time-consuming to verify that it won't break anything, and it's very likely that JSON is used somewhere in that application traffic, so you can't simply do that.
- Thorrez 5y agoYou could also have a log analysis system that displays logs in the browser and has an XSS vulnerability. So that bypass isn't unique to log4j. > JSON You could probably write a more advanced check than just "{" that would let most JSON through while still blocking the attack.
- technion 5y agoSadly every WAF vendor is falling over themselves to claim otherwise. I've already had arguments with senior leadership suggesting there's no need to worry about patching because multiple vendors have promised their solutions are better. The further I get into security the more embarrassed I am for some of the offerings.
- naltun 5y agoI work as a software engineer in cybersecurity. > embarrassed... for some of the offerings Welcome to the club.
- SCHiM 5y agoI am half convinced you can build a successful cyber security business putting a box in a network that does absolutely nothing. I think there's a requirement to at least show a blinking led and have a, not necessarily patched, cable plugged in. But that's about it. My thinking is, that if you show a cool enough interface (not connected to the box), with lots of widgets and stats, and they don't detect a hack in the time span of 2 years, you can probably walk away with pretty penny! If they do get hacked, just pretend you technically _did_ see the alert, but a junior employee on your side failed to act on it. Sack them, and then re-hire them later. They are the 'fall' person whose job is basically getting fired. Give your customer a discount and try to stay on for 2 more years!
- g_p 5y agoYou pretty much can: > Case in point: the Air Gap. Levy set up a website showcasing a magic amulet of his own creation. Like many cyber defences, his piece of hardware promised to defend against all known and unknown viruses, and stop zero day exploits. His product? An empty box with a blue blinking light on it. Levy had to take his website offline when he started getting sales enquiries by email. https://www.wired.co.uk/article/ian-levy-national-centre-cyber-security https://www.wired.co.uk/article/ian-levy-national-centre-cyb...
- flyinghamster 5y ago