Aegisify company logo

We're Here to Help

Resources & Help Center

Search our knowledge base, view documentation, or get support. Everything you need in one place.

How does remote code execution (RCE) protection work in Aegisify WAF?

Remote code execution (RCE) is the most serious class of web vulnerability: the attacker gets the server to run code they supply. On WordPress this usually means a vulnerable plugin passes input into a PHP function such as eval, an unsafe deserialization routine, or a template engine.

How Aegisify WAF detects it

The RCE managed category matches payloads that commonly lead to code execution, including PHP function calls embedded in input, serialized PHP objects, PHP stream wrappers, and template-injection syntax. Request normalization decodes the payload first so encoded variants are recognized.

Where to configure it

Aegisify WAF → WAF Settings → Managed Protection → Remote code execution. The category is enabled by default on Free and Pro installations in current releases, with a hit threshold of 1.

How it fits with other layers

  • Command injection covers operating-system shell payloads, while RCE covers application-level code. Keep both on. See Command injection protection.
  • File upload abuse and request-integrity checks stop attackers from uploading a script they could later execute.

What a WAF cannot do

The WAF blocks known payload shapes, but the root cause is vulnerable code. Patch or remove the affected plugin as soon as an advisory is published. Aegisify Audit highlights plugins with known RCE vulnerabilities so you can prioritize updates.

Rollout

Run in Observe mode first; developer tools and code-snippet plugins can resemble RCE payloads. Once the logs are clean, enable enforcement.

Related: Managed rule categories.

2026-12-01T03:50:39+00:00January 12th, 2026||

Find this article interesting, please share.