CAPEC-59: Session Credential Falsification through Prediction
Description
Extended Description
Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
Severity :
High
Possibility :
High
Type :
Detailed
Relationships with other CAPECs
This table shows the other attack patterns and high level categories that are related to this attack pattern.
Prerequisites
This table shows the other attack patterns and high level categories that are related to this attack pattern.
- The target host uses session IDs to keep track of the users.
- Session IDs are used to control access to resources.
- The session IDs used by the target host are predictable. For example, the session IDs are generated using predictable information (e.g., time).
Skills required
This table shows the other attack patterns and high level categories that are related to this attack pattern.
- Low There are tools to brute force session ID. Those tools require a low level of knowledge.
- Medium Predicting Session ID may require more computation work which uses advanced analysis such as statistical analysis.
Taxonomy mappings
Mappings to ATT&CK, OWASP and other frameworks.
Related CWE
A Related Weakness relationship associates a weakness with this attack pattern. Each association implies a weakness that must exist for a given attack to be successful.
CWE-6: J2EE Misconfiguration: Insufficient Session-ID Length
CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
CWE-285: Improper Authorization
CWE-290: Authentication Bypass by Spoofing
CWE-330: Use of Insufficiently Random Values
CWE-331: Insufficient Entropy
CWE-346: Origin Validation Error
CWE-384: Session Fixation
CWE-488: Exposure of Data Element to Wrong Session
CWE-539: Use of Persistent Cookies Containing Sensitive Information
CWE-693: Protection Mechanism Failure
Visit http://capec.mitre.org/ for more details.