id: jsapi-ticket-json

info:
  name: JsAPI Ticket Json
  author: DhiyaneshDK
  severity: low
  description: JsAPI Ticket internal file is exposed.
  reference: https://www.exploit-db.com/ghdb/6070
  metadata:
    verified: true
    max-request: 1
    google-query: intitle:"index of" "jsapi_ticket.json"
  tags: exposure,jsapi,files

http:
  - method: GET
    path:
      - "{{BaseURL}}/jsapi_ticket.json"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '"expire_time":'
          - '"jsapi_ticket":'
        condition: and

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