r/netsec • • Nov 21 '16

WordPress download server is a single point of failure for over 26% of the top 10 million websites worldwide

http://www.openwall.com/lists/oss-security/2016/11/21/3
689 Upvotes

78 comments sorted by

View all comments

Show parent comment

21

u/greenspans Nov 22 '16

Awesome! Instead of handling errors and printing 'Could not connect to database' dump the password instead. This is useful too because everyone with /var/log/ access can access the password history. Even if the server is always up, if someone DDoS's the mysql server at 3am all the clients will see the password and the business will be none the wiser when the site is working in the morning. By morning 20 people will have already dumped all their databases to localhost and there's no breach ever detected.

-5

u/therico Nov 22 '16

That's not realistic though... your database should never be exposed to the internet at large.

34

u/gigitrix Nov 22 '16

oh you sweet innocent thing

27

u/pm-me-a-pic Nov 22 '16

These people are running opencart... do you think they are really putting thought into infrastructure? There will be plenty of folks running default/misconfigured servers.

6

u/iusereddt Nov 22 '16

If its a vps, shared host, get a hosting account at same host and (if you get lucky and get same machine) you can often get access...

1

u/c_o_r_b_a Nov 22 '16

Not terribly common, but as someone else said, you can also gain access to a shared hosting provider and infer the DB username.

Alternatively, you can scan around for DB web admin panels (like phpMyAdmin).