Issue 115: Vulnerabilities in SolarWinds, Ledger, Outlook, new plugin for JetBrains IDEs 🛠️

The Latest API Security News, Vulnerabilities and Best Practices
Issue: #115
Vulnerabilities in SolarWinds, Ledger, Outlook, new plugin for JetBrains IDEs

Happy New Year 2021!

This week, we revisit the API aspects of the SolarWinds breach and check out how APIs featured in the recent Ledger breach. There is also an API vulnerability found in Microsoft’s Office 365 Outlook and a new API development and security plugin for JetBrains IDEs.

Vulnerability: SolarWinds
 

The now-infamous SolarWinds breach that hit multiple US government agencies last month was a supply chain attack. However, it has turned out that, as a cherry on top, SolarWinds Orion API also had an authentication bypass vulnerability.

Some extra parameters in the URI of the request caused Orion to set the SkipAuthorization flag, allowing attacking requests to proceed without authentication. Quoting from the vulnerability note:

The SolarWinds Orion API is embedded into the Orion Core and is used to interface with all SolarWinds Orion Platform products. API authentication can be bypassed by including specific parameters in the Request.PathInfo portion of a URI request, which could allow an attacker to execute unauthenticated API commands. In particular, if an attacker appends a PathInfo parameter of WebResource.adxScriptResource.adxi18n.ashx, or Skipi18n to a request to a SolarWinds Orion server, SolarWinds may set the SkipAuthorization flag, which may allow the API request to be processed without requiring authentication.

In your own APIs, make sure to:

  • Fully document all parameters and their acceptable values.
  • Test APIs from the security perspective.
  • Make sure that anything outside of the expected values gets rejected.
Vulnerability: Ledger
 

Ledger, a digital wallet service, was breached in July, and now the attacker has dumped a database with 270,000 personal account details of Ledger users.

The sensitive information got breached in the first place because an API key was hard-coded in the source code of the client application. This allowed the attacker to access Ledger’s e-commerce database.

Lessons learned:

  • Let’s repeat together: Never hard-code API keys!
  • Do not trust client applications; they might get breached.
  • Do not provide direct database service access; use multi-tier system design.
  • Ensure that APIs invoked on behalf of a user only have access to the data of that particular user.
Vulnerability: Office 365 Outlook
 

Ron Chan has posted a quick video on how he found an API vulnerability in Microsoft’s Office 365 Outlook.

This was an issue with unsigned JWT tokens. Although the algorithm in use was supposed to be RS256, in reality, JWTs were missing the signature section altogether, allowing attackers to change tokens.

Check out Chan’s video for more details:

Tools: OpenAPI (Swagger) Plugin for JetBrains IntelliJ/PyCharm/PhpStorm
 

API security needs to start with API design, development, and testing.

We have already covered the OpenAPI plugin for Microsoft Visual Studio Code that provides security testing for your API definitions right from the design phase. Now there is a similar plugin for the family of IDEs (Integrated Developer Environments) by JetBrains, including IntelliJ, PyCharm, and PhpStorm.

The plugin makes OpenAPI development easier by providing:

  • OpenAPI HTML preview
  • Navigation
  • Go to Definition
  • IntelliSense
  • Code snippets
IntelliJ Editing

And there’s a built-in static security testing of API contracts, API Contract Security Audit from 42Crunch that runs 200+ different security checks shows found security issues and their possible exploit scenarios, and provides advice on remediation:

IntelliJ Audit

 

 
 
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 114: SolarWinds and PickPoint breaches, GitHub Code Scanning review, GraphQL security 〽️

Thursday, December 17, 2020

Hi, this week we look at the API security aspects of two recent breaches, shift-left APIsecurity.io The Latest API Security News, Vulnerabilities and Best Practices Issue: #114 SolarWinds and PickPoint

Issue 113: API vulnerabilities at YouTube and 1Password, OIDC security, Assetnote Wordlists

Thursday, December 10, 2020

Hi, today we look at OIDC security, wordlists for reconnasaince, and 2 recent API flaws APIsecurity.io The Latest API Security News, Vulnerabilities and Best Practices Issue: #113 API vulnerabilities

Issue 111: API vulnerabilities in AWS, Tesla Backup Gateway, Twitter 🦃

Friday, December 4, 2020

Hi, today we look at 3 recent API vulnerability reports and have passes to another conf APIsecurity.io The Latest API Security News, Vulnerabilities and Best Practices Issue: #111 API vulnerabilities

Issue 112: Vulnerability in Paginator, Microsoft RESTLer, talks on API authentication and JWT security 🗝️

Friday, December 4, 2020

Hi, today we look at a recent injection vulnerability, another API fuzzer, and 2 talks APIsecurity.io The Latest API Security News, Vulnerabilities and Best Practices Issue: #112 Vulnerability in

Issue 110: API flaws in Bumble and COVID-KAYA, Forrester on API security, ASC 2020 talks 🖥️

Thursday, November 19, 2020

Hi, today we look at two recent API vulnerabilities, 2 session recordings, a webinar & APIsecurity.io The Latest API Security News, Vulnerabilities and Best Practices Issue: #110 API flaws in

You Might Also Like

Dark forest, bad art and paying to bike

Saturday, December 28, 2024

Neologism #24, 28.12.2024 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

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

Ranked | The World's Top 30 Countries, by Automobiles Manufactured 🚙

Saturday, December 28, 2024

In 2023, China led global car production, contributing nearly a third of total output. Which countries followed in this competitive industry? View Online | Subscribe | Download Our App FEATURED STORY

🐍 New Python tutorials on Real Python

Saturday, December 28, 2024

Hey there, There's always something going on over at Real Python as far as Python tutorials go. Here's what you may have missed this past week: Learn From 2024's Most Popular Python

15,000+ Four-Faith Routers Exposed to New Exploit Due to Default Credentials

Saturday, December 28, 2024

THN Daily Updates Newsletter cover Resilient Cybersecurity ($39.99 Value) FREE for a Limited Time Reconstruct your defense strategy in an evolving cyber world Download Now Sponsored LATEST NEWS Dec 28,

Hands Down One Of The Best Cards For 2025 Offering 0% interest until 2026

Saturday, December 28, 2024

iPhoneLife Logo Sponsored email sent by iPhone Life Hands Down One Of The Best Cards For 2025 Offering 0% interest until 2026 If you have outstanding credit card debt, getting a new 0% intro APR credit

📧 What Rewriting a 40-Year-Old Project Taught Me About Software Development

Saturday, December 28, 2024

​ What Rewriting a 40-Year-Old Project Taught Me About Software Development Read on: m​y website / Read time: 7 minutes The .NET Weekly is brought to you by: As the year wraps up, it's clear API

This Week in Rust #579

Saturday, December 28, 2024

Email isn't displaying correctly? Read this e-mail on the Web This Week in Rust issue 579 — 25 DEC 2024 Hello and welcome to another issue of This Week in Rust! Rust is a programming language