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
  1. DZone
  2. Data Engineering
  3. Databases
  4. API Security Weekly: Issue #31

API Security Weekly: Issue #31

This week, look at API key security, business impact, and API security by design.

Dmitry Sotnikov user avatar by
Dmitry Sotnikov
CORE ·
May. 17, 19 · News
Like (3)
Save
Tweet
Share
15.78K Views

Join the DZone community and get the full member experience.

Join For Free

This week, Samsung has leaked a token that provides full access to their SmartThings code repository, and Facebook fixed one API flaw but got fined for another. We also have a discussion of API security and DevOps and look into a survey that Postman runs on the future of OpenAPI support.

Image title

API Keys

We have discussed API key security in our issue 25. This week, there was another high profile leak: Researchers found in the wild a token giving full access to the Samsung SmartThings GitLab repository.

One of the Samsung labs had a GitLab server with some of the repositories set to be public, and one of these repos had an AWS S3 access token in its code. The AWS S3 turned out to have more than 100 storage buckets, containing logs and analytics. Within that data, researches found GitLab tokens, including the one for the SmartThings project.

The SmartThings app has more than 100 million installations globally. Thus, the potential impact of any attacker modifying the code is huge.

Keep your repositories private and never put your API tokens in your code or logs!

Business Impact

Facebook got fined for the API vulnerability in their Photo API that leaked private photos. The vulnerability was found and fixed back in December, but this shows that even vulnerabilities that are fixed might come back to bite you.

API Security by Design

Some more bad news from Facebook: they had another API issue last week. This one was a flaw in the API design.

Facebook has a marketplace section that lets users buys and sell stuff. The web application fuzzes the seller’s location to protect privacy. However, the fuzzing was implemented only on the web UI’s side. The API itself gave away the exact GPS coordinates so that an attacker could get the exact location of any seller on the platform.

The bottom line here is that APIs should be treated as products. They should not disclose more information than the product is supposed to disclose.

Reviews

Enterprise Security Weekly is a popular online show by Matt Alderman and Paul Asadorian. This week, among many other topics, they had a discussion on API security. API attacks are on the rise, so how do you ensure that your APIs are comprehensively audited and protected from dev to QA to runtime?

Tools

CEO and the founder of Postman, Abhinav Asthana, is asking for help in determining what the scope of the OpenAPI support should be in the tool. He runs a survey on whether developers typically write the API definition in an editor, or generate it from the code. Cast your vote here.

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

  • Top 10 Best Practices for Web Application Testing
  • Event Driven 2.0
  • Seamless Integration of Azure Functions With SQL Server: A Developer's Perspective
  • GitLab vs Jenkins: Which Is the Best CI/CD Tool?

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: