CAPEC-274: HTTP Verb Tampering
An attacker modifies the HTTP Verb (e.g. GET, PUT, TRACE, etc.) in order to bypass access restrictions. Some web environments allow administrators to restrict access based on the HTTP Verb used with requests. However, attackers can often provide a different HTTP Verb, or even provide a random string as a verb in order to bypass these protections. This allows the attacker to access data that should otherwise be protected.
Last updated
Overview
CAPEC-274 (HTTP Verb Tampering) is a detailed-level attack pattern catalogued by MITRE in the Common Attack Pattern Enumeration and Classification (CAPEC). It describes a recurring method attackers use to exploit software weaknesses.
What the attacker needs
Prerequisites
- The targeted system must attempt to filter access based on the HTTP verb used in requests.
Resources required
- The attacker requires a tool that allows them to manually control the HTTP verb used to send messages to the targeted server.
How to mitigate it
Defenses that reduce the risk of CAPEC-274.
- Design: Ensure that only legitimate HTTP verbs are allowed.
- Design: Do not use HTTP verbs as factors in access decisions.
Frequently asked questions
Common questions about CAPEC-274.
- What is CAPEC-274?
- An attacker modifies the HTTP Verb (e.g. GET, PUT, TRACE, etc.) in order to bypass access restrictions. Some web environments allow administrators to restrict access based on the HTTP Verb used with requests. However, attackers can often provide a different HTTP Verb, or even provide a random string as a verb in order to bypass these protections. This allows the attacker to access data that should otherwise be protected.
- How do you prevent CAPEC-274?
- Design: Ensure that only legitimate HTTP verbs are allowed.
- What weaknesses does CAPEC-274 target?
- CAPEC-274 exploits 2 CWE weaknesses: CWE-302 (Authentication Bypass by Assumed-Immutable Data) and CWE-654 (Reliance on a Single Factor in a Security Decision).
- How severe is CAPEC-274?
- MITRE rates CAPEC-274 as Medium severity.
Sources
References
Attack-pattern data is sourced from the MITRE CAPEC catalog (v3.9). Weakness associations link to the corresponding CWE entries on RadicalNotion.AI.
Defend against CAPEC-274
Track the CVEs and weaknesses this technique exploits, with AI-written analysis and remediation steps.