Popular Wordpress Plugin Leaves Sensitive Data In the Open
chicksdaddy writes in with a warning about a popular Wordpress plugin. "A security researcher is warning WordPress users that a popular plugin may leave sensitive information from their blog accessible from the public Internet with little more than a Google search. The researcher, Jason A. Donenfeld, who uses the handle 'zx2c4' posted a notice about the add-on, W3 Total Cache on the Full Disclosure security mailing list on Sunday, warning that many WordPress blogs that had added the plugin had directories of cached content that could be browsed by anyone with a web browser and the knowledge of where to look. The content of those directories could be downloaded, including directories containing sensitive data like password hashes, Donenfeld wrote. W3 Total Cache is described as a 'performance framework' that speeds up web sites that use the WordPress content management system by caching site content, speeding up page loads, downloads and the like. The plugin has been downloaded 1.39 million times and is used by sites including mashable.com and smashingmagazine.com, according to the WordPress web site."
So, did anyone else look at the linked page and see a big blob of text about payday loans? Kinda amusing for a site that bills itself as a "security ledger".
page has a metric crap ton of keyword spam and links at the top for some scammy payday loan site.
- You will get hacked if you use something 1 million+ other people use. It's just a matter of time.
WordPress is a remote shell that happens to also carry a blogging feature...
you could say create ".htaccess" file in the cache directory and put "deny from all" inside it without the quotes in the mean time until they issue fix for it
"Popular Wordpress Plugin Leaves Sensitive Data In the Open"
This happens at least twice a week. Don't use Wordpress. Or if you have to use Wordpress, lock it the fuck down and don't install plugins.
A wordpress plugin with security issues? Well, I never...
"The content of those directories could be downloaded, including directories containing sensitive data like password hashes"...
All the WordPress installations I've dealt with (quite a few, it's part of my job) had users' password hashes stored in a MySQL database. I wonder why the W3 plugin is writing them to the file system in the first place?
I'm sure it's no surprise to anyone here, but there are plenty of other WordPress plugins that do the same thing. Some backup plugins seem to be particularly good at this, giving you unrestricted access to entire DB backups which you can hack in your own time.
It's (the end of) 2012, why the hell are people STILL putting their data stores in web-accessible directories below DocumentRoot?
I specifically made a conscious decision to set up my very first PHP application to store uploaded files and configuration files in an inaccessible folder way back in 2002 specifically to avoid bullshit like that, which seems to me it must have had been going on for long enough that I knew better back then as a noob fresh out of college.
If I have been able to see further than others, it is because I bought a pair of binoculars.
With a whole bunch of payday loan text spam at the top. Wonder what plugin caused that?
This is precisely why I don't use PGP, TrueCrypt, ssh, or any of those other "cool" encryption tools used by millions of sheeple. All my data privacy and security needs are taken care of by my own custom-written, unbreakable encryption algorithm.
So that's why my last email from paypalcom.tk forwarded me to a URL that looked like this:
http://joesdumbblog.net/wp-admin/plugins/css/https.paypal.com.php
This really only applies if the user has it doing db caches in Disk mode.
If the server was worth anything they would have APC or memcached as an option which doesn't have the exploit and works better anyway.
Hi folks, I'm Jason, the guy who found this bug.
I feel kind of embarrassed this is on the front page. I like to think that I spend time doing cooler things than reading PHP, let alone the source of random Wordpress plugins. My brother lives at the south pole and has a pretty damn cool blog about it (yay, more linkspam!), but the NASA satellite only flies overhead a few times a day, and bandwidth is pretty limited, so he asked me to help with some maintenance, and in the process I noticed this. But now the Intertubes have me pinned as a Wordpresser, alas. I guess that's just how it goes.
Anyway, my feeling on this is basically, to put it in /. terms -- "Random Wordpress plugin has gaping security hole... news at 11!" If you want a reasonably secure Wordpress rig, it's probably best to stick with plugins and themes put out by Automattic.
It wasn't mentioned in the linked article, so it's worth nothing here -- I think the best remediation, until W3 Edge releases a fix (he's on Christmas vacation now or something I think), is to either disable the plugin entirely, or, if that's not a possibility, just disable the object cache and database cache, and then empty all caches. Doing that should at least clear up this hole.
-- Jason
ZX2C4
That's what happens when you rely on the php community.
If you use latest stable apache (and you should if you use SSL/TLS) those commands will raise an error.
You must use "Require all denied" if you don't have mod_access_compat installed & enabled.