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

API Security Weekly: Issue #11

As we are wrapping up 2018, you can’t help looking back at the record number of high profile API breaches that happened this year.

Dmitry Sotnikov user avatar by
Dmitry Sotnikov
CORE ·
Dec. 21, 18 · News
Like (2)
Save
Tweet
Share
12.26K Views

Join the DZone community and get the full member experience.

Join For Free

As we are wrapping up 2018, you can’t help looking back at the record number of high profile API breaches that happened this year and wondering what can be expected next year. However, it is not all about the holiday mood: this week was also marked by a security hole in mutual TLS authentication in the Go language, XSS at Google Code-in, another Facebook glitch, hundreds of vulnerable Kubernetes deployments, and an announcement of the upcoming healthcare API standards in the US.

Vulnerabilities

The big one this week is the mutual TLS authentication issue in the Go language. The vulnerability that got fixed this week allowed attackers to launch CPU DoS attacks. With Go being one of the most popular programming languages in the microservices and backend implementation world and mutual TLS is one of the most popular security mechanisms, the impact of the vulnerability is significant.

Image title

Does your web application render JSON API responses in HTML? If yes, make sure to escape '</' or attackers can get their scripts planted and perform a cross-site scripting (XSS) attack. Here’s how Thomas Orlita hacked Google Code-in’s website where this wasn’t taken into account.

Facebook had their fair share of API troubles earlier this year. This week, they reported a fairly minor vulnerability in their photo API: the API gave 3rd party developers and their apps access to photos that users had shared in marketplace, stories, or even drafts, not only to the photos the users had shared on their timelines as is normally the case. The issue occurred between Sept 13 and 25, and it was detected by Facebook’s own team. No actual breach is known to have happened, but the potential impact still affects 6.8 million users ( as even a minor glitch affects millions on Facebook). In total, 1,500 apps from 876 developers could potentially have made use of the issue.

Unprotected APIs

We talked about unprotected Docker deployments just last week. Guess what, lots of Kubernetes clusters also end up with APIs publicly exposed on the internet. Folks at BinaryEdge located many of them by testing IP-ADDRESS:PORT/api/v1/pods for various servers. Plenty of the clusters seem to have been already hijacked by cryptominers.

Opinions

Tristan Liverpool, Systems Engineering Director at F5, sees API Security as one of the challenges for businesses in 2019.

The end of the year articles are starting to pop up. In Business Insider, Paige Leskin summarizes the 21 biggest data breaches of 2018. Lots of them are API-related. The list obviously isn’t exhaustive (for example, Panera and a few others that we have covered this year are missing) but it shows the trend and the scale of the issue!

Regulations

According to Donald Rucker, the US Office of the National Coordinator for Health IT will soon release new requirements on standard open API for patient data access. The goal is to ensure security yet enable developing mobile and other healthcare applications that could work across all healthcare providers.

You can subscribe to this 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

  • API Design Patterns Review
  • What Is a Kubernetes CI/CD Pipeline?
  • Bye Bye, Regular Dev [Comic]
  • Deploying Java Serverless Functions as AWS Lambda

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: