WordPress Not Safe Anymore? Make It Safe.
Thanks to the advancement in the technology and the simultaneous growth of human knowledge, technology does not seem safe anymore. One of the leading blogging tool and publisher tool, WordPress is no exception to it. The free-to-use publishing tool, which according to #-Link-Snipped-# has 25million+ users, is just not that immune to hackers. The easily deployable default form is not vulnerable to attack in its original form. Itâs only when people want to change the appearance of the site and use any of the available 1,417 themes that the barrier may breach. Most of them are coupled with an image resizing and cropping tool called timthumb. Its working gives the hackers privilege to execute codes on your site. Considering the number of people using the platform it is indeed a worrying issue.
The concerning part of the working of timthumb is that it allows files to be written on to a directory on the site accessible to everyone. That is sufficient for the hackers to gain access of your siteâs control. But fret not, for Mark Maunder who identified this vulnerability has suggested a way to fix this security hole.
His method will disable timthumb.phpâs ability to load images from external sites but that should not be a drawback sinbce most users use the tool for locally stored pics only.
THE STEPS:
The concerning part of the working of timthumb is that it allows files to be written on to a directory on the site accessible to everyone. That is sufficient for the hackers to gain access of your siteâs control. But fret not, for Mark Maunder who identified this vulnerability has suggested a way to fix this security hole.
His method will disable timthumb.phpâs ability to load images from external sites but that should not be a drawback sinbce most users use the tool for locally stored pics only.
THE STEPS:
- SSH into your web server. You can use âputtyâ if you use windows and youâll need to know your username and password.
- cd into your wordpress installation directory. That is going to vary according to which host youâre using or how you've installed it.
- You need to find every copy of timthumb.php on your system. Use the following command without double quotes: â find . -name âtimthumb.phpâ â
- It will show you a list of where timthumb.php is located. You may want to repeat this command using âthumb.phpâ as some users have reported thatâs what itâs called on their systems.
- Edit timthumb.php using a text editor like pico, nano or (if you know what youâre doing) vim. You would type (without double quotes) â nano directory/that/tim/thumb/is/in/timthumb.php â for example.
- Go down to line 27 where it starts $allowedSites = array (
- Change it to remove all the sites listed like â#-Link-Snipped-#â and âFind your inspiration. | Flickrâ. Once youâre done the line should look like this from $allowedSites to the semi-colon:
- $allowedSites = array();
- Note the empty parentheses.
- The next line should be blank and the following line will probably say âSTOP MODIFYING HEREâ
- Thatâs it. Save the file and youâre done.
Replies
You are reading an archived discussion.
Related Posts
Hi Guys,
I am person not on java platform still I have to develop J2ME application which has became mandatory for me , so please can you tell any j2me...
thu 5:26 i am using the windows 7 to my sys
from last 1week i got the error message when i am trying to open the my sys...
we are organizing a inter-college cultural & technical fest .I gotta coordinate my college's annual techfest this year. this cosists of events like tech & science quiz , robotics events...
hello everyone...
actually i am placed in 2 companies--> tech mahindra and OFSS( Oracle Financial Services Software Ltd, earlier- Iflex Solutions)
and now am confused to join which one😕 please...
Dear friends, I m an electronics student plez guide me to create a well designed project which ever be created by u and verified by ur institution ........................plez guys it...