Mass Assignment Protection
Blocks privilege escalation attempts via hidden JSON body parameters. Blocks privilege escalation attempts via hidden JSON body parameters.
Overview
Blocks privilege escalation attempts via hidden JSON body parameters.
Feature details
Role/Privilege Fields
role , roles , is_admin , isAdmin , admin , privilege , permissions
Account Control
is_active , is_verified , status , account_status , locked
Database Fields
_id , __v , createdAt , updatedAt , version
Financial Fields
balance , credits , subscription_tier , plan
Password Fields
password , password_confirmation , current_password
Auth Fields
api_key , access_token , refresh_token , session_id
MongoDB Prototype Pollution
__proto__ , constructor , prototype
Nested Object Injection
user[role] , data.isAdmin , profile.privileges
Deep JSON Body Scanning (recursive object traversal)
Form Parameter Inspection (multipart, URL-encoded)
Query String Parameter Analysis
Field Name Blacklist with Pattern Matching
Whitelist-based Field Allowlisting
Model Schema Validation
Underscore/CamelCase Normalization
Nested Object Detection
Wildcard Parameter Rejection ( * , ** , [*] )
BLOCK
Reject requests containing protected fields
STRIP
Remove protected fields before processing
ALERT
Log only, allow request (monitoring mode)
AUTO
Block if score exceeds threshold
How CloFix WAF uses it
Blocks privilege escalation attempts via hidden JSON body parameters. 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/mass-assignment/