DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
The Latest "Software Integration: The Intersection of APIs, Microservices, and Cloud-Based Systems" Trend Report
Get the report
  1. DZone
  2. Data Engineering
  3. Databases
  4. API Security Weekly: Issue #22

API Security Weekly: Issue #22

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

Dmitry Sotnikov user avatar by
Dmitry Sotnikov
CORE ·
Mar. 14, 19 · News
Like (4)
Save
Tweet
Share
8.87K Views

Join the DZone community and get the full member experience.

Join For Free

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:

  • Secret Key Exchange (Diffie-Hellman)
  • Man-in-the-middle attacks / RSA

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.

API security

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

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Demystifying Multi-Cloud Integration
  • Best Practices for Setting up Monitoring Operations for Your AI Team
  • Leverage Lambdas for Cleaner Code
  • Isolating Noisy Neighbors in Distributed Systems: The Power of Shuffle-Sharding

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: