Remember some years ago now all the (justifiable) furore around how long you could connect a vulnerable Windows PC to the net for before it got hacked / infected? The statistic ended up being 20 minutes, i.e not long at all.
I’ve not seen any similar research (at least as widely publicised) for popular web apps, such as Wordpress, SMF, Joomla etc. But the statistic has to be something pretty similar. Watching my own logs, and the logs of the system’s at work, script installs that have never been compromised are probed regularly for vulnerabilities. Those that have been compromised before are probed even more regularly, making it likely that they’ve made it onto “suckers lists” that are passed around or sold.
Web scripts that have been compromised, or used to launch attacks on others are normally seen as a sign of bad administration by the site owner and this is sometimes the case, however in a lot of cases the odds are still stacked against even the vigilant web site operator. Whilst many scripts now have built in update notifications in their admin panels for security updates for their core installs (and sometimes for plugins too) there is an inevitable time lag between any announcement and the admin
- 1. Seeing it
- 2. Being able to action the upgrade.
Script / CMS developers can do more here to help. A part of the install for any web forum or blog should be signing the owner email (or another email of choice) to a security update notification feed. Can you offer security notifications by SMS for a small extra charge?
Backup configuration should also be a part of the core install and not left to third party plugins. Yes this is extra work, but with these present there isn’t a lot more you could humanly do to protect site owners.
Wordpress now has one click upgrade options for both plugins and with 2.7 the main script itself, providing you’re running a server setup (suphp or similar) that can support it, this is great. Whilst automatic (i.e without site owner intervention) upgrades are becoming possible, the large variety of server configurations out there make this less realistic in the short term although it would be nice to see the feature experimented with in more web apps. Although somewhat rightly most site owners would probably be suspicious of automatic upgrades.
Options could also be added to automatically put the install into a maintenance mode / offline mode so that it could not be attacked until a severe issue is patched. Whilst most who make money from their site (but don’t have 24/7 IT staff to do upgrades, and believe me this is an awful lot of people) wouldn’t initially like the idea, you have to consider what’s worse
- 1. Your site being down for an afternoon until you’re available to patch it
- 2. A listing at google badware as well as having to replace your file base / database from a clean backup.
If you’ve seen any research into the above question , I’d be interested in a link
Rowan :: Dec.13.2008 ::
Security, Web Apps, Web Hosting ::
No Comments »