CWE-301: Reflection Attack in an Authentication Protocol | Glexia
CWE-301 (Reflection Attack in an Authentication Protocol) weakness overview with consequences, detection methods, mitigations, related CVEs and MITRE ATT&CK context.
Glexia's Take · Automated analysis
CWE-301: Reflection Attack in an Authentication Protocol
Reflection Attack in an Authentication Protocol represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Executive Impact
- Access Control: Gain Privileges or Assume Identity: The primary result of reflection attacks is successful authentication with a target machine -- as an impersonated user.
Developer Pattern
CWE-301 is the kind of defect developers can usually prevent with explicit validation, safer framework defaults, and tests that exercise hostile input or unsafe state transitions.
Automation confidence
high confidence from CWE-301, 4.20.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Official CWE Definition
CWE-301: Reflection Attack in an Authentication Protocol
Simple authentication protocols are subject to reflection attacks if a malicious user can use the target machine to impersonate a trusted user.
Developer And Remediation Guidance
How teams prevent and detect this weakness
Causes
- The following example demonstrates the weakness.
Remediation
- Architecture and Design: Use different keys for the initiator and responder or of a different type of challenge for the initiator and responder.
- Architecture and Design: Let the initiator prove its identity before proceeding.
Detection
- Code review
- SAST
- DAST
- Focused regression tests
Mappings
Related CVEs, CWEs, and ATT&CK context
ATT&CK Relevance
ATT&CK relevance is shown only when reviewed or responsibly inferred.
