Just looking to see if anyone can explain this further.
In support article 829743 on microsoft.com, they say:
If you turn the view state MAC feature off, and then you use view state for controls that do not HTML encode (for example, a Label control), attackers can tamper with the view state data and can put arbitrary data in view state. This arbitrary data is decoded and then used by controls when they render the posted page. As a result, attackers can inject script into the application unless you work to prevent the attack. For example, an attacker could decode the data, inject script into the data where a Label control is, and then link to it from a Web site. Anyone who clicks on the link would be the victim of a script injection attack that could potentially steal their authentication cookies or session id. The script could also let an attacker alter state data for controls that use view state and application specific attacks could occur as a result.
This makes no sense to me. Why would a label control, or any other static control that never changes and doesn't engage with http request data, need viewstate? I thought only form controls would use viewstate. Is there something I'm missing? If the label control uses viewstate, then that's messed up, IMHO. Just looking for clarification if anyone can shed some light. Maybe it's not late enough or I haven't had enough beer yet. Thx!