2021-09-22 19:10:03 +00:00
id : CVE-2021-40875
info :
2022-03-06 16:41:44 +00:00
name : Gurock TestRail Application files.md5 Exposure
2021-09-22 19:10:03 +00:00
author : oscarintherocks
2022-05-17 09:18:12 +00:00
severity : high
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 which can then be tested, and in some cases result in the disclosure of hardcoded credentials, API keys, or other sensitive data.
2023-09-27 15:51:13 +00:00
impact : |
An attacker could use the exposed files.md5 to gain insight into the application's file structure and potentially identify vulnerabilities or sensitive information.
2023-09-06 12:09:01 +00:00
remediation : |
Securely restrict access to the files.md5 file and ensure that it is not accessible to unauthorized users.
2021-09-22 19:10:03 +00:00
reference :
2022-03-06 16:41:44 +00:00
- htttps://github.com/SakuraSamuraii/derailed
- https://johnjhacking.com/blog/cve-2021-40875/
- https://www.gurock.com/testrail/tour/enterprise-edition
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40875
2023-07-11 19:49:27 +00:00
- https://github.com/SakuraSamuraii/derailed
2021-09-22 19:10:03 +00:00
classification :
2022-05-17 09:18:12 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score : 7.5
2021-09-22 19:10:03 +00:00
cve-id : CVE-2021-40875
2023-07-11 19:49:27 +00:00
cwe-id : CWE-425
2024-01-14 13:49:27 +00:00
epss-score : 0.25891
2024-03-23 09:28:19 +00:00
epss-percentile : 0.96608
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:gurock:testrail:*:*:*:*:*:*:*:*
2021-09-23 10:00:58 +00:00
metadata :
2023-04-28 08:11:21 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : gurock
product : testrail
2023-09-06 12:09:01 +00:00
shodan-query : http.html:"TestRail"
2024-01-14 09:21:50 +00:00
tags : cve2021,cve,exposure,gurock,testrail
2021-09-22 19:10:03 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-09-22 19:10:03 +00:00
- method : GET
path :
- "{{BaseURL}}/files.md5"
- "{{BaseURL}}/testrail/files.md5"
2021-09-23 09:59:04 +00:00
stop-at-first-match : true
2023-07-11 19:49:27 +00:00
max-size : 1000 # Define response size in bytes to read from server.
2021-09-22 19:10:03 +00:00
matchers-condition : and
matchers :
- type : word
2021-09-23 09:59:04 +00:00
part : body
2021-09-22 19:10:03 +00:00
words :
- "app/arguments/admin"
- type : status
status :
- 200
2024-03-25 11:57:16 +00:00
# digest: 490a0046304402207646eee4aa56e0329051709dffce67b5a0edf5f25c7eb190e70efc6d1b7b6f8c02202b08a5b0dd6adc756b48637e62ccc41bc5216d7b2207c2e52a2ff701a708d1e7:922c64590222798bb761d5b6d8e72950