Issue 108: API vulnerabilities in Thrillophilia and GitLab ✉️

The Latest API Security News, Vulnerabilities and Best Practices
Issue: #108
API vulnerabilities in Thrillophilia and GitLab, OIDC training, Cloudflare API Shield
This week, we have the recent API vulnerabilities in Thrillophilia and GitLab, there is a new free online course on OpenID Connect, and OpenAPI support has been recently added in Cloudflare.
Vulnerability: Thrillophilia
 

Thrillophilia is an Indian online platform for discovering and booking travel experiences and tours. Ehraz Ahmed found that Thrillophilia exposed about 2 million customer records.

As many consumer sites, the Bengaluru-based company offered the social login option of using 3rd-party accounts, in this case Facebook, to log in to their site. However, their API implementation for this was flawed and the API blindly trusted the email parameter that it received.

This meant that attackers could authenticate with their own account, but then change the email parameter from theirs to that of their victim. Thrillophilia APIs did not verify that the email parameter matched the rest of the authentication information. It simply accepted the integrity of the information and that this was an authenticated user, and gave access to the user records based on the email parameter (that the attackers had switched).

Thrillophilia has since fixed the issue.

Bottom-line: be careful with social login or any federated authentication. These can give you the false sense of security unless you carefully verify that no tampering with the tokens and any parameters is possible.

Ahmed has a record of uncovering vulnerabilities related to social login. We have previously covered him in our issues 53, 59, 61, and 64.

Vulnerability: GitLab
 

GitLab has just pushed out a set of security updates, namely 13.5.2, 13.4.5, and 13.3.9.

These do not include fixes to any API security flaws in GitLab’s own code, but a couple of fixed vulnerabilities did stem from the 3rd-party components they use:

  • Kubernetes agent API leaked private repositories:
    A vulnerability in the internal Kubernetes agent API allowed unauthorised access to private projects.
  • Terraform state deletion API exposed object storage URL:
    The Terraform API exposed the signed URL of object storage on the DELETE operation, allowing a malicious project maintainer to overwrite the Terraform state, bypassing audit and other business controls.

This is just another reminder on the big impact that 3rd-party components and services can have for your overall security. Make sure to study their levels of security carefully and implement whatever additional protection you can: perform additional data validation on their calls, limit visibility and access to your code only, and so on.

Training: OpenID Connect
 

OpenID Connect (OIDC) is a popular authentication protocol based on OAuth2.

There’s a new free (registration required) 4-part online OpenID Connect (OIDC) training course from Michał Trojanowski (Curity). The course includes:

  1. Overview of OIDC
  2. ID Tokens and UserInfo EndPoint
  3. Authentication with OIDC
  4. OIDC Logout and session handling
Tools: Cloudflare API Shield
 

More internet security products are starting to adopt positive security model for APIs  that is based on the OpenAPI Specification (OAS). Recently, Cloudflare has announced the launch of their API Shield service.

For existing Cloudflare customers who have centrally managed public APIs with well-defined OpenAPI definitions, this can be a quick way to improve runtime security.

At the moment, API Shield offers mutual certificate authentication (mTLS) enforcement and JSON schema validator (in beta). The roadmap includes rate limiting, DDoS protection, web application rules designed for APIs, and analytics.

 
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 107: Vulnerabilities in Waze, AWS, and NHS COVID-19 app, Forrester App Sec Tech Tide 🌊

Thursday, October 29, 2020

Hi, today we look into details of 3 recent API flaws, plus Forrester names API Security APIsecurity.io The Latest API Security News, Vulnerabilities and Best Practices Issue: #107 Vulnerabilities in

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

Thursday, October 22, 2020

Hi, this week we have 2 API vulnerabilities, two conferences, one tool and one intro APIsecurity.io The Latest API Security News, Vulnerabilities and Best Practices Issue: #106 API flaws at GitLab and

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

You Might Also Like

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. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Veo 2/TimeCapsule/Network of Time

Sunday, December 29, 2024

Recomendo - issue #443 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ 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͏ ͏ ͏ ͏ ͏ ͏

Weekend Reading — Happy New Year! 🥳

Saturday, December 28, 2024

Vitalis 🇺🇦 The most original and unusual landmark in Odesa, which has become a symbol of the creativity of Odesa residents. Tech Stuff Cursor I really really like Cursor. I had a great time using VS

Daily Coding Problem: Problem #1651 [Hard]

Saturday, December 28, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Apple. You are going on a road trip, and would like to create a suitable music playlist.

📺 There's Still A Place for Universal Remotes — 10 Apps I Always Install on a New Mac

Saturday, December 28, 2024

Also: How to Add Emails to Your Tasks To-Do List in Gmail, and More! How-To Geek Logo December 28, 2024 Did You Know In December 2014, two con men from Girona, Spain, agreed to sell a fake Francisco de