vetkit.aspnet.config.viewstate-mac-off
ASP.NET ViewState MAC validation is disabled (enableViewStateMac="false"). Attackers can tamper with ViewState and, through deserialization, execute code on the server.
Last updated:
Suite: Security
regex
ASP.NET ViewState MAC validation is disabled (enableViewStateMac="false"). Attackers can tamper with ViewState and, through deserialization, execute code on the server.
Category: SECURITY · Engine rule severity: ERROR
How to fix it
Remove enableViewStateMac="false"; ViewState MAC must always be enabled.
References
Source: packages/engine/rules/sast/config.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.