Archive for WordPress

What a SQL Injection Attack Looks Like In Your Server Logs

I had some spare time to do maintenance to the web sites I own, they were feeling very neglected, I must say.

Part of that maintenance involved looking through logs to determine what was causing a spike in resource utilization, since I have a shared resource plan and get hate mail when the hoster detects sustained usage over the level that I pay for.

At any rate, I discovered an attempted SQL injection attack from an IP in the Ukraine… here is the log entry (with the source IP left unedited):

Doing some research, it looks like this was probably someone using Kali/Metasploit to use a canned attack against a known issue with WordPress Photo Gallery.

For more, see:


Shame on you, bad guys.  Shame on you.  I did the obligatory “right thing” and reported the abuse to RIPE.  It won’t make any difference, but it felt like doing nothing was a poor response.


500 Error in WordPress After Plugin Installation

I had a fright after installing a new plugin into WordPress via the normal (inside WordPress) procedure… a ‘500’ error in every part of the web server that WordPress touched.

I did some searching and the fix was easy… log into the web server file structure and delete the offending folder under ../wp-content/plugins/.  The server came back up immediately and wp-admin worked once again.  Naturally, the admin interface noticed that the deleted folder was gone and removed the plugin from the installed plugins list.

Mischief managed!