News for hackers. Stuff that matters.
Re:Antigravity.py (2020) by ASalazarMX on Monday August 16, 2021 @11:32AM (#28199265)
TL;DR: 'import antigravity' is fine, but Python can be tricked with environment variables to use Perl as the web browser, which has arbitrary code execution through environment variables.
Re:Antigravity.py (2020) by tyingq on Monday August 16, 2021 @11:58AM (#28199543)
And Perl (specifically "perlthanks") was just the first thing they found that worked. Bash had similar problems in the past, and I imagine there's other "installed by default" stuff that can be coaxed into running code in environment variables.
Re:Antigravity.py (2020) by shaded-enmity on Monday August 16, 2021 @11:47AM (#28199426)
Defense in depth would disagree that it is fine. I'm pretty sure this vulnerability can go much further if you combine it with, for example, the `https_proxy` environment variable.
Re:Antigravity.py (2020) by chias on Monday August 16, 2021 @11:43AM (#28199377)
Interesting, that's pretty cool. Thanks!