Intel

AIKIDO-2024-10358

@vtex/api is vulnerable to Weak Authentication

Weak Authentication Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 24, 2024

80

High Risk

This Affects:

js@vtex/api
3.0.0 - 6.47.0
Fixed in 6.48.0
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to weak authentication, allowing cross-account requests. The vulnerability occurs because the system permits such requests as long as the target account contains a user identified by the token, regardless of whether the user is authorized to access that account. This flaw could enable unauthorized access or data exposure between accounts.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@vtex/api is vulnerable to Weak Authentication in versions 3.0.0 - 6.47.0.

How to fix this

Upgrade the @vtex/api library to the patch version.