40 lines
1.4 KiB
YAML
40 lines
1.4 KiB
YAML
id: CVE-2021-40875
|
|
|
|
info:
|
|
name: Gurock TestRail Application files.md5 Exposure
|
|
author: oscarintherocks
|
|
severity: medium
|
|
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.
|
|
reference:
|
|
- 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
|
|
classification:
|
|
cve-id: CVE-2021-40875
|
|
metadata:
|
|
shodan-query: https://www.shodan.io/search?query=TestRail
|
|
tags: cve,cve2021,exposure,gurock,testrail
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/files.md5"
|
|
- "{{BaseURL}}/testrail/files.md5"
|
|
|
|
max-size: 1000 # Define response size in bytes to read from server.
|
|
stop-at-first-match: true
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "app/arguments/admin"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# Enhanced by mp on 2022/03/06
|