Issue 78: Vulnerabilities in WordPress Rank Math, Tapplock, and TicTocTrack ⌚

The Latest API Security News, Vulnerabilities and Best Practices
Issue: #78
Vulnerabilities in WordPress Rank Math, Tapplock, and TicTocTrack

This week, we check out the API vulnerabilities in the WordPress Rank Math plugin, Tapplock smartlock, and TicTocTrack, another kids’ smartwatch.

In addition, an update to VS Code OpenAPI extension that adds static application security testing (SAST) for composite API contracts has been released.

Vulnerability: WordPress Rank Math plugin
 

A popular WordPress plugin, Rank Math, had a critical API security vulnerability. This plugin makes search engine optimization (SEO) of WordPress sites easier, and it has over 200 000 installs.

One of the functions of the plugin was to update metadata on WordPress post. For this, the plugin registered a REST-API endpoint, rankmath/v1/updateMeta. This endpoint had no authorization checks and so no restrictions for its use.

This allowed attackers to modify various metadata of not just WordPress posts, but also elsewhere in the WordPress deployment. The most critical scenario allowed attackers to make changes to the users table. Attackers could disable or modify any existing users, and even create their own administrative accounts for takeover. Attackers could also create redirects, opening the door for further attacks through malicious websites.

Luckily the vulnerability has already been fixed. Lessons learned from this one:

  • APIs should always have authentication and authorization checks.
  • The scope of using an API usage should be limited to cover only the bare minimum of what is required for the business operations.
  • Input should always be checked to enforce only the scenarios for which the API is supposed to be used.
Vulnerability: Tapplock
 

US Federal Trade Commission (FTC) has reached a settlement with the smartlock manufacturer Tapplock. The company had been marketing their lock as “unbreakable” when in fact it had pretty glaring security issues. These also included some API vulnerabilities:

  • Transport: Communications between the Tapplock app and API server were not using HTTPS but unencrypted HTTP, and thus susceptible to snooping and man-in-the-middle (MITM) attacks.
  • Broken Object Level Authorization (BOLA, aka IDOR): After successfully logging in, a user could then access the account of another user without being redirected to the login page. This gave access to all personal information of the other user, including “usernames, e-mail addresses, profile photos, location history, and precise geolocation of smart locks”.

See the full FTC document or a summary from The Register. We have previously covered vulnerabilities in smartlocks in our issues 38 and 45.

Vulnerability: TicTocTrack
 

We covered a vulnerability in TicTocTrack, an Australian GPS-enabled smartwatch for kids, about a year ago in issue 27. Now, Gordon Beeming has found that the system had a recent regression and the vulnerability was re-introduced.

This BOLA/IDOR issue allowed any user to get data and gain control over any other TicTocTrack smartwatch. That obviously endangered both privacy and the physical security of children using the devices. As serious as they come.

With product teams iterating on the versions of their systems, you cannot treat security as a one-time review or one-time fix process. Security vulnerabilities may be introduced or re-introduced on any code change. This is especially dangerous when data access interfaces are used like OData (Open Data Protocol) in this particular case.

Security needs to shift left and be a part of API design, development, and testing, iterating as the code is iterated on.

Tools: SAST for composite OpenAPI files in VS Code
 

Microsoft Visual Studio Code (VS Code) has a popular OpenAPI extension, OpenAPI (Swagger) Editor, that helps create, edit, and check the security of REST API definitions.

This week, the extension has been updated, and it now enables developers to perform API Contract Security Audit — a SAST analysis — even on composite API contracts: API definitions that reference parts like payload definition schemas from external files with $ref references.

composite_openapi_file_security_audit_960

 

 
dmitry_apisec-1  

Dmitry Sotnikov

APIsecurity.io

 
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  
 
 

You Might Also Like

500 weeks later

Thursday, January 9, 2025

Reflections on a decade-long and looking ahead to 2025 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

JSK Daily for Jan 8, 2025

Wednesday, January 8, 2025

JSK Daily for Jan 8, 2025 View this email in your browser A community curated daily e-mail of JavaScript news Advanced Query Building Techniques in Angular: Queries with Different Connectors The Query

👍 The Coolest Tech at CES 2025 — How to Access Your Mac's Screen from Windows

Wednesday, January 8, 2025

Also: These Are My Best and Worst Smart Home Decisions, and More! How-To Geek Logo January 8, 2025 Did You Know The one and only number retired across all teams in Major League Baseball is 42, Jackie

Daily Coding Problem: Problem #1662 [Hard]

Wednesday, January 8, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Implement an LFU (Least Frequently Used) cache. It should be able to be

The latest Go dev survey results

Wednesday, January 8, 2025

Plus it's time to say goodbye to the Go Time podcast. | #​537 — January 8, 2025 Unsub | Web Version Happy New Year to all. In case you missed our note prior to the Christmas break, Go Weekly is now

Ranked | Visualizing Major Asset Class Returns in 2024 📈

Wednesday, January 8, 2025

From bitcoin to the US dollar, asset class returns in 2024 were stellar, in a year marked by elevated rates and a robust US economy. View Online | Subscribe | Download Our App FEATURED STORY

Spyglass Dispatch: Meta Miscues

Wednesday, January 8, 2025

Meta's Social AI Content • Anthropic at $60B • Bluesky at $700M • Dick Wolf's 30 Minute Show • NVIDIA's CPU Aspirations The Spyglass Dispatch is a newsletter sent on weekdays featuring

Top Tech Deals 💰 Anker Power Station, GoPro, 8BitDo Controller, and More!

Wednesday, January 8, 2025

Upgrade your life with a new power station, Wi-Fi 7 router, or AirTags at a big discount. How-To Geek Logo January 8, 2025 Top Tech Deals: Anker Power Station, GoPro Hero, 8BitDo Controller, and More!

Is Claude.ai worth $60 billion? 🎩

Wednesday, January 8, 2025

+ AI will mow my lawn ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Post from Syncfusion Blogs on 01/08/2025

Wednesday, January 8, 2025

New blogs from Syncfusion Effortlessly Manage Large File Uploads with Blazor File Manager By Keerthana Rajendran This blog explains the new chunk upload feature added in the Blazor File Manger