Recipe 9-3: Preventing Forceful Browsing Attacks
This recipe shows you how to identify when attackers attempt to access resources without following the appropriate user interface work flows.
Ingredients
- ModSecurity
- Directives
- SecDisableBackendCompression
- SecContentInjection
- SecStreamOutBodyInspection
- SecEncryptionEngine
- SecEncryptionKey
- SecEncryptionParam
- SecEncryptionMethodRx
CAPEC-87: Forceful Browsing
Sample Attacks
Forceful browsing is an enumeration tactic attackers use to identify resources within a web application. These resources may not be presented by the current user interface but are still accessible if the proper request is sent. This technique can be used to identify hidden directories or backup files, but it may also be used to access other user data if access controls are improperly applied. Here is a sample scenario taken from an actual web assessment I conducted in which an application includes a “customer ID” value within the URL itself:
https://www.REDACTED.com/Cust/cust_5.php/ ...