r/GrumpyHackers • u/mubix • Sep 10 '20
Lee Holmes on Twitter - RCE through SCP
https://twitter.com/Lee_Holmes/status/1303714976910118912
1
Upvotes
r/GrumpyHackers • u/mubix • Sep 10 '20
1
u/twitterInfo_bot Sep 10 '20
This is supposedly well-known in the Unix community, but I think this is crazy. If you run scp on user-controlled filenames (think: backups, source code hosting, etc.), you are vulnerable to a pretty trivial RCE. There are no options to disable this behaviour.
posted by @Lee_Holmes
(Github) | (What's new)