Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2021-40875
HistorySep 22, 2021 - 7:10 p.m.

Gurock TestRail Application files.md5 Exposure

2021-09-2219:10:03
ProjectDiscovery
github.com
1

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

7.2 High

AI Score

Confidence

High

0.311 Low

EPSS

Percentile

97.0%

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.

id: CVE-2021-40875

info:
  name: Gurock TestRail Application files.md5 Exposure
  author: oscarintherocks
  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.
  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.
  remediation: |
    Securely restrict access to the files.md5 file and ensure that it is not accessible to unauthorized users.
  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
    - https://github.com/SakuraSamuraii/derailed
  classification:
    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
    cve-id: CVE-2021-40875
    cwe-id: CWE-425
    epss-score: 0.25891
    epss-percentile: 0.96608
    cpe: cpe:2.3:a:gurock:testrail:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: gurock
    product: testrail
    shodan-query:
      - http.html:"TestRail"
      - http.html:"testrail"
    fofa-query: body="testrail"
  tags: cve2021,cve,exposure,gurock,testrail

http:
  - method: GET
    path:
      - "{{BaseURL}}/files.md5"
      - "{{BaseURL}}/testrail/files.md5"

    stop-at-first-match: true
    max-size: 1000 # Define response size in bytes to read from server.

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "app/arguments/admin"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022001bb28671723a59eec2203bdcf16edcc63d2f592e78a09760095857e99d80b96022100d553642740615fdbaaf0c4c2b24795fb67831c7eca1d5a1eaaf9ceccf368442a:922c64590222798bb761d5b6d8e72950

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

7.2 High

AI Score

Confidence

High

0.311 Low

EPSS

Percentile

97.0%