CWE-302

Authentication Bypass by Assumed-Immutable Data

High

Description

The authentication scheme or implementation uses key data elements that are assumed to be immutable, but can be controlled or modified by the attacker.

Potential Impact

How to Fix

Architecture and Design

Implement proper protection for immutable data (e.g. environment variable, hidden form fields, etc.)

Related Weaknesses

References

View on MITRE CWE Database →

Need Help Fixing This Vulnerability?

Our security experts can help you identify and remediate CWE-302 vulnerabilities in your codebase.

Get Security Assessment