CAPEC-87: Forceful Browsing
An attacker employs forceful browsing (direct URL entry) to access portions of a website that are otherwise unreachable. Usually, a front controller or similar design pattern is employed to protect access to portions of a web application. Forceful browsing enables an attacker to access information, perform privileged operations and otherwise reach sections of the web application that have been improperly protected.
Last updated
Overview
CAPEC-87 (Forceful Browsing) is a standard-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.
How the attack works
The phases an attacker typically follows.
- Step 1Explore
[Spider] Using an automated tool, an attacker follows all public links on a web site. They record all the links they find.
- Use a spidering tool to follow and record all links.
- Use a proxy tool to record all links visited during a manual traversal of the web application.
- Step 2Experiment
[Attempt well-known or guessable resource locations] Using an automated tool, an attacker requests a variety of well-known URLs that correspond to administrative, debugging, or other useful internal actions. They record all the positive responses from the server.
- Use a spidering tool to follow and record attempts on well-known URLs.
- Use a proxy tool to record all links visited during a manual traversal of attempts on well-known URLs.
- Step 3Exploit
[Use unauthorized resources] By visiting the unprotected resource, the attacker makes use of unauthorized functionality.
- Access unprotected functions and execute them.
- Step 4Exploit
[View unauthorized data] The attacker discovers and views unprotected sensitive data.
- Direct request of protected pages that directly access database back-ends. (e.g., list.jsp, accounts.jsp, status.jsp, etc.)
What the attacker needs
Prerequisites
- The forcibly browseable pages or accessible resources must be discoverable and improperly protected.
Skills required
- Low skill: Forcibly browseable pages can be discovered by using a number of automated tools. Doing the same manually is tedious but by no means difficult.
Resources required
- None: No specialized resources are required to execute this type of attack. A directory listing is helpful, but not a requirement.
Consequences
What a successful CAPEC-87 attack can achieve.
Read Data
Affects: Confidentiality
Bypass Protection Mechanism
Affects: Confidentiality, Access Control, Authorization
How to mitigate it
Defenses that reduce the risk of CAPEC-87.
- Authenticate request to every resource. In addition, every page or resource must ensure that the request it is handling has been made in an authorized context.
- Forceful browsing can also be made difficult to a large extent by not hard-coding names of application pages or resources. This way, the attacker cannot figure out, from the application alone, the resources available from the present context.
Examples
A bulletin board application provides an administrative interface at admin.aspx when the user logging in belongs to the administrators group. An attacker can access the admin.aspx interface by making a direct request to the page. Not having access to the interface appropriately protected allows the attacker to perform administrative functions without having to authenticate themself in that role.
Terminology & mappings
Mapped taxonomies
- WASC: Predictable Resource Location (34)
- OWASP Attacks: Forced browsing
Frequently asked questions
Common questions about CAPEC-87.
- What is CAPEC-87?
- An attacker employs forceful browsing (direct URL entry) to access portions of a website that are otherwise unreachable. Usually, a front controller or similar design pattern is employed to protect access to portions of a web application. Forceful browsing enables an attacker to access information, perform privileged operations and otherwise reach sections of the web application that have been improperly protected.
- How does a Forceful Browsing attack work?
- It typically unfolds over 4 phases. It begins with: [Spider] Using an automated tool, an attacker follows all public links on a web site. They record all the links they find.
- How do you prevent CAPEC-87?
- Authenticate request to every resource. In addition, every page or resource must ensure that the request it is handling has been made in an authorized context.
- What weaknesses does CAPEC-87 target?
- CAPEC-87 exploits 3 CWE weaknesses: CWE-285 (Improper Authorization), CWE-425 (Direct Request) and CWE-693 (Protection Mechanism Failure).
- How severe is CAPEC-87?
- MITRE rates CAPEC-87 as High severity with high likelihood of attack.
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-87
Track the CVEs and weaknesses this technique exploits, with AI-written analysis and remediation steps.