The signature set is scored against a labelled corpus — detection rate, false-positive rate and a per-category breakdown — so coverage is a number, not a hunch.
scripts/eval runs the real rules.Inspector in-process against a labelled corpus of attack and benign requests, reporting detection rate, false-positive rate, a per-category breakdown, and the exact misses and false positives — so you can grow toward OWASP CRS coverage with a measurement instead of a guess.
php2shell is two critical PHP remote-code-execution flaws, each reported at CVSS 9.2: CVE-2026-109619 (stale global state) and CVE-2026-109618 (out-of-memory corruption). A WAF addresses them in two different ways, and we are precise about which does what.
What PHP2SHELL-001 blocks today. ObsidianWAF ships a dedicated rule (ruleset php) for the confirmed session path of CVE-2026-109619: a crafted upload carrying the session upload-progress field PHP_SESSION_UPLOAD_PROGRESS, which PHP begins processing before your application script runs — so an application-level fix alone cannot stop it. The rule matches that field in request bodies and query strings and scores 5, blocking on a single hit in both first-match and anomaly-scoring modes. It is the inbound equivalent of the server-side mitigation session.upload_progress.enabled=0, applied at the edge before the request reaches PHP. Apps that genuinely use session.upload_progress can allowlist their upload route with a rules.exceptions entry disabling PHP2SHELL-001.
What it does not cover. The signature does not address CVE-2026-109618 (OOM corruption) or the non-session variants of 109619. CVE-2026-109618 is an allocation-failure RCE whose WAF-relevant defence is proxy-level request-shape limits — caps on decoded request size, input field count, multipart part count, header count and nesting depth, enforced even on requests without a usable Content-Length. ObsidianWAF enforces all of these: body-size (413) and header-size caps, plus an opt-in request_limits block capping header count, multipart part count, form-field count and JSON/XML nesting depth (LIMIT-001..005). Alongside the WAF, apply the PHP-side mitigations from the official advisories (a hardened memory_limit, a low post_max_size, and a worker-scoped cgroup/container limit).
The bundled corpus (scripts/eval/corpus/) is intentionally honest: it includes attacks the starter ruleset does not yet catch (SSTI, NoSQL, XXE) and benign traffic that trips a noisy rule, so the scoreboard shows the real gap to full coverage rather than a vanity 100%.
Extend the corpus with your own cases via -attacks / -benign, and gate it in CI with -fail-under / -fail-over so a regression fails the build.
We'll help you roll out in detect mode and tune for your traffic before you enforce.