Re:Best of show – abuse of libc
by saagarjha on Friday January 08, 2021 @06:44PM
(#25692474)
Be careful, though, you don't want anyone to hack you through printf ;)
[ Parent
| on HN ]
Re:Best of show – abuse of libc
by segfaultbuserr on Friday January 08, 2021 @07:13PM
(#25693033)
In the late 90s, looking for "printf(string)" [0] in the code was a great way to discover remote code execution 0days ;-)
[0] should be "printf("%s", string)".
Very much so, it took a long time for this to become obvious as a security problem.
My memory wuftpd was the first big program to suffer from this class of attacks.
Re:Best of show – abuse of libc
by segfaultbuserr on Saturday January 09, 2021 @04:30PM
(#25704986)
It reminds me of a talk by infosec researcher "The Grugq" about opsec techniques used by blackhat hackers. Its subtitle was because jail is only for wuftpd, I couldn't stop laughing at it.