How attackers exploit API vulnerabilities and what you can do about it!
Tags: webmethods, api, apisecurity, apimanagement
Published: 2023-05-26 09:41:48

---
title: How attackers exploit API vulnerabilities and what you can do about it!
published: true
date: 2023-04-14 13:42:18 UTC
tags: webmethods, api, apisecurity, apimanagement
canonical_url: https://tech.forums.softwareag.com/t/how-attackers-exploit-api-vulnerabilities-and-what-you-can-do-about-it/277595
---

![](https://global.discourse-cdn.com/techcommunity/original/3X/b/a/ba8923d22441f354d4b3311c28f06eae5f3a6f71.jpeg)

[APIs](https://www.softwareag.com/en_corporate/platform/integration-apis.html) are everywhere. They enable business innovation and power mission critical operations for enterprises. With the growing dependence of businesses upon APIs, the awareness for the need to secure and protect APIs is increasing as well. A lot has already been said and written about the need for [API Security](https://www.softwareag.com/en_corporate/resources/api/article/api-security.html):

- [Gartner states](https://www.gartner.com/en/documents/4009103) that “by 2023, API abuses will move from infrequent to the most frequent attack vector, resulting in data breaches for enterprise web applications, and **by 2025, more than 50% of data theft will be due to unsecure APIs**.”
- A [survey conducted by IBM](https://www.ibm.com/downloads/cas/3R8N1DZJ) across 550 organizations that have been impacted by data breaches between March 2021 and March 2022 reports an **average cost of $4.35M** per data breach and **83% experienced more than one breach** that year. Also important to note is that **breaches caused by stolen or compromised credentials had the longest lifecycle** with an average of 243 days to identify the breach and another 84 days to contain it.

But how do attackers manage to find and exploit these vulnerabilities? What tactics do they apply and how do they go about it? Here is a [90-minute live API hacking demonstration](https://youtu.be/jhzqQlfUcsw) that illustrates how an attacker will try and test your API to find vulnerabilities and exploit them. Make sure you grab some coffee and snacks and enjoy this blockbuster!

[![Screenshot 2023-04-14 144520](https://global.discourse-cdn.com/techcommunity/original/3X/c/f/cff7996a5747723001495fd29465a09962b51d5e.jpeg)](https://www.youtube.com/watch?v=jhzqQlfUcsw)

**[SPOILER ALERT]**  
For those of you who can’t spend the time, I’ll share the most important lessons here:

1. APIs are designed for openness and manipulating data. This is why they’re valuable to businesses. But it is also why attackers like them so much. Where in the past [Security through Obscurity](https://en.wikipedia.org/wiki/Security_through_obscurity) may have worked, it **will not work with APIs**.
2. [The OWASP API top 10](https://owasp.org/www-project-api-security/) provides good insight into the types of vulnerabilities that attackers will try to find. In the wild, **most breaches are caused by a combination of vulnerabilities** , not by a single vulnerability.
3. **Applying strong security policies consistently is difficult**. The number of APIs in organizations grows at an unprecedented pace. Vulnerabilities often originate in simple mistakes, ignorance, or by cutting corners for the sake of speed. In-house development teams, outsourcing companies, and 3rd party software providers all use different technologies, and frameworks and all have varying security skills.

So what can you do to protect your APIs? Teams will make their own technology choices that match their requirements, budgets and deadlines. You need to enable teams in your organization through powerful guardrails. A strong API Security practice builds on three pillars: API Management, Shift Left and Shield Right.

1. **Full-Lifecycle API Management** should be the centerpiece of your API Security strategy. Through centralized API Governance, with an API Catalog and API Gateway, you will be able to stay in the know about what APIs exist, how they are being used, and by who. You will be able to standardize protection policies to ensure the same level of security across all of your APIs. At the same time, you are a facilitator by enabling teams to reduce the scope of what they need to worry about. But make sure that API Governance can be embedded seamlessly into their CICD processes to ensure you do not become a bottleneck to their delivery.
2. Empower teams to validate their security practices early on in the development lifecycle. By **Shifting Left** the risk of mistakes is much lower and the cost of fixing mistakes is reduced dramatically. Embrace [deliberate API design](https://blog.softwareag.com/api-design-developer-experience/) as designing API contracts makes analysts and developers consciously decide what an API should and should not do. This API contract enables a range of automated validation with specialized tools within the CICD pipeline.
3. The API contract also helps to **Shield Right** , to continuously analyze and compare which APIs are available in your environments, how they are being used, and if any API consumers are showing abnormal behaviors. Should any threats be detected, the API Gateway can easily be instructed to block these.

The combination of these three pillars provides teams in your organization with powerful guardrails that allow them to make their own decisions while empowering them to apply appropriate security practices with confidence. If you want to learn more, I can recommend the following links:

- [Preventing Vulnerabilities and Attacks - real life examples](https://blog.softwareag.com/api-security-preventing-vulnerabilities-and-attacks/)
- [API Security lessons from Sherlock Holmes](https://blog.softwareag.com/api-security-lessons-from-sherlock-holmes/)
- [How to build APIs with security in mind](https://blog.softwareag.com/build-api-with-security/)
- [Upgrade your API security with webMethods and Noname](https://blog.softwareag.com/apis-security-noname/)
- [Shield your APIs from attackers with webMethods and Salt](https://blog.softwareag.com/api-security-salt/)
- [Quickly detect API vulnerabilities with webMethods and Apisec](https://tech.forums.softwareag.com/t/quickly-detect-api-vulnerabilities-and-meet-compliance-requirements/242843)

I’ve also had a lot of fun taking the **free, self-paced penetration testing courses** by Corey Ball and Dan Barahona over at [APISEC University](https://www.apisecuniversity.com/). I’ve been working with APIs for ages and I still picked up new things!


[Read full topic](https://tech.forums.softwareag.com/t/how-attackers-exploit-api-vulnerabilities-and-what-you-can-do-about-it/277595)