Common mistakes with BunkerWeb for security teams replacing Nginx
Security teams replacing Nginx and ModSecurity often face deployment failures by enabling blocking mode before collecting a full week of traffic logs. Improper Kubernetes configurations and unpatched Nginx vulnerabilities like CVE-2026-123007 also create significant risks.
Deployment and Configuration Errors
Security teams often face deployment failures when they enable blocking mode before testing traffic for a full week. ModSecurity requires detection-only mode to identify false positives and allow for rule tuning before you enable prevention. They should collect logs under typical traffic to refine rules instead of enabling aggressive blocking that increases the support burden. Applying broad exceptions or disabling entire rule groups to solve a single issue weakens the protection for all tenants. BunkerWeb users must also account for stricter regex requirements and new TLS settings that change how upstream communication works. The recent update replaced the fragmented volume structure with a single bw-data volume to manage certificates and configurations. Users no longer use the ROOT_SITE_SUBFOLDER setting or the old blocking mechanisms for bad referrers. The new blacklisting and whitelisting systems allow for custom choices regarding IP addresses, user-agents, and URIs. ModSecurity tuning involves investigating blocked requests and applying targeted exceptions to specific virtual hosts or URIs. If a security administrator enables blocking mode without collecting at least one week of logs under typical traffic conditions, they will likely face repeated support complaints due to false positives that block valid requests. BunkerWeb also requires an explicit API_TOKEN line in variables.env if you use the Lua API disk fallback. Banning an IP address in BunkerWeb now clears its counter, which prevents a single new offense from immediately re-banning a user. To save resources, teams should exclude static assets like images, CSS, and JS from deep inspection.
Orchestration and Containerization Failures
Kubernetes deployments frequently fail because users ignore the requirements for the Ingress controller. Kingress requires the backend Service to listen on port 80 to handle traffic translation. If the Service port is not 80, Kingress returns a silent 503 error. In tenant-scoped namespaces, the admission webhook rejects any Ingress that lacks an allowed ingressClassName like traefik or nginx. You must include the acme.cert-manager.io/http01-edit-in-place annotation to prevent the certificate from staying in a "Not Ready" state. Security teams also face issues when they attempt to grant cluster-admin rights to solve permission errors. Unauthorized errors mean the system does not recognize the user, while Forbidden errors indicate the user is recognized but lacks specific permissions. ImagePullBackOff occurs when the system cannot find the container image due to typos or registry access issues. CrashLoopBackOff signals that the application inside the container is unstable, often because of a bad command in the Dockerfile or a misconfigured liveness probe. Can a security team successfully manage these layers without deep container expertise? Mounting the Docker socket inside a container grants the container access to the Docker daemon and allows attackers to take control of the host. Additionally, the Kubelet and the container runtime must use the same cgroup driver, such as systemd, to prevent node instability. Users may also experience FailedScheduling errors if resource requests are too high or if nodeSelector rules are too selective.
Vulnerability Patching Requirements
Nginx vulnerabilities require immediate action to prevent remote code execution. The CVE-2026-123007 and CVE-2026-123633 flaws affect Nginx releases 1.9.5 through 1.31.8. These bugs in the HTTP/2 code cause memory corruption and use-after-free errors. Researchers from Xint and Wiz achieved remote code execution against official Nginx builds using these flaws.
| Vulnerability | Affected Nginx Versions | Impact |
|---|---|---|
| CVE-2026-123007 | 1.9.5 to 1.31.8 | Memory corruption |
| CVE-2026-123633 | 1.19.7 to 1.31.8 | Use-after-free |
| CVE-2026-123634 | 1.9.5 to 1.31.8 | Resolver vulnerability |
If you cannot update Nginx immediately, turn off HTTP/2 to close the vulnerability. Security teams also monitor PHP for critical updates. The November 19 releases for PHP 8.5.13, 8.4.28, 8.3.37, and 8.2.36 fix several remote code execution bugs. The CVE-2026-115560 bug allows an attacker to inject data into a PHP session via the upload progress feature. This specific flaw requires the server to set session.serialize_handler to php_binary or php_serialize and to have session.upload_progress.enabled set to on. You can mitigate this by setting session.upload_progress.enabled to off in the php.ini file or the PHP-FPM pool configuration. These PHP-FPM fixes also address request smuggling through unread HTTP request bodies and local privilege escalation via a use-after-free vulnerability.