-> OWASP (Open Web Application Security Project) is a nonprofit organization that provides open-source tools and resources for web and mobile application security. The organization is driven by volunteers and aims to make application security visible so that individuals and organizations can make informed decisions about true application security risks. OWASP provides a range of resources that are accessible to everyone, including flagship resources such as Dependency Check SCA tool suite to check for dependency vulnerabilities, CRS Dominant Web Application Firewall rule set for Mod Security and compatible WAFs, and Security Shepherd Web and mobile application training platform.
- What are the OWASP top 10 Security Risk?
- Broken Object Level Authorization: -APIs tend to expose endpoints that handle object identifiers, creating a wide attack surface of Object Level Access Control issues. Object level authorization checks should be considered in every function that accesses a data source using an ID from the user.
- Broken Authentication: -Authentication mechanisms are often implemented incorrectly, allowing attackers to compromise authentication tokens or to exploit implementation flaws to assume other user's identities temporarily or permanently. Compromising a system's ability to identify the client/user, compromises API security overall.
- Broken Object Property Level Authorization: -This category combines Excessive Data Exposure and Mass Assignment, focusing on the root cause: the lack of or improper authorization validation at the object property level. This leads to information exposure or manipulation by unauthorized parties.
- Unrestricted Resource Consumption: -Satisfying API requests require resources such as network bandwidth, CPU, memory, and storage. Other resources such as emails/SMS/phone calls or biometrics validation are made available by service providers via API integrations and paid for per request. Successful attacks can lead to Denial of Service or an increase of operational costs.
- Broken Function Level Authorization: -Complex access control policies with different hierarchies, groups, and roles, and an unclear separation between administrative and regular functions, tend to lead to authorization flaws. By exploiting these issues, attackers can gain access to other users’ resources and/or administrative functions.
- Unrestricted Access to Sensitive Business Flows: -APIs vulnerable to this risk expose a business flow - such as buying a ticket, or posting a comment - without compensating for how the functionality could harm the business if used excessively in an automated manner. This doesn't necessarily come from implementation bugs.
- Server-Side Request Forgery: -Server-Side Request Forgery (SSRF) flaws can occur when an API is fetching a remote resource without validating the user-supplied URI. This enables an attacker to coerce the application to send a crafted request to an unexpected destination, even when protected by a firewall or a VPN.
- Security Misconfiguration: -APIs and the systems supporting them typically contain complex configurations, meant to make the APIs more customizable. Software and DevOps engineers can miss these configurations, or don't follow security best practices when it comes to configuration, opening the door for different types of attacks.
- Improper Inventory Management: -APIs tend to expose more endpoints than traditional web applications, making proper and updated documentation highly important. A proper inventory of hosts and deployed API versions also are important to mitigate issues such as deprecated API versions and exposed debug endpoints.
- Unsafe Consumption of APIs: -Developers tend to trust data received from third-party APIs more than user input, and so tend to adopt weaker security standards. In order to compromise APIs, attackers go after integrated third-party services instead of trying to compromise the target API directly.