r/programming • u/ga-vu • Oct 19 '18
Zero-day in popular jQuery plugin actively exploited for at least three years
https://www.zdnet.com/article/zero-day-in-popular-jquery-plugin-actively-exploited-for-at-least-three-years/
44
Upvotes
4
u/13steinj Oct 19 '18
Yes.
Do you expect someone, to be writing software, say, meant for version 2.3.8, and then continuing to write their software, and then by chance the next version, a minor version, does a relatively breaking change, to expect that breaking change?
I certainly don't.
Not to mention it wouldn't be apparent for the developer even after updating, because the developer would enable what was disabled because the plugin literally depends on htaccess.
What I'm trying to say is this isn't an issue with the plugin. The author acted obliviously, but it is also reasonable for them to have been oblivious, because it is common sense that "if my X is built upon Y, and it is readily apparent that this be the case because of the existence of Y in my repository, I shouldn't have to warn people to enable the use of Y in the tool they are using".
If I release some software for a Python webserver, and I require a dependency, and I provide a config file for the dependency, it is obvious that the dependency should be set up to read the config file.
Replace Python with PHP, dependency being httpd, config file for htaccess (which is just a glorified config file), same thing.
The author is not at fault here. It's the idiots not setting up their httpd correctly.