- What is CAPEC-62?
- An attacker crafts malicious web links and distributes them (via web pages, email, etc.), typically in a targeted manner, hoping to induce users to click on the link and execute the malicious action against some third-party application. If successful, the action embedded in the malicious link will be processed and accepted by the targeted application with the users' privilege level. This type of attack leverages the persistence and implicit trust placed in user session cookies by many web applications today. In such an architecture, once the user authenticates to an application and a session cookie is created on the user's system, all following transactions for that session are authenticated using that cookie including potential actions initiated by an attacker and simply "riding" the existing session cookie.
- How does a Cross Site Request Forgery attack work?
- It typically unfolds over 3 phases. It begins with: [Explore target website] The attacker first explores the target website to determine pieces of functionality that are of interest to them (e.g. money transfers). The attacker will need a legitimate user account on the target website. It would help to have two accounts.
- How do you prevent CAPEC-62?
- Use cryptographic tokens to associate a request with a specific action. The token can be regenerated at every request so that if a request with an invalid token is encountered, it can be reliably discarded. The token is considered invalid if it arrived with a request other than the action it was supposed to be associated with.
- What weaknesses does CAPEC-62 target?
- CAPEC-62 exploits 5 CWE weaknesses, including CWE-306 (Missing Authentication for Critical Function), CWE-352 (Cross-Site Request Forgery (CSRF)), CWE-664 (Improper Control of a Resource Through its Lifetime), CWE-732 (Incorrect Permission Assignment for Critical Resource).
- How severe is CAPEC-62?
- MITRE rates CAPEC-62 as Very High severity with high likelihood of attack.