WordPress Security Audit Case Study: 111 Sites on One Hosting Server
We audited a hosting server running 111 WordPress installations for businesses in India and Canada. The scan found no active malware, but it did find 15 sites on WordPress 4.4 to 6.6, 83 database dumps (2.1 GB) in public folders and 46 environment files that needed blocking. We fixed all of them and added server-wide rules so the same mistakes are blocked in future.
- Client
- A hosting server for small businesses
- Industry
- Web hosting
- Location
- India and Canada
- Year
- 2026
- Services
- WordPress security audit, WordPress updates, Server hardening, Firewall configuration
The server and site owners are not named. Figures come from the audit carried out in 2026.
The challenge: one server, 111 WordPress sites
This WordPress security audit case study covers a hosting server used by businesses in India and Canada. Over the years it had collected 111 WordPress installations: live sites, old versions, test copies and sites nobody had touched in a long time.
On a shared server, one neglected site can put every other site at risk. Outdated software is the usual way in, and forgotten backup files can hand an attacker a full copy of a database without any hacking at all. The goal was a full audit: find what was exposed or outdated, fix it, and make sure the same mistakes cannot quietly happen again.
What the audit found
The good news first: the malware scan found no active infection that day. The risks were in what was left lying around.
- 111 WordPress installations scanned, with no active malware found in that scan
- 15 sites still running outdated WordPress, from version 4.4 to 6.6
- 83 database dump files, 2.1 GB in total, sitting in public web folders
- 46 environment (.env) configuration files in web folders that needed blocking
- A leftover backup of a wp-config file, which holds database credentials
- A debug log left in a public location
What we did
Each fix was made with a backup first, so any change could be reversed if a site misbehaved.
Updated the outdated sites
We brought all 15 outdated WordPress installations, some as old as version 4.4, up to WordPress 7.1.5 and checked that each still worked.
Removed public database dumps
We removed 83 database dump files (2.1 GB) from public web folders, where anyone who guessed the file name could have downloaded them.
Blocked environment files
We blocked web access to 46 .env configuration files, which typically hold passwords and API keys.
Cleaned up leftovers
We removed the leftover wp-config backup and the public debug log.
Added server-wide rules
We added rules across the server that block sensitive file types, such as database dumps, environment files, backups and logs, on every site, including sites created later.
Hardened the firewall
We tightened the server firewall to reduce the noise from automated scanners probing every site on the server.
Results at a glance
| Check | Found | Action |
|---|---|---|
| Malware scan | 111 WordPress installations | No active malware found in that scan |
| Outdated WordPress | 15 sites on 4.4 to 6.6 | All updated to 7.1.5 |
| Database dumps in public folders | 83 files, 2.1 GB | Removed |
| Environment (.env) files | 46 files | Blocked from web access |
| wp-config backup and debug log | 1 of each | Removed |
| Future mistakes | No server-wide protection | Sensitive file types blocked on every site |
What other businesses can learn
A clean malware scan does not mean a site is safe. In this audit the biggest risks were files that should never have been public: database dumps, configuration files and logs. They are created during migrations, backups and debugging, and then forgotten.
Keep WordPress updated, delete backups from web folders, and ask your host or developer to block sensitive file types at the server. We build these checks into every website we design and maintain, because a hacked or slow site also hurts your search rankings. If you are not sure what is sitting in your web folders, ask us for an audit.
Frequently asked questions
Straight answers to the questions business owners ask us most.
Still have a question? Talk to us
No malware was found. Why was the audit still worth doing?
Because most break-ins start with something left open, not with malware already present. Outdated WordPress versions have known holes, and public database dumps or .env files can give away passwords without any hacking. The audit found and closed those openings before anyone used them, which is far cheaper than cleaning up after an attack.
Why are database dumps in a public folder dangerous?
A database dump is a complete copy of a website's data: user accounts, password hashes, customer details and settings. If it sits in a public folder, anyone who guesses or scans for the file name can download it. Automated scanners look for common backup names all the time, so these files should be stored outside the website folder or deleted.
What is a .env file?
An .env (environment) file stores an application's settings, usually including database passwords, API keys and mail credentials. It is meant to be read only by the application on the server. If a web browser can open it, those secrets are exposed. The server should always refuse to serve these files, which is what the new rules enforce.
How often should a WordPress site be audited?
Check updates every week or two, and run a fuller security review at least once or twice a year, and after any migration, redesign or developer hand-over. Those are the moments when backups, test copies and debug files tend to be left behind. Sites on a shared server benefit from regular server-wide checks too.
Related services and case studies
Website Design Raipur
Fast, mobile-first websites and landing pages built to rank and to convert.
SEO Company in Raipur
Technical fixes, content and links that move your website up Google for the searches your customers make.
Exposed Config Files Locked Down
Five Laravel apps were leaking logs and an environment backup with live secrets. We blocked every sensitive path and verified…
Want results like these?
Every project starts with a free audit of your website, Google presence and competitors.
- A plain-language review of your website and Google presence
- Quick wins you can act on straight away
- No obligation and no spam
Get your free audit
Takes under a minute.