If you got here, propably you had seen a WordPress admin panel, or even made your own website using it. Some time ago there was a pretty popular song made by Ylvis, but for this article I will change it’s title a bit…
Have you ever thought and checked what your site is sending to internet even without your knowledge?
Based on my several years of experience with WordPress and cyber security, I have encountered such threads as:
- Data Leaks (Braking GDPR and others too, as often you can find CVs or other doc’s with personal data).
- Configuration files (mostly JSON) with credentials and other cool stuff.
- Unprotected API endpoints.
- TXT files with admin credentials 🤦.
- Unencrypted backups that includes whole DB, because why not.
- SQL dumps in wp-content/uploads (imagine that some people think that nobody can find this if they don’t gave them link to it…)
- Misconfigured webserver or PHP interpreter.
Let’s summarize probable consequences.
- You can have big legal problems as well as the enormous cost, as there are many people who are concerned about the security of their personal information.
- Mostly website/server takeover which can end with legal problems.
- Bots publishing comments with links, propaganda etc.
Of course there can be another consequences, but I met those 3 most often.
Yes, I have, and quite a few. And I will share my experience with you with a single short story.
Try to image yourself a company website, middle-sized one in fact. About 200 subpages with many informations, articles and etc. are posted. And you receive an email from a foreign government with links to your website and information that you are sharing lies and propaganda which hits them directly, requesting removal. First tought? Ok, that can be just cheap scam, so let’s analyze that email. After checking, it turned out that the email was real so I checked those links, and yeah, there was some content in this foreign language that no one from the editorial team made. I removed those articles from site and we contacted back. Do you think that this incident is closed now? No way. I checked how it actually happened. This website had one not updated plugin which gave the ability to publish content without authorization.
Let’s make a short list of actions which I will be extending in later articles individually.
- Check how they got into it, check logs, search for: vulnerabilities, not updated plugins, publicly accessible files.
- Fix & patch vulnerabilities and other problems.
- Write down the whole situation! It will help you in building safer stuff in the future and preparing Security Policy or safe standards.
- Try to connect with someone more experienced then you. It will help you a lot with securing your website, and you will learn something at the same time.
These are quite broad topics that I will certainly cover in future publications to give them enough attention, and also not to bore you with such a long article.