A Web Application Firewall Buys You Time. It Doesn’t Fix the Vulnerability.

by Rebecca Sutton

A web application firewall buys you time. It does not fix anything. Sitting in front of your site, it filters HTTP traffic and blocks the attack patterns it recognises. The vulnerability behind a blocked request is still sitting in your code the next morning. That distinction matters more than most vendor pitches let on, and it is now written directly into PCI DSS, which stopped treating a firewall as a stand-in for penetration testing the moment version 4.0 arrived.

What a web application firewall is actually doing

Most run as a reverse proxy. Every request to your site passes through the firewall first, gets checked against a set of rules, and only then reaches your server. OWASP frames it plainly: rules applied to an HTTP conversation, designed to catch attacks such as SQL injection and cross-site scripting that sail straight past a normal network firewall.

The rules themselves come in two flavours. A blocklist rejects traffic matching known bad patterns and waves the rest through. An allowlist flips that around, permitting only traffic that matches an approved shape for your application and rejecting anything else. Check Point’s rundown of the three deployment options (appliance, host based, or cloud) is a useful primer if you are choosing between them.

The part the marketing leaves out

A firewall is only as good as the tuning behind it. Leave the rules untouched while your application evolves, and two things happen. Real customers start tripping false positives on legitimate actions, and genuine attacks start slipping through gaps the rule set was never updated to close. OWASP is direct about this, describing the customisation and ongoing maintenance a rule set demands as significant, not incidental.

None of this is a secret to anyone who attacks these systems for a living. Encoding a payload differently is one way past a rule based firewall. Padding a request past the inspection size limit is another. Splitting a malicious string across several smaller requests is a third, and all three are well documented. A determined attacker with time on their hands treats the firewall as an obstacle to route around, not a wall to stop at.

Why tuning gets skipped in practice

Most teams do not skip firewall maintenance out of carelessness. They skip it because nobody owns it. The person who set the rules up during the initial deployment often moves on, and the rule set becomes something nobody wants to touch in case it breaks a legitimate feature. So it sits untouched through a year of application changes, growing quietly less accurate with every release.

What changed under PCI DSS, and why it is a good model to copy

For years, PCI DSS let businesses choose. Under version 3.2.1, a public-facing web application could satisfy the requirement with a code review, a penetration test, or simply by installing a web application firewall. Whichever option was cheapest or quickest usually won. A lot of businesses picked the firewall and never tested anything again.

Version 4.0 ended that shortcut. Requirement 6.4.2 now demands an automated technical solution, a web application firewall or equivalent, actively monitoring every public-facing application since March 2025. Requirement 11.4 sits alongside it, entirely separate, requiring internal and external penetration testing at least annually and after any significant change. A firewall satisfies the first. It does nothing for the second. Plenty of businesses still misread PCI DSS penetration testing requirements and assume one control quietly covers the other. It does not, and an assessor checking both requirements will notice fast.

That split is worth copying even if you are nowhere near a card payment audit. Treat detection and prevention as one job, and finding out whether either actually holds up as a second, separate job. Conflating the two is how businesses end up confident and wrong at the same time.

Firewall vs penetration test: the honest comparison

Question Web application firewall Penetration test
What it does Filters live HTTP traffic against rules Actively tries to exploit real vulnerabilities
When it runs Continuously, in production At a point in time, then repeated periodically
Business logic flaws Rarely caught, it only sees traffic patterns A core focus of manual testing
Fixes the underlying bug No No, but it names the fix precisely
Degrades without attention Yes, quickly No, each engagement starts fresh

Neither row wins outright. A firewall without testing is a guess dressed up as a control. Testing without a firewall leaves you exposed to every opportunistic bot the moment a public exploit drops. Run both, and each one covers exactly what the other cannot.

What this means for your business

Person reviewing a live website on a laptop after a web application firewall alert

If your site is customer-facing, a web application firewall is a sensible baseline, and a reasonably cheap one. But budget for testing too, especially if the site takes payments, holds accounts, or handles anything a customer would be unhappy to see leaked. A web application penetration test is what actually answers whether a skilled attacker, working through your logins, your payment flow and your account permissions, can get further than your firewall’s rule set was ever written to stop.

Aardwolf Security scopes these tests around exactly that question, and we are glad to talk through where your existing firewall fits before you commit to anything. Reach out through our contact page if a second opinion would help. There is no pressure attached.

Frequently asked questions

Is a web application firewall worth having at all?

Yes, for most customer-facing sites. It stops a real amount of automated, opportunistic attack traffic before it ever reaches your code, and it buys time after a new vulnerability is disclosed elsewhere.

Why can attackers still get past one?

Rule based firewalls recognise known patterns. Encoding tricks, oversized requests and split payloads can all slip past rules that were never written to anticipate them, which is exactly why manual testing still finds things a firewall misses.

Does PCI DSS require a web application firewall now?

Yes. Requirement 6.4.2 has required an automated technical solution, typically a firewall, in front of public-facing web applications since March 2025.

Does that mean penetration testing is optional if the firewall is in place?

No. Requirement 11.4 requires penetration testing regardless, at least once every twelve months and after significant changes. The two requirements run independently of each other.

What should a business do first if it has neither control yet?

Get the firewall live first, since it is quicker to deploy and starts filtering traffic immediately. Then commission a penetration test to find out what the firewall alone will never tell you.

Who should own the firewall once it is running?

Someone specific, named, and not just “IT” in the abstract. Untended rule sets are the single most common reason a web application firewall quietly stops matching the application it protects. A short quarterly review, checking the rules against anything that changed on the site, catches most of the drift before it becomes a gap.

Subscribe to our newsletter

Honest updates, straight to your inbox. Unsubscribe any time.

You may also like