<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jamie Beckland on Medium]]></title>
        <description><![CDATA[Stories by Jamie Beckland on Medium]]></description>
        <link>https://medium.com/@Beckland?source=rss-7fd8ae3ea3d7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*uOYOuvRH-pRydqXB.jpg</url>
            <title>Stories by Jamie Beckland on Medium</title>
            <link>https://medium.com/@Beckland?source=rss-7fd8ae3ea3d7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 04:54:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Beckland/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Ask the Experts: Understanding the API Context Maturity Model — Level 0 — Open, Public API Calls]]></title>
            <link>https://medium.com/traceable-and-true/ask-the-experts-understanding-the-api-context-maturity-model-level-0-open-public-api-calls-9c2b1897f100?source=rss-7fd8ae3ea3d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c2b1897f100</guid>
            <category><![CDATA[api-development]]></category>
            <category><![CDATA[api-security]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[api-management]]></category>
            <dc:creator><![CDATA[Jamie Beckland]]></dc:creator>
            <pubDate>Wed, 26 Jul 2023 14:13:31 GMT</pubDate>
            <atom:updated>2023-07-26T14:13:31.458Z</atom:updated>
            <content:encoded><![CDATA[<h3>Ask the Experts: Understanding the API Context Maturity Model — Level 0 — Open, Public API Calls</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wxMV1Y0rhRb0vXEHSbJB0w.jpeg" /></figure><h4>By: Mayur Upadhyaya &amp; Jamie Beckland</h4><p>Welcome to our new series, &#39;Ask the Experts: Understanding the API Context Maturity Model.&#39; In the course of developing the <a href="https://bycontxt.com/blog/introducing-the-api-context-maturity-model?utm_source=Contxt">Context Maturity Model</a>, we spoke with hundreds of technology leaders across a variety of industries. In this series, we hear from some of these experts in their own words. Throughout this series, we will share their candid thoughts and feedback anonymously, to give you the most unfiltered view of the current state of APIs.</p><p>Our journey begins at Level 0 - Open, Public API Calls. APIs at this level are accessible to anyone and can be called freely. They serve as the foundation for organizations entering the realm of APIs, creating an open-ended environment for data sharing but also posing significant potential risks.</p><p>A technology lead at a multinational oil and gas company offered insight into their experience at this level. He noted, &quot;APIs initially seemed like a simple way to share data and establish connections. However, we quickly realized that without proper control measures, our exposure to risk was far greater than necessary.&quot;</p><p>These sentiments underscore the trade-offs businesses must consider at Level 0. While open, public API calls can accelerate digital transformation, they also emphasize the importance of implementing secure API practices from the outset.</p><p>Another perspective came from a manager at a global retailer, who described an incident where public access to an API led to its misuse and unnecessary exposure of a significant amount of data. This experience further highlights the potential pitfalls at this level.</p><p>Open, public API calls are incredibly useful, but they should only be used once you have confirmed that there is no risk of proprietary or sensitive data leaks.</p><p>As we progress through the <a href="https://bycontxt.com/blog/introducing-the-api-context-maturity-model">Context Maturity Model</a> in subsequent posts, we will explore how to navigate these challenges and adopt more secure and sophisticated API practices. The journey from open, public API calls to achieving open standards compliance has many considerations, but by understanding each level&#39;s unique challenges, your organization can confidently navigate the path to API maturity.</p><p>Join us in our next post as we delve into Level 1 - Authenticated API Calls. As always, if you&#39;d like more information on API security and best practices, feel free to reach out. We&#39;re here to help!</p><p><em>Originally published at </em><a href="https://bycontxt.com/blog/g9t2130mj7gn23bu32drhtesqzuny8?utm_source=Medium"><em>bycontxt.com</em></a><em> on Jul 21, 2023.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c2b1897f100" width="1" height="1" alt=""><hr><p><a href="https://medium.com/traceable-and-true/ask-the-experts-understanding-the-api-context-maturity-model-level-0-open-public-api-calls-9c2b1897f100">Ask the Experts: Understanding the API Context Maturity Model — Level 0 — Open, Public API Calls</a> was originally published in <a href="https://medium.com/traceable-and-true">Traceable and True</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Contxt Partners With APImetrics to Extend API Security]]></title>
            <link>https://medium.com/traceable-and-true/contxt-partners-with-apimetrics-to-extend-api-security-4807f6aaec2e?source=rss-7fd8ae3ea3d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/4807f6aaec2e</guid>
            <category><![CDATA[api-management]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[api-security]]></category>
            <dc:creator><![CDATA[Jamie Beckland]]></dc:creator>
            <pubDate>Wed, 26 Jul 2023 14:08:04 GMT</pubDate>
            <atom:updated>2023-07-26T14:08:04.543Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/676/1*ap8Nvcw9W_jRhGG0uWsvqA.png" /></figure><p>We are excited to announce that we have partnered with APImetrics to improve API security from visibility to assurance. Some Contxt data will now be able to be visible within the APImetrics dashboard, creating a seamless environment to review your API changes and track metrics at once. Within the APImetrics interface, you will be able to:</p><ul><li><strong>Review existing APIs for leaks or PII exposure</strong>: Contxt can quickly add visibility into over-exposed sensitive data by leveraging APImetrics’ validation infrastructure.</li><li><strong>Trace performance issues as APIs are updated</strong>:<strong><em> </em></strong>Contxt can add critical telemetry on API changes from ongoing development from your team. As developers confirm new changes, APImetrics can showcase any performance issues that were a result of the code updates. This allows sensitive data changes and performance impacts to be reviewed and compared simultaneously.</li><li><strong>Enforce policy and conformance</strong>: Contxt builds policies around permissible data transfer based on business logic, standards, and laws. APImetrics can monitor those policies and allow for deeper visibility into operational conformance.</li></ul><p>We have heard countless times that enterprises need APIs that are performant as well as compliant. This partnership brings critical API observations together to make it easy to see where teams should invest energy in hardening their API products. This gives every team the ability to move faster.</p><p>In working with the APImetrics team, it’s clear that they are focused on their mission to help APIs serve the business. David O’Neill, co-founder and CEO at APImetrics, shared that APIs are increasingly being used for high-value business transactions within regulated industries such as FinTech, healthcare, and insurance. He knows how critical it is for the enterprises to be able to continuously evaluate API behavior, especially during change.</p><p>APIs are constantly changing and evolving within companies, which is why tracking changes and ensuring designs are being followed is so tough today without help. APIs become forgotten, are never updated, lack the right authorization, and become targets for attacks like the one <a href="https://bycontxt.com/blog/t-mobile-is-in-hot-water-again-another-breach-this-time-due-to-insecure-api?utm_source=Medium">T-Mobile</a> suffered.</p><p>And we know that poor authorization of API endpoints can lead to a range of security issues, such as rogues, zombies, and legacy attacks. Vulnerable APIs can be exposed to the public internet, which leads to leaked identities and other misconfigurations. We are excited to bring new solutions to market to solve the biggest challenges that API owners face.</p><p>We are committed to sharing API security concerns and opportunities for improvement wherever you already manage your APIs. If you would like to integrate Contxt’s capabilities, contact your account manager at <a href="https://apimetrics.io/">APImetrics</a>.</p><p><em>Originally published at </em><a href="https://bycontxt.com/blog/contxt-partners-with-apimetrics-to-extend-api-security?utm_source=Medium"><em>bycontxt.com</em></a><em> on Jul 5, 2023.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4807f6aaec2e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/traceable-and-true/contxt-partners-with-apimetrics-to-extend-api-security-4807f6aaec2e">Contxt Partners With APImetrics to Extend API Security</a> was originally published in <a href="https://medium.com/traceable-and-true">Traceable and True</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing the API Context Maturity Model]]></title>
            <link>https://medium.com/traceable-and-true/introducing-the-api-context-maturity-model-3290b958f093?source=rss-7fd8ae3ea3d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/3290b958f093</guid>
            <category><![CDATA[api-development]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[api-management]]></category>
            <category><![CDATA[api-security]]></category>
            <dc:creator><![CDATA[Jamie Beckland]]></dc:creator>
            <pubDate>Wed, 26 Jul 2023 13:47:20 GMT</pubDate>
            <atom:updated>2023-07-26T13:47:20.184Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kQ8cPTzJM1WB-sEPMWJC7w.jpeg" /></figure><h4>By: Mayur Upadhyaya &amp; Jamie Beckland</h4><p>Every API call has context around it.</p><ul><li>Who is making the API call?</li><li>What data are they requesting or attempting to post?</li><li>Is that data public or private?</li><li>Do we need to check with anyone else before permitting the request?</li><li>Does the data transfer have any legal or ethical considerations or constraints?</li></ul><p>Our goal should be to provide the right response, in the right context, every time.</p><p>But, for the past decade, <a href="https://bycontxt.com/blog/blog/apis-are-growing-faster-than-developers-can-handle?utm_source=Medium">APIs have moved at the speed of business</a>. APIs have grown so quickly because they have proven their value in creating flexibility and functionality. The cost, however, has been with inconsistent security, privacy, and performance rigor.</p><p>That’s why there have been so many <a href="https://bycontxt.com/blog/pii-and-you-why-appdevs-need-to-protect-it?utm_source=Medium">data issues</a>, <a href="https://bycontxt.com/blog/t-mobile-is-in-hot-water-again-another-breach-this-time-due-to-insecure-api?utm_source=Medium">breaches</a>, and <a href="https://bycontxt.com/blog/blog/so-you-have-an-api-vulnerability-what-does-that-mean-and-what-can-be-done?utm_source=Medium">leaky APIs</a> recently. Bad actors know that the APIs are the weak link in protecting your customers’ and your business’ data assets.</p><p>Our approach to API context maturity comes from understanding that you are building the plane while you fly it. You need to move quickly, and enable teams to deliver business objectives. One approach is to slow teams down by asking them to be experts in security and privacy (in addition to all of the other functions that they need to be experts in).</p><p>We think you get better outcomes faster when you ensure that there are adequate guardrails, so teams can’t make egregious mistakes, while maintaining velocity.</p><p>Then, incrementally, we can raise the guardrails to enforce higher standards for use cases where more protection is necessary.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G8Yxjr1vpbxxVfsgJaIt8w.png" /></figure><p>The API Context Maturity Model breaks down building and maintaining APIs with an increasingly sophisticated understanding of the context surrounding the API call.</p><p><strong>Level 0 - Open, public API calls.</strong> These calls require no information from the requester before delivering a response. This may be totally appropriate for many (or most!) API calls. An API call that delivers weather for a location, or the cost of a flight, may not need any special protections, and Level 0 works well. It is fast and efficient, and ensures that the barrier to deploy and maintain these services is as low as possible. However, if an API call contains personal or sensitive data, or if it requires authentication, Level 0 is not appropriate.</p><p><strong>Level 1 - Authenticated API calls.</strong> These calls have an understanding of who the requester is, and can provide information specific to that requester. There are lots of reasons that an API call should be authenticated. Perhaps a customer wants to know information about their account. Or you need to monitor the usage of the API call, so you need to understand how much each user is calling the service. Or there is proprietary pricing and inventory information that you only want to expose to certain employees and partners. Regardless of the reason, any API that needs to be authenticated should have validation of authentication every time it is delivered. There are many ways to authenticate an API call, and different levels of authentication should apply to different APIs.</p><p><strong>Level 2 - Authorized API calls.</strong> These calls have specific permissions and requester expectations attached to them. For example, maybe you offer different bulk pricing discounts to different partners, based on the level of commercial relationship. You want to make sure that pricing information is not shared with every user and system from the partner, but customize the response based on the authorization scope. Another example is when you have different services calling the same API endpoint, and want to return different information. If your get_customers endpoint is used by your internal analytics tool, you may want to share birthdate, mailing address, and other personal information. But, when your advertising partners call that same endpoint, you need to reduce the scope of the payload to avoid sharing PII.</p><p><strong>Level 3 - Purpose and use defined.</strong> These calls rely on an understanding of why and how the data in the payload will be used. Perhaps the subject of the data request needs to consent for the requester to have the data, or to use the data in certain ways. You may need to collect consent from a patient to share their health data with their doctor or other provider. Or, with proper customer consent, you actually can share PII with advertisers.</p><p><strong>Level 4 - Open standards compliant.</strong> These calls are critical to core business operations, and as such, they need to conform to rigorous public standards. In many markets, standards that have been developed and hardened in public working groups are now being adopted as regulatory requirements for operations. Regulators in finance, health, and other areas may want to periodically review API calls to ensure compliance.</p><p>The API Context Maturity Model requires an understanding of each individual API call; and also of the specific circumstances of that call. As APIs move through the levels in the model, the complexity to and assurance does not go up linearly. It is much more complex to interpret changing regulations than simple authentication.</p><p>But, the framework provides a glidepath for Enterprises to incrementally improve their risk posture, and demonstrate conformance quickly.</p><p>Implementing this maturity model becomes dramatically easier when you have an accurate understanding of your existing APIs, because the highest risk becomes clear quickly.</p><p><em>Originally published at </em><a href="https://bycontxt.com/blog/introducing-the-api-context-maturity-model?utm_source=Medium"><em>bycontxt.com</em></a><em> on Jun 6, 2023.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3290b958f093" width="1" height="1" alt=""><hr><p><a href="https://medium.com/traceable-and-true/introducing-the-api-context-maturity-model-3290b958f093">Introducing the API Context Maturity Model</a> was originally published in <a href="https://medium.com/traceable-and-true">Traceable and True</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Existing API Maturity Models — Overview and Limitations]]></title>
            <link>https://medium.com/traceable-and-true/existing-api-maturity-models-overview-and-limitations-145f48b7644d?source=rss-7fd8ae3ea3d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/145f48b7644d</guid>
            <category><![CDATA[api-security]]></category>
            <category><![CDATA[api-development]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[api-management]]></category>
            <dc:creator><![CDATA[Jamie Beckland]]></dc:creator>
            <pubDate>Wed, 26 Jul 2023 13:31:19 GMT</pubDate>
            <atom:updated>2023-07-26T13:33:37.675Z</atom:updated>
            <content:encoded><![CDATA[<h3>Existing API Maturity Models — Overview and Limitations</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qXISv_PU4fUjk3WrF3wmcw.jpeg" /></figure><p>In 2023, it seems that <a href="https://bycontxt.com/blog/blog/apis-are-growing-faster-than-developers-can-handle?utm_source=Medium">every company is in the middle of an API transformation</a>. Which makes sense, after all, because APIs have become the primary mode of communication for all connected services. And as a result, <a href="https://bycontxt.com/blog/blog/api-security-is-now-more-important-than-web-application-security?utm_source=Medium">they are the primary attack vector for bad actors online</a>. Teams need to up their API security, and quickly.</p><p>Once you start building a work program, however, you quickly find that there are many competing approaches to putting order and structure to your API estate. Some options include:</p><h4>Richardson Maturity Model</h4><p>The (Leonard) Richardson Maturity Model defines four levels of API maturity:</p><p><strong>Level 0 — No APIs:</strong> At this level, there are no APIs in place, and all data exchange happens through a user interface or direct database access.</p><p><strong>Level 1 — Resources:</strong> At this level, APIs are designed as basic resource endpoints. They are accessed over HTTP and can be thought of as simple web pages that provide information.</p><p><strong>Level 2 — HTTP Verbs:</strong> At this level, APIs are designed to use HTTP verbs such as GET, POST, PUT, and DELETE to perform operations on resources.</p><p><strong>Level 3 — Hypermedia Controls:</strong> At this level, APIs are designed to include hypermedia controls, which provide links to related resources and enable clients to discover and navigate the API dynamically.</p><p>The Richardson model is not very useful for making a plan to organize and secure an existing set of APIs for an enterprise, because it looks at API development and management as a linear pattern. But, most organizations have multiple teams and applications, with varied maturity and resourcing, which means that your API status will always contain elements at all four levels.</p><h4>APIOps Cycles</h4><p>The APIOps Cycles, created by Marjukka Niinioja, Jarkko Moilanen, and others, is a framework that focuses on the entire API lifecycle, from design to retirement. It’s focused on a product development and product management approach to API design and construction. It consists of eight stages:</p><p><strong>Business First with API Canvas</strong> — This stage is focused on aligning business needs and customer journeys.</p><p><strong>Mind the Developer Experience</strong> — In this stage, the focus is on making sure your APIs can be found, used, and supported.</p><p><strong>Minimum Viable API Architecture</strong> — This stage is focused on making nonfunctional requirements as easy to accomplish as possible.</p><p><strong>Build APIs</strong> — Here, the work is focused on designing simple-to-use interaction models, focusing on design styles and open standards.</p><p><strong>API Audit</strong> — In this stage, APIs are compared against checklists of the previous stages as well as security.</p><p><strong>Publish API</strong> — Here, the team makes the API available for the first time.</p><p><strong>Monitor, Measure, and Analyze</strong> — This stage is focused on collecting metrics and KPIs to understand how your APIs are being used.</p><p><strong>Learn and Improve</strong> — This final stage is about speeding up cycle time and improving quality of the APIs incrementally.</p><p>The APIOps Cycles framework emphasizes the importance of a holistic approach to API development and management, where each stage builds upon the previous one. It comes from lean/agile product development, and is focused on building APIs as products. This is very useful if you are mapping how mature your API development process is, but it doesn’t give you any information on the quality and maturity of the APIs themselves. The best development methodology can still create security and privacy vulnerabilities.</p><h3>The API Security Maturity Model</h3><p>Jacob Idesvog shared his API Security Maturity Model in 2019, as a response to trying to articulate the increased security risk from the proliferation of inadequate API construction and management. It has four phases:</p><p><strong>Level 0: API Keys and Basic Authentication</strong> — If an API request presents an API key, then that key should be valid and should be trusted. It does not question the resources making the calls to the API at all.</p><p><strong>Level 1: Token-Based Authentication</strong> — When an API call is accompanied with a token, the token can be used to authenticate the requestor before providing a response.</p><p><strong>Level 2: Token-Based Authorization</strong> — In addition to an authentication, the API call is also expected to include a token that authorizes the requester to take certain actions (and to prevent them from taking other actions). This allows a lot of granularity in validating requests before delivering responses.</p><p><strong>Level 3: Centralized Trust Using Claims</strong> — By introducing claims of veracity, we give the API the ability to independently assess the veracity of the authorization. Signed JSON Web Tokens (JWTs) are commonly used to present to share claims by using their in-built scopes capability. Third parties can leverage encrypted keys to validate payloads even after they are delivered.</p><p>Again, this model is useful when thinking through how to build and maintain protected API services. But, it falls short when we try to understand where risk lies within our existing environments. This model tells us what to do to make our APIs more secure, but it doesn’t tell us what APIs most need protecting, and to what extent.</p><h3>A Different Approach</h3><p>At Contxt, we know that most companies must move quickly into an API-first IT model. External products, internal applications, and backend services all use APIs, and they are in various states of maturity at any given time.</p><p>Several years ago, it was helpful to evaluate your APIs against these models to help you build APIs quickly and with high confidence.</p><p>But now that you are managing so many live API systems, attentions are turning toward <a href="https://bycontxt.com/blog/why-you-should-be-comparing-your-environments?utm_souce=Medium">identifying and remediating risky API construction</a>, <a href="https://bycontxt.com/blog/protect-your-data-a-guide-to-secure-transmissions-for-devs?utm_source=Medium">data transfer</a>, and permissions.</p><p>We have shared <a href="https://bycontxt.com/blog/introducing-the-api-context-maturity-model?utm_source=Medium">our model for API maturity</a>, that is focused on building a mature monitoring, detection and response capability for APIs that we must have, but can never fully control.</p><p><em>Originally published at </em><a href="https://bycontxt.com/blog/existing-api-maturity-models-overview-and-limitations?utm_source=Medium"><em>bycontxt.com</em></a><em> on May 22, 2023.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=145f48b7644d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/traceable-and-true/existing-api-maturity-models-overview-and-limitations-145f48b7644d">Existing API Maturity Models — Overview and Limitations</a> was originally published in <a href="https://medium.com/traceable-and-true">Traceable and True</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OWASP API2:2019 — What Is Broken Authentication and Why It’s Important]]></title>
            <link>https://medium.com/traceable-and-true/owasp-api2-2019-what-is-broken-authentication-and-why-its-important-6eb6c3cf183f?source=rss-7fd8ae3ea3d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/6eb6c3cf183f</guid>
            <category><![CDATA[owasp]]></category>
            <category><![CDATA[owasp-api-security-top-10]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[api-security]]></category>
            <dc:creator><![CDATA[Jamie Beckland]]></dc:creator>
            <pubDate>Tue, 25 Jul 2023 17:04:13 GMT</pubDate>
            <atom:updated>2023-07-25T17:04:13.218Z</atom:updated>
            <content:encoded><![CDATA[<h3>OWASP API2:2019 — What Is Broken Authentication and Why It’s Important</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9Ua3BB0PPPdQ6YjQGXC67w.jpeg" /></figure><p>One of the biggest API security risks is broken authentication, according to OWASP. So, what is broken authentication and why is it such a big problem?</p><h4>Why Is Strong API Authentication So Critical?</h4><p>Over the past two decades, more and more companies have built modern APIs. Oftentimes, these APIs were developed in a shift from large, monolithic applications; to apps built from a variety of microservices that needed to talk to each other. And voila! New APIs were built to facilitate this dialog.</p><p>Possibly the most famous example of exposing APIs internally is Jeff Bezos’s 2002 “API Mandate.” Bezos made a rule for every team at Amazon that they must build an API for their service; so when any other team needed to interface with their service, the only way to do so would be through the API. No workarounds. No back door hacks. No pinging a friend on another team in AIM (well, it was 2002 after all).</p><p>Eventually, these internal APIs were exposed to external partners and developers. External partners could integrate core Amazon functionality like Amazon Payments and Amazon warehousing and inventory management services by leveraging these APIs. In fact, this API-first strategy became the genesis of AWS, which has become the primary economic engine of Amazon as a company.</p><p>This path has become very common — APIs that were originally developed for internal purposes are found to have their own business value, and they can become their own products and services, which accelerates the entire company.</p><p>But, often in the rush to externalize existing APIs, authentication is not updated. This can lead to a lot of problems. If authentication is weak or nonexistent, a bad actor can easily impersonate a customer and take actions on their behalf, like placing fradulent orders or exfiltrating financial data.</p><h4>How to Enforce Strong Authentication</h4><p>If your APIs are available without any authentication at all, make sure they do not disclose any personal data. Create separate APIs for customer or user data that requires authentication.</p><p>Ensure passwords are strong and complex, and make sure that they are hashed, encrypted, and stored appropriately. Weak passwords can be broken in a matter or seconds. Password re-use is endemic, so assume that your users are re-using passwords, and that password has been breached on another service.</p><p>Support other authentication mechanisms beyond passwords, like 2FA and passwordless options. These are increasingly accepted by end users, and are considered essential for developers. Many developers have company rules that prohibit them from using services that don’t support modern authentication.</p><p>Implement an access token (like a JWT), and validate those tokens. Also, make sure that tokens are short-lived so the resource must be re-authenticated at a sensible interval. If a token lives forever, and the device is compromised, any bad actor can access your internal resources.</p><p>Rate limit authentication requests. Authentication requests happen much less than other data requests — typically only at the beginning of a session. So, if a user is trying to authenticate 10 times in 30 seconds, there is a good chance they are trying to do something they shouldn’t.</p><h4>How to Monitor for Broken Authentication</h4><p>The easiest first step is to ensure that no personally identifiable information (PII) is shared over unauthenticated APIs. By running a quick validation to ensure that common PII like names, emails, and mailing addresses are not in your unauthenticated API results, you avoid the most common error that development teams make.</p><p>Once that check is in place, reviewing password requirements and shortening the time-to-live settings of your tokens are effective steps to limit your exposure.</p><p><em>Originally published at </em><a href="https://bycontxt.com/blog/blog/owasp-api22019-what-is-broken-authentication-and-why-its-important?utm_source=Medium"><em>bycontxt.com</em></a><em> on Oct 15, 2022.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6eb6c3cf183f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/traceable-and-true/owasp-api2-2019-what-is-broken-authentication-and-why-its-important-6eb6c3cf183f">OWASP API2:2019 — What Is Broken Authentication and Why It’s Important</a> was originally published in <a href="https://medium.com/traceable-and-true">Traceable and True</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OWASP API1:2019 — What Is Broken Object Level Authorization and Why It’s Important]]></title>
            <link>https://medium.com/traceable-and-true/owasp-api1-2019-what-is-broken-object-level-authorization-and-why-its-important-ab0c7efa86fe?source=rss-7fd8ae3ea3d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab0c7efa86fe</guid>
            <category><![CDATA[api]]></category>
            <category><![CDATA[owasp]]></category>
            <category><![CDATA[api-security]]></category>
            <category><![CDATA[owasp-api-security-top-10]]></category>
            <dc:creator><![CDATA[Jamie Beckland]]></dc:creator>
            <pubDate>Tue, 25 Jul 2023 16:55:43 GMT</pubDate>
            <atom:updated>2023-07-25T16:59:40.510Z</atom:updated>
            <content:encoded><![CDATA[<h3>OWASP API1:2019 — What Is Broken Object Level Authorization and Why It’s Important</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L_ULP5lpUd9F-wgWO7nlwQ.jpeg" /></figure><p>The number one biggest API security risk is broken object level authorization, according to OWASP. So, what is broken object level authorization and why is it such a big problem?</p><h4>Why Is Object Level Authorization So Critical?</h4><p>One of the wonderful, powerful benefits of APIs is that they allow lots of microservices to be exposed easily. This improves code quality and allows dev teams to build new functionality, troubleshoot issues, and improve application quality much quicker.</p><p>However, as APIs moved from being available to internal users only; to internal and external users; to directly by customers and customer applications, there was a huge expansion in what an individual user should be able to do, and what they should be blocked from accomplishing. This only makes sense. If you only have one small team of internal developer users, it may be just fine to allow them to access detailed information in API calls, including financial and transactional information about all users.</p><p>Of course, as APIs are used by external parties and applications, we must enforce strict authorization so that a customer can only see their own data. It would be really bad if one customer could see another customer’s purchase history or financial transactions. What would be even worse, though, is if an external party could see the data of all customers by calling the API, one customer ID at a time.</p><p>That’s exactly what happens with object level authorization is broken. First, an external user logs in with their own, valid credentials. Next, they replace their own user ID with another user ID. And finally, they call the service to retrieve data about that second user ID. Of course, attackers won’t stop with just one replacement ID, they will continue to swap IDs and call additional records, exfiltrating loads of customer data along the way.</p><h4>How to Enforce Object Level Authorization</h4><p>API calls must be configured to check permissions every time they run. That way, the API will double check who is calling it; what information the caller is requesting; and then can make a decision about whether the requested payload should be delivered.</p><p>But often, API developers simply skip this step. It can happen for a lot of reasons, but the most common cases are that an internal API is converted to internal and external, without additional security configurations applied; or when a developer updates an API to add some new functionality (e.g. improved resiliency or new functions), they inadvertently introduce a regression that removes the authorization check.</p><p>Another tactic to make data exfiltration more difficult for bad actors is to make sure that your IDs are not automatically sequenced when they are generated. If my user ID is 123456, and the next user’s ID is 123457, then it’s easy to run a script that automatically increments each data call, which can result in lots of data being stolen very quickly.</p><h4>Lots of Data Breaches Come From Broken Authorization</h4><p>In May 2021, security researchers announced that Peloton’s API had a massive security breach, caused by this very issue. Once a regular Peloton customer logged in, they could replace their user ID with another user ID, and download a surprisingly large volume of data about other users, including the user’s age, gender, weight, location, workout statistics, and if it was the user’s birthday.</p><p>Once a bad actor knows this much detail about a Peloton user, it becomes easy for them to spoof Peloton to steal financial data through email or even on the phone. In addition, this could be considered a breach of personal health information, which carries separate fines for Peloton.</p><p>Other common risks with this type of breach include directly accessing customers’ financial information or PII like their name and email address.</p><h4>How to Monitor for Broken Object Level Authorization</h4><p>The typical path to test for this vulnerability is to build a series of QA tests, to ensure that there is authorization enforcement on every API call. This approach is very cumbersome and slows down development dramatically, which is why it is often not done effectively.</p><p>A better approach is to run a check and validation against an authorization checker, which can dynamically probe to ensure that authorizations are checked on every call, and raise an alert if there is an issue.</p><p>Not every developer has the bandwidth to be a security and privacy expert, which is why many teams use tools to help them validate new commits.</p><p><em>Originally published at </em><a href="https://bycontxt.com/blog/blog/owasp-api1-2019-what-is-broken-object-level-authorization-and-why-its-important?utm_source=Medium"><em>bycontxt.com</em></a><em> on Oct 7, 2022.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab0c7efa86fe" width="1" height="1" alt=""><hr><p><a href="https://medium.com/traceable-and-true/owasp-api1-2019-what-is-broken-object-level-authorization-and-why-its-important-ab0c7efa86fe">OWASP API1:2019 — What Is Broken Object Level Authorization and Why It’s Important</a> was originally published in <a href="https://medium.com/traceable-and-true">Traceable and True</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Twitter’s security issues are way worse than anyone thought]]></title>
            <link>https://medium.com/traceable-and-true/twitters-security-issues-are-way-worse-than-anyone-thought-fa71621b2b10?source=rss-7fd8ae3ea3d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa71621b2b10</guid>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[twitter-data]]></category>
            <category><![CDATA[twitter]]></category>
            <dc:creator><![CDATA[Jamie Beckland]]></dc:creator>
            <pubDate>Wed, 24 Aug 2022 00:00:21 GMT</pubDate>
            <atom:updated>2023-07-17T15:48:18.863Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EJhuqaga2bmUaGfk" /></figure><p>Twitter’s former head of security, Peiter “Mudge” Zatko, has filed a <a href="https://www.documentcloud.org/documents/22186683-twitter-whistleblower-disclosure">whistleblower complaint</a> against Twitter for, among other things, poor internal security and software development practices.</p><p>There are a number of salacious concerns, like that Twitter employs known government agents that can spy on protestors; that the executive team knew about security and privacy issues and repeatedly did nothing; and that there was no understanding or documentation of the entire infrastructure, which could result in catastrophic data center failures that would take the entire service permanently offline.</p><p>But, some of the most interesting information comes from the handling of user data. And there are lessons for every business in this behind-the-curtains look at one company’s approach to managing user relationships.</p><p>Let’s peel the curtain back and look at Twitter’s user data issues.</p><p><strong>Purpose and use violations</strong>: Users have a right to control how their data is being used by the companies with which they have a relationship. Twitter collected phone numbers and email addresses from users for the express purpose of improving safety and security of their accounts. This is pretty common, two-factor authentication often uses phone numbers; and the email address can be used to send magic links, password resets, and alerts of suspicious activity. But, Twitter additionally used this data for targeted advertising without their users’ consent. They did the same thing with security cookies, which were ostensibly placed on the user’s browser to improve security, but then were misused for marketing purposes without permission. This is a violation of a number of current laws, including GDPR and CCPA, and also is just an unethical business practice.</p><p><strong>Un-managed data assets</strong>: Twitter creates a lot of data — more than 12 TB per day. Unfortunately, only about 20% of their data assets are registered and managed. Which means they don’t even know what 80% of their data is. Even worse, they don’t know <em>where</em> it is! Data assets are spread across multiple geos, without proper redundancy or backups. Most of their systems are not completely documented. Even <em>worse than that,</em> this lack of indexing and tagging makes it impossible to redact and delete data according to best practices, laws, or customer requirements. Troves of data assets that should have been deleted a decade ago could still be found in many hidden corners of the infrastructure. Which would be bad but not catastrophic except…</p><p><strong>Rampant access control issues</strong>: More than half of Twitter’s 11,000 employees have access to production systems and data assets that they should not have. In large part, this was driven by a lack of development and test environments, which meant that engineers could only deploy directly to production. Twitter is full of smart engineers who know that this is not a good way to develop software. But it seems that they never had the leadership to address and remediate these issues. With so many people able to access so much sensitive data, it’s not surprising that the Twitter accounts of Joe Biden, Donald Trump, and other high profile people were hacked. If a hacker got login credentials from an employee, there was a 50% chance the hacker would have inappropriate access. In fact, 90% of their actual security breaches were because of their access control issues.</p><p><strong>No encryption at rest</strong>: Twitter infrastructure is inconsistent around the globe. In particular, many of their servers are out of date and unpatched. With older versions of server software, a large portion of their infrastructure did not have the technical capability to store encrypted data. This basic security flaw means that every unauthorized access event exposes actual, real data to the bad actor.</p><p><strong>No SDLC</strong>: Perhaps most shockingly, the vast majority of the business is run without an SDLC. Mudge estimated that 8–12% of projects actually used an SDLC, the rest had a “template,” that was not actively being used. Of course, this means the risk of introducing a regression is extremely high; there is no way to trace and back-test problematic changes; and there is no way to roll back. In today’s age of CI/CD, with automated smoke testing, it’s truly shocking.</p><p>One of the saddest parts of this cautionary tale is that Twitter had already been investigated and fined by the FTC for deceiving consumers and failing to safeguard their personal information. The consent decree was signed in 2011, where Twitter agreed to make many of the required changes to improve its service. Apparently, they did not.</p><p>The rub is that for most businesses, this type of blatant and ongoing violation of security, user rights, and privacy expectations would simply be fatal. If it were disclosed, customers would flee and the offending services would be excised from the larger company. The reputational risk for most companies is just too high.</p><p>Throughout the 2010s, customers didn’t apply the same standards to Twitter. Most Twitter users were laissez faire about their data being used inappropriately, or, if pressed, would declare that the value of being able to tweet was not worth giving up for theoretical user protections. <em>Besides,</em> the thinking went,<em> every other online company is just as bad or worse about protecting my data. I don’t like it, but what am I going to do about it?</em></p><p>In today’s environment, however, that lackadaisical attitude no longer exists. And, Twitter’s user numbers show it. Each of these services have more active users than Twitter: Tik Tok, Snapchat, Discord, WhatsApp, Instagram, and WeChat. All of these services are younger than Twitter.</p><p>Fortunately, most engineering teams are more organized than Twitter; and most executive teams are more supportive of security and privacy for their customers. But, even in better organizations, managing dynamic technical changes is difficult. Most teams have a mindset of continuous improvement. It seems that Twitter did not.</p><p><em>Originally published at </em><a href="https://bycontxt.com/blog/blog/twitters-security-issues-are-way-worse-than-anyone-thought?utm_source=Medium"><em>https://www.bycontxt.com</em></a><em> on August 24, 2022.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa71621b2b10" width="1" height="1" alt=""><hr><p><a href="https://medium.com/traceable-and-true/twitters-security-issues-are-way-worse-than-anyone-thought-fa71621b2b10">Twitter’s security issues are way worse than anyone thought</a> was originally published in <a href="https://medium.com/traceable-and-true">Traceable and True</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[API security is now more important than web application security]]></title>
            <link>https://medium.com/traceable-and-true/api-security-is-now-more-important-than-web-application-security-9cc9685a3e6?source=rss-7fd8ae3ea3d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/9cc9685a3e6</guid>
            <category><![CDATA[api-security]]></category>
            <category><![CDATA[owasp]]></category>
            <category><![CDATA[owasp-top-10]]></category>
            <category><![CDATA[application-security]]></category>
            <category><![CDATA[owasp-api-security-top-10]]></category>
            <dc:creator><![CDATA[Jamie Beckland]]></dc:creator>
            <pubDate>Thu, 14 Jul 2022 00:00:35 GMT</pubDate>
            <atom:updated>2023-07-17T15:43:06.677Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_TYr-RuPsqTI87aC" /></figure><p>We have been reviewing the OWASP Top Ten in some detail, which is the premier index of the most critical vulnerabilities in web applications.</p><p>But, in 2019, the OWASP Foundation found that their traditional web application security vulnerability was simply not advanced enough to bring visibility to the fastest growing threat categories: API vulnerabilities.</p><p>So, in response, the foundation published its first-ever <a href="https://owasp.org/www-project-api-security/">API Top Ten</a>. It’s quite staggering. Between 2017 and 2021, the vulnerability posture of APIs grew to overtake the traditional web application, to the extent that even the web application vulnerabilities often overlap with API vulnerabilities.</p><p>In fact, if APIs were fully secured, it’s likely that web application breaches would fall by at least 66%.</p><p>So, as an extension of our security vulnerabilities overview, we will extend and expand to review many of the OWASP API Top Ten.</p><p>Since the majority of all internet traffic is over APIs, it makes sense that we would want to prioritize improving and hardening APIs above even many traditional web application vulnerabilities. APIs are more often exploited, and their preference as an attack vector continues to grow for bad actors.</p><p>Stay tuned for a more detailed review of these risks and how to manage them without paralyzing your customer-facing initiatives.</p><p><em>Originally published at </em><a href="https://bycontxt.com/blog/blog/api-security-is-now-more-important-than-web-application-security?utm_source=Medium"><em>https://www.bycontxt.com</em></a><em> on July 14, 2022.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9cc9685a3e6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/traceable-and-true/api-security-is-now-more-important-than-web-application-security-9cc9685a3e6">API security is now more important than web application security</a> was originally published in <a href="https://medium.com/traceable-and-true">Traceable and True</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OWASP A02 — Cryptographic Failures: What they are and why they are important]]></title>
            <link>https://medium.com/traceable-and-true/owasp-a02-cryptographic-failures-what-they-are-and-why-they-are-important-69bac793bc1e?source=rss-7fd8ae3ea3d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/69bac793bc1e</guid>
            <category><![CDATA[application-security]]></category>
            <category><![CDATA[owasp]]></category>
            <category><![CDATA[owasp-top-10]]></category>
            <category><![CDATA[security-operations]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Jamie Beckland]]></dc:creator>
            <pubDate>Fri, 08 Jul 2022 00:00:01 GMT</pubDate>
            <atom:updated>2023-07-17T15:42:02.626Z</atom:updated>
            <content:encoded><![CDATA[<h3>OWASP A02 — Cryptographic Failures: What they are and why they are important</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lETdzfQZIHuXMcXy" /></figure><p>The second most common issue in web application security is cryptographic failures. Cryptography has always been important, but we have seen a new focus on hardening cryptography as we expose more and more web applications to each other. When applications were self-contained, a failure in cryptography would be difficult to discover and exploit; now, exploiting issues with APIs has become very simple.</p><h3>Why are cryptographic failures so dangerous?</h3><p>Cryptographic failures expose sensitive data. In fact, in the previous version of OWASP’s top ten vulnerabilities, this risk was actually described as “Sensitive Data Exposure.”</p><p>In the 2021 version, the language has been updated because sensitive data can be exposed for a variety of reasons and misconfigurations; cryptographic failures are just the most prevalent currently.</p><p>Sensitive data is often personal in nature, and can include personal contact details; demographic information; data about protected classes; financial data; health data; and other types of data. Often, these personal data categories are regulated, as in the case of GDPR for personal data and HIPAA for health data. So, the risk of breach or loss extends beyond technical or business risk; to legal and compliance risk; as well as customer trust and brand credibility.</p><h3>Why does cryptography so often fail?</h3><p>OWASP identified cryptographic failures in more than 44% of their data analysis reviews. These can include broken or weak algorithms that can be easily or quickly hacked; outdated or hardcoded passwords; or a lack of protection around data assets in motion.</p><p>In practice, these vulnerabilities are often difficult to detect in operational systems. Using a default password to protect access to a system will show up as a password-protected endpoint in testing. However, the default password may be easily discoverable in vendor documentation. Therefore, simple testing for missing password protection would miss the risk.</p><p>Even worse, often password protection is not even applied, and data is transmitted or available in clear text, open to the entire web. Data assets at rest are a more obvious risk, and they can be tested against fairly easily. For this reason, data in transit has become a more attractive target.</p><p>In addition, the cryptography space continues to mature, with new, safer protocols being discovered, tested, and recommended as best practice. But, updating current applications with new hashing algorithms is often seen as remediating technical debt, and not prioritized within development teams. In the past decade alone, we have seen popular hash functions like MD5 and SHA1 deprecated in favor of more modern hashes like SHA2 and SHA3. This was driven by an improvement in raw compute and network power that can be dedicated to breaking older has functions.</p><h3>Machine-to-machine data transfer over APIs compounds the issue</h3><p>As personal data moves from one system to another, the chain of custody becomes increasingly complicated, and securing the entire chain of data access and provenance becomes more complicated. With the rise of exposed APIs and perimeterless applications, data can be compromised at a variety of different transfer points. Certificates, validation, and access authorization need to be tested at each step and any failure upstream can create a data injection that may not be noticed or even able to be seen downstream. This is one reason the industry has pushed for a software bill of materials, to be able to more quickly identify where dependencies exist, so that when a vulnerability is discovered, it can be traced and remediated throughout the system.</p><h3>How to minimize cryptographic failures</h3><p>Always remember that some protection is better than no protection. Prioritize your exposed, unprotected endpoints first; then remediate old and outdated hashed and transport layer security next. After that, review the data that is actually being transferred for necessity, appropriate use, and contextual integrity. Minimize data over-replication and monitor for shadow APIs and configuration errors from the development process.</p><p>The best approach is to acknowledge that no development process can be perfect, but we can detect and remediate issues much more quickly post-live. Oftentimes, we can even redact and minimize data transfer without changing the core application at all.</p><p><em>Originally published at </em><a href="https://bycontxt.com/blog/blog/owasp-2-cryptographic-failures-what-they-are-why-they-are-important-and-how-to-prevent-them?utm_source=Medium"><em>https://www.bycontxt.com</em></a><em> on July 8, 2022.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69bac793bc1e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/traceable-and-true/owasp-a02-cryptographic-failures-what-they-are-and-why-they-are-important-69bac793bc1e">OWASP A02 — Cryptographic Failures: What they are and why they are important</a> was originally published in <a href="https://medium.com/traceable-and-true">Traceable and True</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OWASP A01 — Broken Access Control: What it is and why it’s important]]></title>
            <link>https://medium.com/traceable-and-true/owasp-a01-broken-access-control-what-it-is-and-why-its-important-5d4badaa337f?source=rss-7fd8ae3ea3d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/5d4badaa337f</guid>
            <category><![CDATA[application-security]]></category>
            <category><![CDATA[owasp]]></category>
            <category><![CDATA[owasp-top-10]]></category>
            <category><![CDATA[api-security]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Jamie Beckland]]></dc:creator>
            <pubDate>Tue, 05 Jul 2022 00:00:42 GMT</pubDate>
            <atom:updated>2023-07-17T15:41:15.398Z</atom:updated>
            <content:encoded><![CDATA[<h3>OWASP A01 — Broken Access Control: What it is and why it’s important</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JFyT4uqw5yAwCYYX" /></figure><p>The number one biggest web application security risk is broken access control, according to OWASP. So, what is broken access control and why is it such a big problem?</p><h3>Why is access control so critical?</h3><p>Access controls determine which users and which applications are authorized to see data in the application, make changes to the application, and even control how the application performs. A simple but effective access control mechanism is the lock on your front door. If you insert the right key into the lock, the lock grants you access to the house and all of the contents inside it.</p><p>Cars also have keys, but many cars have two different keys: the owner key and the valet key. The owner key works in all of the locks to provide unlimited access to the car; by contrast, the valet key will start the ignition, but won’t unlock the glove box or the trunk. The valet key protects these private areas, while also allowing the valet to perform their duties of parking and retrieving the car.</p><p>Web application access controls conform to the same principles, except with a much more sophisticated set of variables for actions that a user or application should be able to complete. A customer should be able to view, edit, modify, and delete their own data…but they should not be able to do any of those things for someone else’s information. A developer should be able to change the functionality of the application, but may not be able to see real customer data. An analytics application should be able to read all the data, but not change any of it.</p><p>Access controls have gotten extremely complicated as more web applications are built using APIs and microservices, and these systems operate without the traditional security perimeter. In order to add flexibility into the architecture, applications will accept requests from anywhere and everywhere.</p><h3>Why is access control so often broken?</h3><p>OWASP saw more than 318,000 broken access control issues in their dataset. In the 2021 revision, broken access controls moved from the 5th most common issue to the #1 most common issue.</p><p>Part of the reason that access control issues have exploded is because there are just more API communications than ever before. The vast majority of all web traffic is API calls, and with more usage comes more problems. But that’s not the only issue.</p><p>How we build digital applications has transformed completely in the past decade. Adopting a microservices architecture has lots of benefits, including faster iteration, easier maintainability, and more flexibility over time. But, microservices talk to each other using APIs. So, it’s very common to see a modern application that is very chatty, with hundreds of API calls for every transaction. This dramatically increases the number of API calls that could be vulnerable.</p><p>In addition, authentication and authorization have seen wholesale upgrades in security from previous models by implementing code-for-token exchanges, JWT tokens, and other access control mechanisms. These new mechanisms have a lot of flexibility to accommodate a variety of security and experience use cases. But, that additional flexibility means there are many new ways that access control can be over-scoped for a particular situation.</p><p>So, a combination of many, many more API calls; new flexible access control models; and a migration away from legacy architecture combine to create many potential points of failure for access control management.</p><h3>The stakes are incredibly high</h3><p>In practice, a broken access control system can destroy the core value proposition of the product. Gator Watches, a GPS-enabled smartwatch for kids ages 5–12. The device was supposed to give parents peace of mind to know where their kids are located, without exposing them to a full-featured smartphone too early.</p><p>Except the access control allowed any user to see the location of all the children wearing a Gator device. And the result is that <a href="https://www.gearbrain.com/gator-smartwatch-security-flaw-discovered-2627619340.html">tens of thousands of children’s real-time location was exposed</a> to anyone on the internet. For many companies, this could be a business-ending class action lawsuit.</p><p>But narrower access control issues are also risky. Users can accidentally have admin rights. Attackers can scrape all the personal data of all users. Or <a href="https://petapixel.com/2015/02/13/man-finds-simple-hack-deleting-peoples-facebook-photos-earns-12-5k-bounty/">delete all your photos</a>.</p><h3>How to monitor for broken access control</h3><p>Unfortunately, it’s cumbersome to review every possible access control variation to test for a potential breaking change in every software release. That’s why most teams don’t do it.</p><p>A reasonable alternative approach is to monitor actual API traffic, to review what data elements are available and traversing across the data transport layer. If you see a service calling multiple personal account details may be a flag to review whether the traffic is legitimate. If you see an external application accessing admin data, it may be worth investigating whether the access is illegitimate. Once these issues are seen in production, they are typically straightforward to remediate; however, finding them without consistent monitoring can be almost impossible.</p><p>Instead of overloading your development teams with endless corner and edge case tests, monitoring live traffic can dramatically reduce the time to identify and remediate a broken access control vulnerability.</p><p><em>Originally published at </em><a href="https://bycontxt.com/blog/blog/owasp-a01-broken-access-control-what-it-is-and-why-its-important?utm_source=Medium"><em>https://www.bycontxt.com</em></a><em> on July 5, 2022.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d4badaa337f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/traceable-and-true/owasp-a01-broken-access-control-what-it-is-and-why-its-important-5d4badaa337f">OWASP A01 — Broken Access Control: What it is and why it’s important</a> was originally published in <a href="https://medium.com/traceable-and-true">Traceable and True</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>