API Security Weekly: Issue #79
This week, GitLab has published details on the API vulnerability they recently fixed, check out a recent API security conference talk, and more.
Join the DZone community and get the full member experience.Join For Free
This week, unprotected APIs have allowed hackers to compile to put on sale a list of 1.4 million of US doctors, and GitLab has published details on the API vulnerability they recently fixed. We also have a recording of a recent API security conference talk, and an announcement of an upcoming training on OAuth and OpenID Connect.
In the healthcare sector, it is not just leaks on patient information that can pose big problems, the details of practitioners could do with securing, too, like in the case of findadoctor.com.
This online service in the US does what the name says: find healthcare professionals near you. Hackers used insecure APIs behind the website
qa.findadoctor.com to scrape information on 1.4 million doctors in the US. Naturally, they promptly put it on sale.
You might ask why this would be a problem, the service was already providing these details to users after all. While the information was indeed public on the site itself, the unprotected API allowed downloading all of it and making it available in a structured form. A nice little dataset to use for further attacks.
Lists like this are often exploited, for example, in phishing campaigns. In this particular case, email addresses were thankfully not included in the dataset, but could potentially be added using some heuristics or external sources. However, the phone numbers are there, so SMS phishing (smishing) is still very much possible.
Just like databases, even APIs sharing data from public domain need to be protected. To start with, establish reasonable rate limiting, authentication, and filtering by invocation source.
In short, the vulnerability emerged out of file uploads and the differences in how the
gitlab-rails components were treating and parsing
A good lesson on how subtle inconsistencies in the implementation of the same functionality in different parts of the stack can lead to vulnerabilities.
Conference Talk: Attacking Secondary Contexts in Web Applications
A significant part of the presentation concentrates on turning a web application attack into an API attack, so definitely of interest for API security.
Online Training: Mastering OAuth 2.0 and OpenID Connect
OAuth2 and OpenID Connect have become the cornerstones of modern API, web, and mobile security. Yet a lot of developers still find them quite confusing.
Now that in-person training is not an option, Philippe De Ryck is offering his course on this very topic online. The next course starts on May 11, 2020. Click here to find more details and to enroll.
You can subscribe to this newsletter at APIsecurity.io.
Published at DZone with permission of Dmitry Sotnikov, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.