CAPEC-388: Application API Button Hijacking
An attacker manipulates either egress or ingress data from a client within an application framework in order to change the destination and/or content of buttons displayed to a user within API messages. Performing this attack allows the attacker to manipulate content in such a way as to produce messages or content that looks authentic but contains buttons that point to an attacker controlled destination.
Last updated
Overview
CAPEC-388 (Application API Button Hijacking) 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
- Targeted software is utilizing application framework APIs
Resources required
- A software program that allows the use of adversary-in-the-middle (CAPEC-94) communications between the client and server, such as a adversary-in-the-middle (CAPEC-94) proxy.
Examples
An in-game event occurs and the attacker traps the result, which turns out to be a form that will be populated to their primary profile. The attacker, using a MITM proxy, observes the following data: [Button][Claim_Item]Sourdough_Cookie[URL_IMG]foo[/URL_IMG][Claim_Link]bar[/Claim_Link] By altering the destination of "Claim_Link" to point to the attackers' server an unwitting victim can be enticed to click the link. Another example would be for the attacker to rewrite the button destinations for an event so that clicking "Yes" or "No" causes the user to load the attackers' code.
Frequently asked questions
Common questions about CAPEC-388.
- What is CAPEC-388?
- An attacker manipulates either egress or ingress data from a client within an application framework in order to change the destination and/or content of buttons displayed to a user within API messages. Performing this attack allows the attacker to manipulate content in such a way as to produce messages or content that looks authentic but contains buttons that point to an attacker controlled destination.
- What weaknesses does CAPEC-388 target?
- CAPEC-388 exploits 5 CWE weaknesses, including CWE-311 (Missing Encryption of Sensitive Data), CWE-345 (Insufficient Verification of Data Authenticity), CWE-346 (Origin Validation Error) and CWE-471 (Modification of Assumed-Immutable Data (MAID)).
- How severe is CAPEC-388?
- MITRE rates CAPEC-388 as Medium severity.
Sources
- [1]So Many Ways [...]: Exploiting Facebook and YoVille (2010)
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-388
Track the CVEs and weaknesses this technique exploits, with AI-written analysis and remediation steps.