CVE-2024-45036 Improper Access Control Vulnerability When Accessing a Maliciously Crafted Tophat Link
Attackers can steal authentication tokens via malicious links, exposing internal mobile build artifacts to unauthorized access.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-45036?
CVE-2024-45036 is a medium-severity vulnerability in Shopify tophat, published on 26 Aug 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Tophat is a mobile applications testing harness. An Improper Access Control vulnerability can expose the `TOPHAT_APP_TOKEN` token stored in `~/.tophatrc` through use of a malicious Tophat URL controlled by the attacker. The vulnerability allows Tophat to send this token to the attacker's server without any checks to ensure that the server is trusted. This token can then be used to access internal build artifacts, for mobile applications, not intended to be public. The issue has been patched as of version 1.10.0. The ability to request artifacts using a Tophat API has been deprecated as this flow was inherently insecure. Systems that have implemented this kind of endpoint should cease use and invalidate the token immediately. There are no workarounds and all users should update as soon as possible.
Weakness: CWE-287
Which versions are affected by CVE-2024-45036?
How do I fix CVE-2024-45036?
No fix has been published for CVE-2024-45036 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-45036 being exploited?
There is no known exploitation of CVE-2024-45036 in the wild and no public exploit code.
Sources
Also known as GHSA-p7xh-6hjr-mmg6.