CVE-2024-45036: Improper Access Control Vulnerability When Accessing a Maliciously Crafted Tophat Link
Tophat is a mobile applications testing harness. An Improper Access Control vulnerability can expose the TOPHATAPPTOKEN 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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-45036?
CVE-2024-45036 is rated as a medium severity vulnerability due to the exposure of the TOPHAT_APP_TOKEN.
How do I fix CVE-2024-45036?
To fix CVE-2024-45036, upgrade Tophat to version 1.10.0 or higher, where the vulnerability is addressed.
What does CVE-2024-45036 affect?
CVE-2024-45036 affects Tophat versions prior to 1.10.0, which is a mobile applications testing harness.
What type of vulnerability is CVE-2024-45036?
CVE-2024-45036 is classified as an Improper Access Control vulnerability.
Who can be impacted by CVE-2024-45036?
Users of Tophat versions prior to 1.10.0 may be impacted if they are exposed to an attacker-controlled Tophat URL.