Glossary

Virtual patching: what it is

Virtual patching is a rule written for one specific vulnerability and applied in front of the exposed system: it blocks attempts to exploit it without changing the software. It protects you while the fix does not exist yet or has not been installed.

In short

A real patch fixes the code of the vulnerable software. A virtual patch does not touch the code: it sits in front of the system, recognises requests that try to exploit that flaw and stops them before they reach their target. The flaw is still there, but whoever tries to use it does not get through.

That is why virtual patching does not replace the update. It is temporary, targeted protection: it covers the window between the discovery of the vulnerability and the installation of the vendor's fix, and then gives way to the patch.

How it works

The rule usually lives in a component that filters the traffic going to the system, such as a web application firewall (WAF) or an intrusion prevention system (IPS). The work happens in three steps:

  • understanding the flaw: which parameter, which page, which kind of request makes the attack possible;
  • writing a rule for that flaw: precise enough to block exploitation, narrow enough not to stop legitimate traffic;
  • applying it only where it is needed, that is in front of the systems that actually use the vulnerable component, as shown by a vulnerability assessment.

The difference from a generic filter is precisely the aim: one rule per vulnerability, not a set of blanket blocks that risk slowing the site down or stopping real users.

Why it matters

Some time always passes between the moment a vulnerability is discovered and the moment the fix is installed. Sometimes the vendor has not yet released the update: this is the case with zero-days. Other times the update exists but cannot be installed straight away: a live website has to be tested first, a business application depends on a supplier, a critical system cannot be stopped whenever you like.

In that window patch management alone is not enough, and virtual patching reduces exposure. But its limits need to be stated clearly:

  • it protects against exploitation of that vulnerability, not the others;
  • it works on attacks that pass through the point where it is applied: anyone reaching the system by another route is not filtered;
  • as soon as the vendor's fix is available it must be installed, and only then is the finding closed.

Example

A company runs its website on WordPress, with a plugin for contact forms. A researcher discovers a vulnerability in the plugin that can be exploited without authentication and reports it to the vendor through coordinated disclosure: the CVE will only be published when the fix is ready, a few weeks later.

In the meantime, a rule written for that flaw and applied in front of the website blocks the requests that try to exploit it. The site stays online and the plugin keeps working. When the update comes out, the company tests it and installs it: from then on the rule is no longer the only defence, and the problem is fixed at the root.

This is exactly the path we follow with the vulnerabilities discovered by Dottor Marc's researchers: 78 with an official CVE since 2023, mostly in WordPress plugins and themes. Every discovery enters Dottor Box the same day, and exposed customers are protected weeks before the vulnerability becomes public. CVEs that have already been fixed can be looked up in the public CVE archive.

Related terms

Frequently asked questions

Frequently asked questions about virtual patching

Does virtual patching replace the software update?

No. It blocks exploitation of one specific vulnerability, but the flaw remains in the code. It covers the time during which the fix does not exist or cannot be installed yet; as soon as the vendor releases it, it must be installed.

What is the difference between virtual patching and a firewall?

A firewall decides who can reach a system and on which ports. Virtual patching is a rule written for a single vulnerability: it lets normal traffic through and stops only the requests that try to exploit that flaw. The rule is often applied by a web application firewall, but its target is far more precise.

Does virtual patching also protect against zero-days?

Yes, on one condition: someone must know about the vulnerability and have written the rule. That is why it helps to work with people who discover vulnerabilities: zero-days found by Dottor Marc's researchers enter Dottor Box on the day of discovery, with an alert to exposed customers and the virtual patching rule.

Dottor Box

Where you find it in Dottor Box

Vulnerabilities discovered by our researchers enter Dottor Box before they become public: the Vulnerability Assessment checks where the component is exposed, and a virtual patching rule blocks exploitation until the vendor's fix.