CWE-16
HIPAA-164.306(a), 164.308(a)
ISO27001-A.14.2.5
WASC-15
OWASP 2017-A6
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N

ViewState MAC Disabled

Severity:
Medium
Summary

Invicti detected that MAC validation is disabled in ViewState data.

Impact

An attacker can tamper with the application's state variables located in the ViewState data structure.

Remediation

ASP.NET uses a hash code-based integrity solution called "ViewStateMac" to protect ViewState parameters against tampering attacks. You can implement this solution on a page or application level.

Required Skills for Successful Exploitation
Actions To Take
  1. For page-based protection, place the following directive at the top of affected page.<%@Page EnableViewStateMAC=true %>
  2. You can also set this option for the whole application by using web.config files. Apply the following configuration for your application's web.config file.<System.Web>
    <pages enableViewStateMac="true">
    </System.Web>
Vulnerability Index

You can search and find all vulnerabilities

Select Vulnerability
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Featured resources

Blog

Strengthening enterprise application security: Invicti acquires Kondukto

Blog

Modern AppSec KPIs: Moving from scan counts to real risk reduction

Blog

Friends don’t let friends shift left: Shift smarter with DAST-first AppSec

Blog

Vibe talking: Dan Murphy on the promises, pitfalls, and insecurities of vibe coding

Blog

What lies ahead for CMS.

Blog

How to integrate CMS with other tools.

Blog

Improve user experience through CMS.

Blog

How CMS can benefit e-commerce.

Blog

Stay updated on CMS trends.

Blog

Tips for improving CMS performance.

Blog

Learn how to secure your CMS.

Blog

Explore the advantages of CMS.

Blog

A comprehensive guide to CMS.

Build your resistance to threats. And save hundreds of hours each month.