{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-40875 exists.","fix":"No fix has been published for CVE-2021-40875 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-40875 is a high-severity vulnerability in n/a, published on 22 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-40875 and fix it if it is affected.\n\nWhat it is: CVE-2021-40875 is a high-severity vulnerability in n/a, published on 22 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-40875 exists.\n\nAffected product: n/a. 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-2021-40875/ (Markdown: https://insights.sbomify.com/CVE-2021-40875/index.md)","id":"CVE-2021-40875","markdown":"https://insights.sbomify.com/CVE-2021-40875/index.md","name":"CVE-2021-40875","record":{"aliases":["GHSA-fmj6-gcwc-6452"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"TestRail test management","requires_auth":"none","summary":"Attackers can access a public file listing application paths, potentially exposing hardcoded credentials or API keys in Gurock TestRail.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"testrail","vendor":"gurock"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-425","name":"Direct Request"}],"description":"Improper Access Control in Gurock TestRail versions \u003c 7.2.0.3014 resulted in sensitive information exposure. A threat actor can access the /files.md5 file on the client side of a Gurock TestRail application, disclosing a full list of application files and the corresponding file paths. The corresponding file paths can be tested, and in some cases, result in the disclosure of hardcoded credentials, API keys, or other sensitive data.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2021-09-13","github_poc":2,"max_poc_stars":8,"metasploit":0,"nuclei":1,"refs":[{"date":"2021-09-13T07:35:18Z","kind":"github_poc","ref":"https://github.com/SakuraSamuraii/derailed","stars":8,"title":"CVE-2021-40875: Tools to Inspect Gurock Testrail Servers for Vulnerabilities related to CVE-2021-40875."},{"date":"2022-02-24T19:52:01Z","kind":"github_poc","ref":"https://github.com/Lul/TestRail-files.md5-IAC-scanner","stars":2,"title":"Python scanner for TestRail servers vulnerable to CVE-2021-40875"},{"date":"2021-09-23","kind":"exploitdb","ref":"50320","stars":null,"title":"Gurock Testrail 7.2.0.3014 - 'files.md5' Improper Access Control"},{"date":null,"kind":"nuclei","ref":"http/cves/2021/CVE-2021-40875.yaml","stars":null,"title":"Gurock TestRail Application files.md5 Exposure"}],"tier":"weaponised"},"has_fix":null,"headline":"Information disclosure in n/a","id":"CVE-2021-40875","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2021"},"n_packages":0,"n_references":4,"next":{"headline":"Command injection in n/a","id":"CVE-2021-40881"},"packages":[],"prev":{"headline":"Auth bypass in n/a","id":"CVE-2021-40874"},"products":["n/a"],"published":"2021-09-22","related":[{"cvss_score":8.8,"headline":"File upload in n/a","id":"CVE-2018-20063","kev_date_added":null,"published":"2019-02-25"},{"cvss_score":5.4,"headline":"Cross-site scripting in n/a","id":"CVE-2021-36538","kev_date_added":null,"published":"2023-02-03"},{"cvss_score":5.4,"headline":"Cross-site scripting in n/a","id":"CVE-2021-44263","kev_date_added":null,"published":"2021-12-20"},{"cvss_score":5.4,"headline":"Cross-site request forgery in n/a","id":"CVE-2021-37788","kev_date_added":null,"published":"2021-08-09"},{"cvss_score":5.3,"headline":"Information disclosure in n/a","id":"CVE-2019-7535","kev_date_added":null,"published":"2019-02-07"},{"cvss_score":4.3,"headline":"Cross-site scripting in n/a","id":"CVE-2014-4857","kev_date_added":null,"published":"2014-07-26"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Attackers can access a public file listing application paths, potentially exposing hardcoded credentials or API keys in Gurock TestRail.","url":"https://insights.sbomify.com/CVE-2021-40875/"}