{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-45036 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-45036 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2024-45036 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2024-45036 in the wild and no public exploit code.\n\nAffected product: Shopify tophat. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-45036/ (Markdown: https://insights.sbomify.com/CVE-2024-45036/index.md)","id":"CVE-2024-45036","markdown":"https://insights.sbomify.com/CVE-2024-45036/index.md","name":"CVE-2024-45036","record":{"aliases":["GHSA-p7xh-6hjr-mmg6"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Mobile testing harness","requires_auth":"none","summary":"Attackers can steal authentication tokens via malicious links, exposing internal mobile build artifacts to unauthorized access.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Improper Access Control Vulnerability When Accessing a Maliciously Crafted Tophat Link","id":"CVE-2024-45036","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"AWS CDK RestApi not generating authorizationScope correctly in resultant CFN template","id":"CVE-2024-45037"},"packages":[],"prev":{"headline":"Apache Airflow: Authenticated DAG authors could execute code on scheduler nodes","id":"CVE-2024-45034"},"products":["tophat"],"published":"2024-08-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-27","vendors":["Shopify"]},"summary":"Attackers can steal authentication tokens via malicious links, exposing internal mobile build artifacts to unauthorized access.","url":"https://insights.sbomify.com/CVE-2024-45036/"}