{"id":6069,"date":"2024-11-01T13:19:17","date_gmt":"2024-11-01T19:19:17","guid":{"rendered":"https:\/\/www.darkreading.com\/application-security\/main-api-security-risks-manage"},"modified":"2024-11-01T13:19:17","modified_gmt":"2024-11-01T19:19:17","slug":"4-main-api-security-risks-organizations-need-to-address","status":"publish","type":"post","link":"https:\/\/ddi.mohflo.net\/index.php\/2024\/11\/01\/4-main-api-security-risks-organizations-need-to-address\/","title":{"rendered":"4 Main API Security Risks Organizations Need to Address"},"content":{"rendered":"<div class=\"media_block\"><a href=\"https:\/\/i0.wp.com\/eu-images.contentstack.com\/v3\/assets\/blt6d90778a997de1cd\/blt556bb85fc0185f9f\/672408bc3d7a4f4b033b6058\/api_Who_is_Danny_shutterstock.jpg?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/11\/4-main-api-security-risks-organizations-need-to-address.jpg?w=640&#038;ssl=1\" class=\"media_thumbnail\"><\/a><\/div>\n<div><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/11\/4-main-api-security-risks-organizations-need-to-address.jpg?w=640&#038;ssl=1\" class=\"ff-og-image-inserted\"><\/div>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">Security vulnerabilities in the application programming interfaces (APIs) powering modern digital services and applications have emerged as a major threat to enterprise systems and data.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">A recent report from <\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"><a class=\"ContentText-BodyTextChunk ContentText-BodyTextChunk_link\" target=\"_blank\" href=\"https:\/\/www.prnewswire.com\/news-releases\/wallarm-releases-q3-2024-api-threatstats-report-revealing-significant-api-security-threats-302283752.html\" rel=\"noopener\">Wallarm<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"> showed a 21% increase in API-related flaws between Q2, 2024 and the end of the last quarter. Nearly one-third of them (32%) were associated with cloud infrastructure and cloud native applications and services. In addition to the increased volume, a high proportion of the vulnerabilities that Wallarm reviewed last quarter had severity scores of 7.5 or higher indicating growing risk for organizations from API use.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">&#8220;In Q3 we saw API breaches driven by authentication and authorization issues, leaked API data, and classic injection attacks,&#8221; says Ivan Novikov, Founder and CEO of Wallarm. Significantly, while many of the vulnerabilities in OWASP&#8217;s list of Top 10 API vulnerabilities are server focused, Wallarm&#8217;s data showed an uptick in client side flaws like OAuth misconfiguration and cross-site issues, Novikov says. &#8220;It\u2019s concerning because defenders are resource constrained and need to focus on the most important types of attacks,&#8221; Novikov says.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">A continuing enterprise emphasis on API integration and functionality\u2014over security\u2014is exacerbating the issue. Less than four-in-ten (37%) organizations currently have formally incorporated security testing into their API lifecycle management practices, a study by <\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"><a class=\"ContentText-BodyTextChunk ContentText-BodyTextChunk_link\" target=\"_blank\" href=\"https:\/\/www.postman.com\/state-of-api\/2024\/\" rel=\"noopener\">Postman<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"> earlier this year found. &#8220;APIs are now a top target for malicious actors, making security and observability critical,&#8221; the report noted.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">What are the major contributors to API security risks and what should organizations be doing to mitigate them?<\/span><\/p>\n<h2 class=\"ContentText ContentText_variant_h2 ContentText_align_left\" data-testid=\"content-text\" id=\"Misconfigured APIs\">Misconfigured APIs<\/h2>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">Many API security issues in recent years have stemmed from relatively easily avoidable misconfigurations. Common examples include inadequate authentication and authorization, lack of input validation, improper rate limiting, inadequate logging and monitoring and exposing sensitive data through error messages. Such misconfigurations can have severe consequences.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">For instance, Broken Object Level Authorization (BOLA) \u2014 or when an API does not properly validate user access to resources \u2013 can allow attackers to manipulate object IDs to access unauthorized data says Ankit Sobti, co-founder and CTO of Postman. Similarly, Broken User Authentication vulnerabilities, when an API fails to enforce proper authentication, often allow attackers to bypass authentication checks and gain unauthorized access to endpoints, he notes.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">Organizations can mitigate such issues by implementing security best practices such as strict authorization checks, role-based access control, multifactor authentication, applying server-side data filtering and reviewing API responses for unnecessary data.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">&#8220;Without proper rate limiting, APIs become vulnerable to abuse through techniques like brute force attacks or denial-of-service (DoS) attacks, which can overwhelm the service,&#8221; Sobti stresses.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">The vast majority of API-related breaches over the last few years have resulted from poor posture governance, says Nick Rago, field CTO at Salt Security. &nbsp;In many instances, &#8220;the barrier to breach was pretty low and the attacker did not need any herculean effort to take advantage of a misconfigured API.&#8221;<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">Rago attributes the problem to a lack of proper oversight over API development and management. &#8220;Building a governance framework, centered around the creation of a corporate posture standard,&#8221; is an important first step. To alleviate risks, organizations need to implement capabilities for discovering API assets, assessing their security posture and remediating non-compliance as needed, Rago says.<\/span><\/p>\n<h2 class=\"ContentText ContentText_variant_h2 ContentText_align_left\" data-testid=\"content-text\" id=\"Badly Designed APIs\">Badly Designed APIs<\/h2>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">Poorly designed APIs are another major driver of API security incidents, says Rago. These are APIs that do everything they are supposed to do, expect in a manner than an adversary can take advantage of, he says. &#8220;Think of APIs that return more information than an application needs, or APIs that can be scraped for information over time<\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"><span class=\"ContentText-BodyTextChunk ContentText-BodyTextChunk_bold\">.<\/span><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">&#8220;<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">Other examples include APIs that use unvalidated SQL inputs, expose implementation details or that are too complex and bloated, handle errors in an insecure manner or have inconsistent naming and structure.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">A poorly designed API can also sometimes ignore business logic inconsistencies, Rago says. Examples include ecommerce APIs that allow users to manipulate prices or allow users to make modifications that enable overly permissive access to accounts and transactions to which they are not entitled. Imperva&#8217;s <\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"><a class=\"ContentText-BodyTextChunk ContentText-BodyTextChunk_link\" target=\"_blank\" href=\"https:\/\/www.imperva.com\/resources\/resource-library\/reports\/the-state-of-api-security-in-2024-report-ty?lang=EN&amp;asset_id=6789&amp;gated=1\" rel=\"noopener\">State of API Security 2024<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"> report in fact, identified business logic abuse as the top attack on APIs last year. These attacks accounted for 27% of all API related attacks in 2023, an increase of some 10% over the prior year.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">&#8220;Both, abuse of badly designed APIs or attacks leveraged against a business logic vulnerability can be addressed by leveraging specialized behavioral threat protection that can decipher not just anomalous usage, but discern malicious intent behind an API consumer,&#8221; Rago notes.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">As Imperva&#8217;s vice president of API security Lebin Cheng, <\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"><a class=\"ContentText-BodyTextChunk ContentText-BodyTextChunk_link\" target=\"_blank\" href=\"https:\/\/www.linkedin.com\/posts\/imperva_api-design-is-pretty-bad-heres-how-to-activity-7199422595451019266-SpBS\/\" rel=\"noopener\">wrote in an op-ed<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"> earlier this year, poorly made API design decisions can have a lasting impact on organizations and their customers. APIs for instance could cause serious performance bottlenecks if developers fail to consider scalability requirements when designing them. Similarly, in focusing mostly on business needs, developers can often overlook common security issues\u2014such as buffer overflow errors\u2014during design time, Cheng wrote.&nbsp; &#8220;The issue of poor API design is further compounded by the fact that there are no strict standards for how APIs should be designed,&#8221; he said. &#8220;This leaves it up to individual developers to determine the best way to implement and develop APIs, which means that poor design decisions can easily slip through the cracks.&#8221;<\/span><\/p>\n<h2 class=\"ContentText ContentText_variant_h2 ContentText_align_left\" data-testid=\"content-text\" id=\"Lack of Visibility\">Lack of Visibility<\/h2>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">APIs have emerged as a <\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"><a class=\"ContentText-BodyTextChunk ContentText-BodyTextChunk_link\" target=\"_blank\" href=\"https:\/\/www.darkreading.com\/vulnerabilities-threats\/api-security-crisis-why-your-company-could-be-next\" rel=\"noopener\">top attack vector<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"> for threat actors because of their near ubiquitous use. Imperva&#8217;s research showed organizations on average have 613 API endpoints per account. The security vendor found API traffic in 2023 to account for 71% of all web traffic in 2023 with the average enterprise making 1.5 billion API calls year.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">Despite the <\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"><a class=\"ContentText-BodyTextChunk ContentText-BodyTextChunk_link\" target=\"_blank\" href=\"https:\/\/www.darkreading.com\/application-security\/api-security-the-big-picture\" rel=\"noopener\">proliferating use<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">, and the corresponding risk exposure, many organizations don&#8217;t have enough visibility over their APIs.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">&#8220;New methods are required to discover and test APIs,&#8221; says Kimm Yeo solutions manager at Black Duck. Organizations need to start thinking about API security in a more proactive manner, Yeo advocates. That means implementing capabilities to discover and inspect APIs earlier in the software development lifecycle, she says. The goal should be to ensure APIs and applications are continuously tested before they get into production. &#8220;Today&#8217;s API security solutions largely focus on implementing API discovery during production [where] any critical alerts produced are difficult to trace to the code,&#8221; she says. This can make it impossible for developers to fix identified issues, she says.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">The pressing issue at hand is the lack of inventory of all the APIs that are exposed to the outside world in most organizations, says Krishna Vishnubhotla, vice president of product strategy at Zimperium. &#8220;It&#8217;s critical to act quickly as bad actors are exploiting this gap,&#8221; he says. &#8220;The first step is to urgently discover and inventory all these public APIs, followed by immediate measures to secure them.<\/span><\/p>\n<h2 class=\"ContentText ContentText_variant_h2 ContentText_align_left\" data-testid=\"content-text\" id=\"Inadequate Security Testing\">Inadequate Security Testing<\/h2>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"><span class=\"ContentText-BodyTextChunk ContentText-BodyTextChunk_bold\">&nbsp;<\/span><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">Many organizations are failing to prioritize API security adequately and often underestimate the unique risks APIs pose. Postman&#8217;s survey found just 37% of organizations currently do automated scanning and regular penetration tests to try and catch API vulnerabilities earlier in the development lifecycle. Relatively few have integrated security testing and checks in their API development process or centralized API monitoring capabilities.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">Organizations that embrace API-first strategies \u2014 where APIs are a priority focus during the software planning, design, architecture and development process\u2014are seeing better success on the API security front, say Rago from Salt Security. &#8220;Those organizations typically enforce \u201cspec first development\u201d meaning an API must be \u201cblueprinted\u201d with Swagger or OAS and approved before a line of code is written,&#8221; he says. &#8220;You need to blueprint the hospital first and validate its construction against the plan before you let patients in. Seems obvious but in most organizations that is still not the way it works.&#8221;<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">API risks fall under two big categories: access and availability, Wallarm&#8217;s Novikov says. Attackers either gain access to something they shouldn\u2019t, or they can take an API offline by impacting its availability. &#8220;There are lots of technical details about how they might accomplish these objectives, but they all bubble up to these two outcomes.&#8221;<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">At a high level the key protections against these risks is strong authentication and authorization across all API endpoints, he says. &#8220;That means knowing all the APIs you have, which should require authentication, strictly checking authorization on the server-side, and implementing advanced rate limiting to slow attackers down,&#8221; he advises. &#8220;These mitigations are best practices, but that doesn\u2019t mean they\u2019re common practices.&#8221;<\/span><\/p>\n<p><a href=\"https:\/\/www.darkreading.com\/application-security\/main-api-security-risks-manage\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Security vulnerabilities in the application programming interfaces (APIs) powering modern<\/p>\n","protected":false},"author":12,"featured_media":6070,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[809],"class_list":["post-6069","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-dark-reading"],"featured_image_urls":{"full":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/11\/4-main-api-security-risks-organizations-need-to-address.jpg?fit=1920%2C1080&ssl=1",1920,1080,false],"thumbnail":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/11\/4-main-api-security-risks-organizations-need-to-address.jpg?resize=150%2C150&ssl=1",150,150,true],"medium":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/11\/4-main-api-security-risks-organizations-need-to-address.jpg?fit=300%2C169&ssl=1",300,169,true],"medium_large":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/11\/4-main-api-security-risks-organizations-need-to-address.jpg?fit=640%2C360&ssl=1",640,360,true],"large":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/11\/4-main-api-security-risks-organizations-need-to-address.jpg?fit=640%2C360&ssl=1",640,360,true],"1536x1536":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/11\/4-main-api-security-risks-organizations-need-to-address.jpg?fit=1536%2C864&ssl=1",1536,864,true],"2048x2048":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/11\/4-main-api-security-risks-organizations-need-to-address.jpg?fit=1920%2C1080&ssl=1",1920,1080,true],"chromenews-featured":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/11\/4-main-api-security-risks-organizations-need-to-address.jpg?fit=1024%2C576&ssl=1",1024,576,true],"chromenews-large":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/11\/4-main-api-security-risks-organizations-need-to-address.jpg?resize=825%2C575&ssl=1",825,575,true],"chromenews-medium":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/11\/4-main-api-security-risks-organizations-need-to-address.jpg?resize=590%2C410&ssl=1",590,410,true]},"author_info":{"display_name":"Dark Reading","author_link":"https:\/\/ddi.mohflo.net\/index.php\/author\/darkreading\/"},"category_info":"<a href=\"https:\/\/ddi.mohflo.net\/index.php\/category\/uncategorized\/\" rel=\"category tag\">Uncategorized<\/a>","tag_info":"Uncategorized","comment_count":"0","jetpack_featured_media_url":"https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/11\/4-main-api-security-risks-organizations-need-to-address.jpg?fit=1920%2C1080&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/posts\/6069","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/comments?post=6069"}],"version-history":[{"count":0,"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/posts\/6069\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/media\/6070"}],"wp:attachment":[{"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/media?parent=6069"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/categories?post=6069"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/tags?post=6069"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}