CVE-2024-45036

Source
https://cve.org/CVERecord?id=CVE-2024-45036
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45036.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-45036
Aliases
  • GHSA-p7xh-6hjr-mmg6
Published
2024-08-26T22:37:01.795Z
Modified
2026-04-02T12:18:45.029200Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Improper Access Control Vulnerability When Accessing a Maliciously Crafted Tophat Link
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-287"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45036.json"
}
References

Affected packages

Git / github.com/shopify/tophat

Affected ranges

Type
GIT
Repo
https://github.com/shopify/tophat
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.10.0"
        }
    ]
}

Affected versions

v1.*
v1.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45036.json"