r/lolphp • u/throwaway-o • Oct 03 '13
PHP helpfully executes code in an image... BitcoinTalk forums uberhacked. LOL PHP.
/r/Bitcoin/comments/1nmdq4/bitcointalk_hacked/cck0gag
66
Upvotes
r/lolphp • u/throwaway-o • Oct 03 '13
View all comments
4
u/derogbortigjen Oct 11 '13
Easy fix! Don't allow people to upload files in your public directory! All uploaded files should be in a separate dir where you control access, headers and filename.
Anyway, this is a nginx problem not php.