“We already have a firewall and a WAF in place, so we should be fine.” It’s a comment we hear often when talking with people responsible for website security.

The short answer: firewalls and WAFs are designed to block suspicious incoming traffic, while tampering detection is designed to notice changes made to files after an intrusion has already occurred. Because they watch for fundamentally different things, having a firewall and a WAF in place doesn’t guarantee that tampering will be prevented. That’s exactly why it matters to have both a system that blocks traffic and a system that notices change.

Rather than raising alarm, this article aims to give you a clear, level-headed picture of what firewalls and WAFs actually cover — and where their coverage ends.

How Do Firewalls and WAFs Protect a Website?

Let’s start by clarifying what each one actually does.

Firewall: Deciding “Who Gets Through”

A firewall decides which traffic to allow or block based on IP addresses and ports. Think of it as the auto-lock at a condominium’s main entrance: it checks whether a visitor has the right unit number or key — information alone — to be let into the building. It doesn’t check what they’re carrying, or why they’re visiting.

WAF: Deciding “What They’re Carrying”

A Web Application Firewall (WAF), by contrast, inspects the content of requests sent to a web application — form submissions, search queries, and so on. In the same building analogy, it’s the guard stationed outside each unit after the visitor has already passed the auto-lock: they check the visitor’s bag for anything dangerous, such as SQL injection or cross-site scripting (XSS) payloads that exploit application vulnerabilities.

One important nuance: a WAF only checks for known malicious patterns in the request content — it doesn’t verify whether the person performing an action is actually who they claim to be, or whether the action itself is legitimate. If someone logs in with stolen but valid credentials and edits a file through a feature the CMS normally allows, that request contains no attack pattern at all. Just as a guard waves someone through when their bag has nothing dangerous in it, a WAF lets this kind of activity pass straight through.

So while both sit at the “front door,” a firewall asks “who gets in,” and a WAF asks “is what they’re carrying safe.” Different jobs, but both share one thing in common: they inspect incoming traffic in real time — sensors watching the moment something tries to come in from outside.

Tampering Can Happen Outside the Bounds of Traffic Inspection

Website tampering doesn’t always involve suspicious traffic. Let’s look more closely at the routes commonly reported as causes of tampering incidents.

1. Intrusion Through Legitimate, Stolen Credentials

Login credentials can end up in a third party’s hands through phishing emails, malware infections, or reused passwords leaked from another service. In this scenario, an attacker doesn’t need to behave suspiciously — no repeated failed login attempts — because they log in correctly on the first try, using valid credentials.

From a firewall’s or WAF’s point of view, this is indistinguishable from a legitimate user’s legitimate access. Nothing about the traffic breaks any rule, so there’s nothing to detect.

2. Exploiting CMS or Plugin Vulnerabilities

New vulnerabilities in CMS platforms like WordPress, and in the plugins and themes built for them, are discovered virtually every day. This isn’t because CMS platforms are becoming more dangerous — it’s because their sheer popularity puts them under constant scrutiny from both security researchers and attackers alike, surfacing flaws that had simply gone unnoticed until now. A version update doesn’t introduce new danger; it closes a gap that was already there.

The real risk lies in the gap between when a vulnerability is disclosed and when the patch is actually applied to your own site. Attackers specifically target this window — a disclosed but not-yet-patched hole — so the more severe a vulnerability is, and the more real-world exploitation has been reported, the more that delay works against you. Attackers exploit these flaws through publicly available forms or admin functionality, modifying files as a natural extension of legitimate features. Because none of this looks like “attack traffic” — it flows through the same channels used for everyday, legitimate activity — it’s difficult for traffic-based defenses to catch.

That said, this doesn’t mean every single update needs to be applied immediately and unconditionally. Urgency depends on the severity of the fix, its scope of impact, and whether active exploitation has been reported. Minor fixes can often wait for a regular maintenance window; feature-focused updates are usually better rolled out after checking compatibility with existing plugins. Rushing an update without proper checks can just as easily introduce a new problem — so the right approach is to weigh each patch on its own merits.

3. Supply Chain Risk via Vendors and Group Companies

Accounts belonging to a web development vendor managing your site, or to a system run by a group company, can be compromised and used as a stepping stone to tamper with your site. Vendors and group companies are attractive targets for a clear reason: the more parties involved, the more uneven security standards tend to become — and no matter how well you secure your own systems, if a vendor’s account has legitimate access to your site and that account is poorly protected, it becomes the weak link for the whole chain. From an attacker’s perspective, going after the weaker link in the chain is simply more efficient than attacking you directly.

