News for hackers. Stuff that matters.
Re:Finding an authorization bypass on my own website by papercrane on Saturday March 05, 2022 @08:56PM (#30574234)
I had a similar candidate a couple weeks ago. Their CV made a big deal about a dynamic SQL framework they wrote for a previous job, but they just gave me a blank look when I asked how they mitigated SQL injection attacks.

I ask about SQL injection pretty regularly, and it's scary how many devs don't seem to even know what it is.

Re:Finding an authorization bypass on my own website by DaiPlusPlus on Saturday March 05, 2022 @09:12PM (#30574350)
> I ask about SQL injection pretty regularly, and it's scary how many devs don't seem to even know what it is.

That's either a good thing: because they grew-up with database libraries designed to encourage, if not force, the use of parameterized queries, so it was never a problem for them.

...or it's a bad thing, because they grew-up in the early-days of PHP 4x, learning from PHP/MySQL tutorials written by people who'd today be considered utterly unqualified to speak at length about programming: the kinds of things that only happen when the blind were leading the blindfolded: nightmares like actively encouraging concatenating $_GET values directly into mysql_query() strings because it means having less variables, and less variables means better performance (right?!) - and they never learned otherwise.

-----

I have a pet theory that people who got started with PHP in the 2000s who are still working today are so burned from their earlier experiences that they're now the most detail-oriented and best-practices-following programmers around, regardless of the language they use today - while the people who never experienced hardship (to the extent that having to use PHP is a hardship...) become complacent, and our ever-increasing reliance on unvetted external dependencies (in all language ecosystems, imo) is going to end badly.

Or not. No idea, honestly!