News for hackers. Stuff that matters.
Re:Zero-day in jQuery plugin sample code exploited for at le... by blihp on Sunday October 21, 2018 @05:01PM (#18270233)
It wasn't exactly hidden seeing as how there was a YouTube video titled 'Exploit jQuery File Upload Vulnerability' available since 2015. I don't blame the author (given the timing of the Apache change it probably would have been easy for him to overlook[1]) and it is surprising that this took years for anyone to make him aware of the issue since the exploit wasn't exactly unknown. Apparently there's some groundbreaking work left to be done in infosec searching on combinations of various library / application names and 'exploit'...

[1] I assume that like most of the rest of us he was lagging behind the latest and greatest Apache release a bit. So when he was writing/testing this, it probably wouldn't have been an issue.

Re:Zero-day in jQuery plugin sample code exploited for at le... by blueimp on Sunday October 21, 2018 @05:28PM (#18270385)
Unfortunately, I never tested it with an Apache configuration that had .htaccess support disabled and so it simply did not occur to me that the default was "off".

I think the bigger issue was that the PHP sample code allowed all file types by default - this would not only affect Apache, but any Webserver that had broad rules to execute PHP scripts found in a directory.

Originally I didn't see this as an issue as I trusted developers to securely configure their server to make sure no uploaded files would be executed, which is why the .htaccess security settings were only added later in this commit: https://github.com/blueimp/jQuery-File-Upload/commit/13931c7...

But neither was the documentation informing developers clearly enough about the security implications, nor should I have relied on people actually reading security notices.

Re:Zero-day in jQuery plugin sample code exploited for at le... by blihp on Sunday October 21, 2018 @05:36PM (#18270441)
Fair enough... but I still don't blame you ;-)
Re:Zero-day in jQuery plugin sample code exploited for at le... by blueimp on Sunday October 21, 2018 @05:50PM (#18270531)
Hehe, thanks! :)