This is exactly why a growing number of organizations now evaluate security across their entire supply chain, including vendors and partners. One such framework is Japan’s SCS Rating (Security Confidence System), a rating that reflects how well a vendor’s security posture measures up, expressed as a star rating. Both buyers and vendors increasingly use it as an objective way to demonstrate their security standing.

4. Server and Account Misconfiguration

A weak FTP/SFTP password, or admin privileges granted more broadly than necessary, can quietly become a weak point. Misconfiguration isn’t flagged as anomalous traffic at the front door — it’s closer to “the lock is technically locked, but the lock itself is flimsy.” Firewalls and WAFs are built to check whether the door is locked — not the quality of the lock, or whether a spare key has quietly made its way into the wrong hands.

What all four of these routes have in common is that the traffic itself is treated as legitimate. Firewalls and WAFs judge traffic content and origin against predefined rules — so once valid credentials are used, or a change comes through a channel outside their scope, what happens to the files afterward is simply invisible to them.

In other words: a system that prevents intrusion and a system that notices change after intrusion are, by design, watching entirely different places.

“Watching the Entrance” and “Noticing Change Inside” Are Different Roles

To summarize what we’ve covered:

Neither one alone is sufficient. Combining these two distinct roles is what moves you from simply “preventing intrusion” to also being able to “notice it when something does slip through.”

A good starting point is to take stock of how well your current setup covers each side — the entrance, and the inside — before deciding on next steps.

One example of a system built to “notice change after intrusion” is F-PAT, which monitors a web server’s files around the clock for tampering. It fills in exactly the area that firewalls and WAFs can’t reach, by watching for change at the file level.

Glossary

Firewall: Controls which traffic is allowed or blocked at the network boundary, based on IP address and port. Decides “who gets through.”
WAF (Web Application Firewall): Inspects the content of requests to a web application and blocks known attack patterns. Decides “is what they’re carrying safe.”
SQL Injection: An attack technique that manipulates a database by exploiting input fields such as forms.
Cross-Site Scripting (XSS): An attack technique that embeds malicious scripts in a web page so they execute in a visitor’s browser.
CMS (Content Management System): Software such as WordPress used to manage and update website content.
Supply chain attack: An attack that reaches a target indirectly, through a vendor, partner, or plugin rather than directly.
SCS Rating: Japan’s Security Confidence System, a supply-chain security rating that expresses a vendor’s security posture as a star rating.
Tampering detection: A mechanism for detecting changes to the files that make up a website — aimed not at intrusion itself, but at the changes that occur after intrusion.

Frequently Asked Questions

Q. If we have both a firewall and a WAF, can that prevent tampering?
They significantly reduce the risk from suspicious incoming traffic, but routes such as intrusion via valid stolen credentials or supply chain vulnerabilities can’t be caught by inspecting traffic content alone. So even with both in place, the risk of tampering isn’t reduced to zero.
Q. How urgently should WordPress updates be applied?
Not every update needs to be applied immediately and unconditionally. Patches addressing severe, actively exploited vulnerabilities should be applied as soon as possible after release. Minor fixes can usually wait for a regular maintenance window, and feature-focused updates are often better rolled out after confirming compatibility with existing plugins. The right approach is to weigh each patch’s severity, scope, and any reports of active exploitation before deciding on priority.
Q. Why are vendor-related routes more likely to be exploited?
Vendors and group companies typically hold legitimate access to your systems. The more parties involved, the more uneven security standards tend to become — and the weakest link ends up being the weak point for the whole chain. Attackers also find it more efficient to go through a less-protected vendor than to attack you directly.
Q. Besides updates, what else should we do to strengthen WordPress security?
Basic measures include using strong, hard-to-guess admin credentials, enabling multi-factor authentication, removing unused plugins, and keeping admin privileges limited to what’s actually needed. On top of that, it’s worth assuming an intrusion could still happen and having a way to notice file changes quickly.
Q. How exactly do IDs and passwords get leaked through phishing or malware?
Phishing emails lure victims to a fake site that mimics a real service, then capture whatever ID and password they enter there. Malware typically works by logging keystrokes or harvesting credentials saved in a browser on an infected device, then sending that data out. In both cases, the theft usually goes unnoticed until the credentials have already been misused.
Q. How often does tampering actually happen?
It occurs across industries and company sizes, with CMS vulnerabilities and poorly managed plugins among the most commonly reported causes. What matters most isn’t frequency, but how quickly it’s noticed — that’s usually what determines how much damage results.
Q. I’m not sure what to do first about tampering protection. Where should we start?
A good starting point is to take stock of your current setup: how well does it cover the “entrance” versus the “inside” of your site? F-PAT’s service materials also walk through how tampering detection works and what implementation looks like, which may be a useful reference as you take stock.

Consider F-PAT for web tampering detection

Start your free 1-month trial today. No setup fee, no credit card needed.