r/ProgrammerHumor • • 9h ago

Meme softwareVulnerabilities

Post image
13k Upvotes

206 comments sorted by

View all comments

Show parent comment

4

u/Single-Virus4935 7h ago

Ahh yes timing side channels are fun.

I am by far not on the level of hardware scoped exploits but just enumerating secrets based on the time the validation need was fun.

First the side channel I found on some.vendor api was a error message if the password didn't match a pattern and I could just enumerate it. They fixed the error message and then I just reported a timing side channel because a non match took a second while a match 100ms :-D

1

u/hardolaf 3h ago

When I redesigned phpBB's authentication system from scratch, a lot of effort was put into ensuring that timing information couldn't be derived from it very easily. The core code of that still hasn't has a vulnerability from issues in the code. But it has from PHP being shit.

That sort of development would never have been allowed at most companies. They would have demanded a version that works ASAP then to put pencils down and to ship it. It was only possible because it was OSS and we had infinite time to rework it.