Issue 106: API flaws at GitLab and Grindr, APICheck, API World and apidays conferences next week 👩‍🏫

The Latest API Security News, Vulnerabilities and Best Practices
Issue: #106
API flaws at GitLab and Grindr, APICheck, API World and apidays conferences next week
This week, we have the recent API vulnerabilities at GitLab and Grindr, the APICheck tool gets donated to OWASP, there’s a summary on the basics of API authentication options, and complimentary registration links for the online conferences API World and apidays London next week.
Vulnerability: GitLab
 

Riccardo Padovani found an API vulnerability in GitLab related to Elasticsearch retrieving information in code and wikis of private groups by not authorized users.

This happened for groups that used to be public but were changed into a private group. Search API calls like /api/v4/search?search=password&scope=blobs  could allow accessing data that was now supposed to be private. This issue clearly had its root in indexing and caching data, because if the work in the group continued, reindexing of the data got rid of the problem. However, if the data was never reindexed, the problem would have persisted.

This is an older vulnerability that got fixed quite some time ago, but it was not disclosed until recently.

Lesson learned: Make sure your performance optimization does not put security at risk.

Vulnerability: Grindr
 

From last week’s “dating blocks” to dating apps this week. An excessive data exposure flaw in Grindr’s password reset API allowed full account takeover.

The Grindr website allows users to reset their password. You enter an email address and a password reset token is sent to this email address. The problem was that under the hood the API behind the web page also returned the the secret reset code (and in plaintext):

Grindr_password_reset_API

That means that attackers did not have to get access to the actual email inbox. They could simply pick the reset code from the API response and reset the victim’s password. The additional “precaution” of verifying the login with the new password in Grindr app did not really protect anything.

Once the disclosure of the vulnerability finally succeeded (an instructive story in itself), the vulnerability was luckily quickly fixed.

Lesson learned:

  • There’s a reason why API3:2019 — Excessive data exposure is in OWASP API Security Top 10.
  • Document (and also review) what your APIs return and how they are used. In this particular case:
    • Was the API returning the reset code for debugging purposes and someone forgot to remove the behavior?
    • Was the same API also used somewhere internally by another function that needed the code to store or validate it? That kind of double use of one API for two scenarios with different security levels is bad.

We covered earlier API vulnerabilities in Grindr and other dating apps, for example, in our issue 45.

Tools: APICheck
 

BBVA Innovation Security Labs has donated their APICheck tool to OWASP.

The APICheck tool is both a set of API testing utilities and an extensible pipeline to chain these utilities together. You can take the JSON output from one utility and pass it as the input to the next one.

The out of box utilities include:

  • OpenAPI linters
  • Request replay
  • JWT validator
  • Sensitive data detector
  • Proxy
  • acurl (cURL with reqres output)
Technology 101: API authentication
 

If you are only getting started with API authentication, Tammy Xu has posted an article with an overview of the most common authentication mechanisms and the pros and cons of each. The mechanisms are:

  • Basic authentication
  • OAuth
  • Mutual TLS
Free API conference passes: apidays London and API World
 

Next week, two API-related conferences are taking place: apidays London on Oct 27—28 and API World on Oct 27—29.

Obviously, both are virtual so you can attend from the comfort of your own home. Both have talks related to API security, so check out the agendas.

And there are free passes available for both events:

 
dmitry_apisec-1  

Dmitry Sotnikov

APIsecurity.io

 
Thanks for reading.

That's it for today. If you have any feedback or stories to share, simply reply to this email.

Please forward the newsletter to your friends and colleagues who might benefit from it.

 
42Crunch Ltd   71-75 Shelton Street  Covent Garden  London  Greater London   WC2H 9JQ   United Kingdom
You received this email because you are subscribed to API Security News from 42Crunch Ltd.

Update your email preferences to choose the types of emails you receive or Unsubscribe from all future emails  
 
 

Older messages

Issue 105: API vulnerabilities in HashiCorp, Azure App Services, and Qiui adult devices

Monday, October 19, 2020

Hi, lot's of content today: 3 API vulnerabilities, a video, a cheatsheet and a webinar APIsecurity.io The Latest API Security News, Vulnerabilities and Best Practices Issue: #105 API

Issue 104: API vulnerabilities at Twitter and Grandstream, mTLS in AWS API Gateway, Application Security Podcast 📻

Thursday, October 8, 2020

Hi, this week we have a couple of recent API flaws, mTLS in AWS, and an AppSec Podcast APIsecurity.io The Latest API Security News, Vulnerabilities and Best Practices Issue: #104 API vulnerabilities at

Issue 102: Vulnerabilities in Facebook and campaign apps, creating defensible APIs 🛡️

Thursday, September 24, 2020

Hi, today we look at a couple of recent API vulnerabilities, a new API design book, and APIsecurity.io The Latest API Security News, Vulnerabilities and Best Practices Issue: #102 Vulnerabilities in

Issue 101: Vulnerabilities in Giggle, Google Cloud Platform, SonicWall, New Relic, Tesla 🚗

Thursday, September 17, 2020

Hi, today we cover 5 recent API vulnerabilities, IDOR cheatsheet & 2 upcoming events APIsecurity.io The Latest API Security News, Vulnerabilities and Best Practices Issue: #101 Vulnerabilities in

API Security advice from top industry experts | Nano Leaf Giveaway! 🎆

Thursday, September 10, 2020

Hi, in our centennial edition we hear API security advice from 12 top industry experts! APIsecurity.io The Latest API Security News, Vulnerabilities and Best Practices Issue: #100 API Security advice

You Might Also Like

Daily Coding Problem: Problem #1652 [Medium]

Sunday, December 29, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Quora. Given a string, find the palindrome that can be made by inserting the fewest

💻 Your Guide to Using Siri on the Mac — How to Make Your Mechanical Keyboard Thocky

Sunday, December 29, 2024

Also: How to Use Controlled Folder Access in Windows 11, and More! How-To Geek Logo December 29, 2024 Did You Know The football huddle, where players circle up close together, was created by Paul

I (still) don’t know what “craft” means & Creativerly's Favourite Apps of 2024

Sunday, December 29, 2024

The next era of design is intent-driven, Capacities end-of-year update, what's next for Play in 2025, quiet leadership, and a lot more in this week's issue of Creativerly. Creativerly I (still)

Sunday Digest | Featuring 'Visualizing $102 Trillion of Global Debt in 2024' 📊

Sunday, December 29, 2024

Every visualization published this week, in one place. Dec 29, 2024 | View Online | Subscribe | VC+ | Download Our App Happy Holidays from everyone at Visual Capitalist! Our Global Forecast Series 2025

Android Weekly #655 🤖

Sunday, December 29, 2024

View in web browser 655 December 29th, 2024 Articles & Tutorials Sponsored Advertise your Android dev course to over 80k readers We reach out to more than 80k Android developers around the world,

Moving Past RLHF: In 2025 We Will Transition from Preference Tuning to Reward Optimization in Foundation Models

Sunday, December 29, 2024

Models like GPT-o3 and Tülu 3 are showing the way. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏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