• 1 Post
  • 5 Comments
Joined 5 days ago
cake
Cake day: June 14th, 2026

help-circle



  • You read it right, BLOCKED_EXT is just an extension list and renaming walks straight past it. But that list was never the malware check, it only stops someone uploading payload.exe

    Mime sniffing wouldn’t have caught it either, since that value rides along in the request and a renamed upload just lies about it.

    The actual defense is ClamAV, same file if you grep clamScan and CLAMAV_SCAN, and it reads what’s inside the file instead of the name. I tried the calc.jpg trick for real, an EICAR test renamed to calc.jpg sent as image/jpeg, and the upload came back refused.