{"id":8220,"date":"2020-05-04T21:04:46","date_gmt":"2020-05-04T20:04:46","guid":{"rendered":"https:\/\/staging-site.42crunch.com\/?p=8220"},"modified":"2022-11-22T12:33:07","modified_gmt":"2022-11-22T12:33:07","slug":"webinar-questions-anatomy-api-breaches","status":"publish","type":"post","link":"https:\/\/staging2022.42crunch.com\/webinar-questions-anatomy-api-breaches\/","title":{"rendered":"Questions Answered: The Anatomy of Four API Breaches"},"content":{"rendered":"
\n

You had questions, and we’ve got answers!<\/strong><\/h2>\n
Thank you for all the questions submitted on our “The Anatomy of Four API Breaches<\/strong>” webinar. Below is the replay and all the answers to the questions that were asked. If you’d like more information please feel free to contact us<\/a>.<\/div>\n<\/div>\n

 <\/p>\n

[xyz-ihs snippet=”Anatomy-API-Breach”]<\/p>\n

\n

 <\/p>\n

<\/h5>\n
Does the implementation of OAuth2 mitigate the risks you mentioned?<\/b><\/h5>\n

OAuth2 is one of the tools you need to use, among many others. OAuth2 only covers the API authorization aspects (who has the right to access a given resource). OpenID Connect is a complementary standard to OAuth2 that will cover the authentication aspects (<\/span>https:\/\/openid.net\/connect\/faq\/<\/span><\/a>).<\/span><\/p>\n

OAuth2 is not enough because it does not cover any of the cases related to mass assignment, data leakage, etc. Somebody with a valid token could still abuse the API.\u00a0<\/span><\/p>\n

Also, one key aspect to remember is that OAuth2 is a framework that needs to be adapted based on your usage (the risk factor we mentioned in the webinar).\u00a0 The Financial grade OAuth profiles are a great example of how to properly use OAuth for sensitive APIs <\/span>https:\/\/openid.net\/wg\/fapi\/<\/span><\/a>.<\/span><\/p>\n

If you\u2019re confused about which OAuth2 profile to use, check this: <\/span>https:\/\/aaronparecki.com\/oauth-2-simplified\/<\/span><\/a>. In a nutshell, using the authorization_code grant type flow is the recommended best practice for single page Apps, mobile apps, and web apps.<\/span><\/p>\n

 <\/p>\n

Are there any open source tools for fuzzing APIs – for hammering it with bad data, which can be used in an automated way?<\/b><\/h5>\n

OWASP <\/span>Zap<\/span><\/a> is the most known one, but it has limited support for specific API attacks.\u00a0<\/span><\/p>\n

Yelp has also released a fuzzing tool here: <\/span>https:\/\/github.com\/Yelp\/fuzz-lightyear<\/span><\/a>, geared towards BOLA\/IDOR issues.<\/span><\/p>\n

At 42Crunch, we have a conformance tool that helps you ensure automatically that your implementation is in line with the contract you supplied. The tool injects all kinds of incorrect data into requests to prove how your API reacts when hammered with bad data.<\/span><\/p>\n

 <\/p>\n

For the most part, would you consider mTLS (Mutual TLS) as required to secure API endpoints, or optional?<\/b><\/h5>\n

MTLS is certainly an option if you know who you\u2019re going to interact with, your own apps or known partners for example. MutualTLS does come with an administration cost though (issuing the client certs, which needs to be governed properly, renewed, revoked, etc.).<\/span><\/p>\n

You should also look at certificate pinning for additional TLS security: (<\/span>https:\/\/owasp.org\/www-community\/controls\/Certificate_and_Public_Key_Pinning<\/span><\/a>)\u00a0<\/span><\/p>\n

 <\/p>\n

What about Kali Linux? Does this test APIs?<\/b><\/h5>\n

Kali Linux is a platform with pre-installed tools for security testing, although many of them are geared towards traditional web applications testing. OWASP Zap is one of them.<\/span><\/p>\n

 <\/p>\n

When you are using an API from a vendor that you rely on for your own security, what do you recommend to best secure yourself? Should you pen test yourself, or should the vendor share what testing they have done?<\/b><\/h5>\n

Legally, you can\u2019t pen test something which is not yours. So, yes you need to ask the vendor how they tested security on their APIs. <\/span>You could start by testing the OpenAPI\/Swagger file they gave you in our platform though! Zero risk to break anything…<\/span><\/p>\n

<\/div>\n
<\/div>\n
\n

 <\/p>\n

Try our security audit<\/a> for free. If you want to see the whole platform in action, request a demo now<\/a>!<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"

You had questions, and we’ve got answers! Thank you for all the questions submitted on our “The Anatomy of Four API Breaches” webinar. Below is the replay and all the answers to the questions that were asked. If you’d like more information please feel free to contact us.   [xyz-ihs snippet=”Anatomy-API-Breach”]   Does the implementation […]<\/p>\n","protected":false},"author":13,"featured_media":11322,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"none","_seopress_titles_title":"The Anatomy of Four API Breaches, Webinar Q&A","_seopress_titles_desc":"Questions and answers from our webinar, "The Anatomy of Four API Breaches" presented by Isabelle Mauny. ","_seopress_robots_index":"","site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"disabled","ast-hfb-above-header-display":"disabled","ast-hfb-below-header-display":"disabled","ast-hfb-mobile-header-display":"disabled","site-post-title":"disabled","ast-breadcrumbs-content":"disabled","ast-featured-img":"disabled","footer-sml-layout":"disabled","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"footnotes":""},"categories":[6],"tags":[14,25,15],"_links":{"self":[{"href":"https:\/\/staging2022.42crunch.com\/wp-json\/wp\/v2\/posts\/8220"}],"collection":[{"href":"https:\/\/staging2022.42crunch.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/staging2022.42crunch.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/staging2022.42crunch.com\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/staging2022.42crunch.com\/wp-json\/wp\/v2\/comments?post=8220"}],"version-history":[{"count":0,"href":"https:\/\/staging2022.42crunch.com\/wp-json\/wp\/v2\/posts\/8220\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/staging2022.42crunch.com\/wp-json\/wp\/v2\/media\/11322"}],"wp:attachment":[{"href":"https:\/\/staging2022.42crunch.com\/wp-json\/wp\/v2\/media?parent=8220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staging2022.42crunch.com\/wp-json\/wp\/v2\/categories?post=8220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staging2022.42crunch.com\/wp-json\/wp\/v2\/tags?post=8220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}