{{announcement.body}}
{{announcement.title}}

API Security Weekly: Issue #22

DZone 's Guide to

API Security Weekly: Issue #22

Look at this week's vulnerabilities, tools, and tutorials.

· Integration Zone ·
Free Resource

This week, we have seen vulnerabilities in 3 million car alarms, snowboard helmets, and virtual worlds. In other news, there is a new API security platform built around OpenAPI contracts. We also take a look at the SANS checklists and HTTPS/TLS tutorials.Image title

Vulnerabilities

This was a good week for PenTestPartners. They have uncovered a couple of serious API vulnerabilities:

The first one is in Pandora and Viper (Clifford) car alarm systems. These systems control about 3 million vehicles. The vulnerability in question is an Insecure Direct Object Reference (IDOR) attack, in which attackers use the security token of one user to access the data of someone else. What made it worse was that the user IDs could be just enumerated. Attackers created demo accounts for themselves to access the APIs. After that, they could simply go through the IDs, get information about the users, reset their passwords, and take over the accounts. Full access provided them all information about the vehicles and even allowed the attackers to send commands to them, such as killing the engine.

The other vulnerable API was found in Outdoor Tech CHIPS smart headphones for skiing and snowboarding. These helmet headphones can play music and allow skiers and snowboarders to talk to their friends à la walkie-talkie. The walkie-talkie functionality is cloud-based and goes through the company servers. The APIs for that functionality are highly insecure. They allow account enumeration, and for every account, they leak name, email, GPS, and audio stream.

Elsewhere, virtual worlds can be as vulnerable. A research team (Ibrahim Baggili, Peter Casey, and Martin Vondráček) at the University of New Haven found multiple vulnerabilities in the popular Bigscreen virtual reality app and its underlying Unity APIs. Inputs were not sanitized, so attackers could inject JavaScript and take control. They could discover private rooms, secretly eavesdrop on discussions, see user screens, get access to their microphones, and so on.

Tools

42Crunch Platform, a cloud-based API security platform, is out. It provides DevSecOps process built around the OpenAPI definition of your API:

  1. Audit the API contract for vulnerabilities. This is similar to the Security Audit tool at APIsecurity.io.
  2. Scan the live API endpoint for contract compliance to ensure that the API implementation matches the API contract.
  3. Protect the API with a micro API firewall (including the Kubernetes sidecar model) that uses a positive security model based on the API definition. This ensures that only calls and responses that match the API contract go through.

Image title

Tutorials

Want a better understanding of how encryption behind TLS and HTTPS works? Check out these Computerphile videos:

These tutorials are very easy to grasp, entertaining, and educational.

Best Practices

SANS Institute published their Securing Web Application Technologies (SWAT) Checklist. It covers in detail:

  • Error Handling and Logging
  • Data Protection
  • Configuration and Operations
  • Authentication
  • Session Management
  • Input and Output Handling
  • Access Control

You can subscribe to this weekly newsletter at https://APIsecurity.io.

Topics:
api news, api security, apis, integration, integration news, newsletter, security, security news

Published at DZone with permission of Dmitry Sotnikov , DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}