Path Normalization Protection
Blocks path traversal bypasses using URL encoding, Unicode, and double encoding tricks. Blocks path traversal bypasses using URL encoding, Unicode, and double encoding tricks.
Overview
Blocks path traversal bypasses using URL encoding, Unicode, and double encoding tricks.
Feature details
Basic Path Traversal
../ , ..\\ , .../
URL Encoded
%2e%2e%2f , %2e%2e/
Double Encoding
%252e%252e%252f , %252e%252e/
Unicode Normalization
%c0%ae%c0%ae%c0%af (overlong UTF-8)
Null Byte Injection
file.php%00.jpg , ..%00/
Mixed Slashes
..\\../ , ..//../
Directory Self-Reference
/./././etc/passwd
Parent Directory Repetition
....//....//....//etc/passwd
Hex Encoding
%2E%2E%2F (uppercase/lowercase mix)
Backslash Variants
..%5c (Windows path separator)
UTF-16 Encoding
%ff%fe%2e%00%2e%00%2f%00
Path Prefix Bypass
/var/www/../../../etc/passwd
Multi-layer URL Decoding (3-pass decode)
Unicode Normalization (NFC/NFKD)
Path Canonicalization ( path.Clean() )
Null Byte Stripping
Character Whitelist Validation
Base Path Enforcement (chroot-style)
Forbidden Pattern Detection
Sensitive Path Blacklisting ( /etc/passwd , /proc/ , /root/ )
Backslash to Forward Slash Conversion
Double Path Clean Validation
How CloFix WAF uses it
Blocks path traversal bypasses using URL encoding, Unicode, and double encoding tricks. 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/path-normalization/