Type Juggling 0==Admin Grants 847 Users ADMIN ACCESS?!

TYPE JUGGLING DISASTER! 0=='admin' returns TRUE! Password check BYPASSED! 847 users got admin access! Downloaded 2.3M customer records! $12.3M data breach lawsuit! CTO FIRED!

#php #phpdisaster #typejuggling #authenticationbypass #securitybreach #adminaccess #productionbug #phpshorts #phpwtf #0equalsadmin #careerending #databreach

https://www.youtube.com/watch?v=uh7YHqXPfVo

Type Juggling 0Admin Grants 847 Users ADMIN ACCESS?! #databreach

YouTube

File Get Contents Loads 2GB Crashing 47 Web Servers?!

MEMORY EXPLOSION! file_get_contents() loads ENTIRE 2GB file into RAM! 47 web servers CRASHED! Tax deadline missed! 12K users disconnected! $12M class action lawsuit! Lead developer FIRED!

#php #phpdisaster #filegetcontents #memoryexhaustion #servercrash #taxdeadline #productionbug #phpshorts #phpwtf #outofmemory #careerending #cascadefailure

https://www.youtube.com/watch?v=7mhJQ1u608A

File Get Contents Loads 2GB Crashing 47 Web Servers?! #outofmemory

YouTube

Array Merge RESETS Numeric Keys Destroying 2.3M Order IDs?!

ARRAY_MERGE DISASTER! Numeric keys RESET to 0,1,2,3! Order 1001 becomes 0! Payment records can't match! 2.3M orders lose IDs! $8.7M shipping chaos! Database architect FIRED!

#php #phpdisaster #arraymerge #numerickeys #datacorruption #orderids #productionbug #phpshorts #phpwtf #arraychaos #careerending #keyreset

https://www.youtube.com/watch?v=d99qNe0FXXw

Array Merge RESETS Numeric Keys Destroying 2.3M Order IDs?! #keyreset

YouTube

Magic Quotes Corrupts 10M Database Records With Backslashes?!

MAGIC QUOTES HELL! Double-escaping for 3 years! Every apostrophe becomes \\\! 10M articles, comments, pages UNREADABLE! $8.7M manual cleanup! 6 months to fix! Migration lead FIRED!

#php #phpdisaster #magicquotes #doubleescaping #datacorruption #contentdestroyed #productionbug #phpshorts #phpwtf #backslashhell #careerending #legacydisaster

https://www.youtube.com/watch?v=NMYlZFdeAK0

Magic Quotes Corrupts 10M Database Records With Backslashes?! #magicquotes

YouTube

Float Precision Loses Payment Company $1.2M Over 3 Years?!

FLOAT PRECISION DISASTER! Used float for money math! $0.02 rounding error per customer! 470K customers * $0.07 error = $1.27M stolen! Class action lawsuit! CFO FIRED! $4.5M total cost!

#php #phpdisaster #floatprecision #moneyloss #roundingerror #paymentfailure #productionbug #phpshorts #phpwtf #$1.2mlost #careerending #bcmathrequired

https://www.youtube.com/watch?v=p-Bzp8spzdA

Float Precision Loses Payment Company 1.2M Over 3 Years?! #phpshorts

YouTube

Session Race Condition Charges 47,000 Cards TWICE?!

SESSION RACE DISASTER! Flash sale network lag creates 340ms race condition! 47K customers charged TWICE ($299.99 x 2)! $14.1M overcharged! Payment processor SUSPENDED account! CTO RESIGNED!

#php #phpdisaster #session #racecondition #doublecharge #paymentfailure #productionbug #phpshorts #phpwtf #financialdisaster #careerending #flashsale

https://www.youtube.com/watch?v=XxcL_SlmywI

Session Race Condition Charges 47000 Cards TWICE?! #doublecharge

YouTube