id: sound4-directory-listing

info:
  name: SOUND4 Impact/Pulse/First/Eco <=2.x - Information Disclosure
  author: arafatansari
  severity: medium
  description: |
    The application is vulnerable to sensitive directory indexing / information disclosure vulnerability. An unauthenticated attacker can visit the log directory and disclose the server's log files containing sensitive and system information.
  reference:
    - https://packetstormsecurity.com/files/170259/SOUND4-IMPACT-FIRST-PULSE-Eco-2.x-Information-Disclosure.html
    - https://www.zeroscience.mk/en/vulnerabilities/ZSL-2022-5732.php
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.html:"SOUND4"
  tags: misconfig,listing,sound4,disclosure,packetstorm

http:
  - method: GET
    path:
      - "{{BaseURL}}/log/"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "<title>Index of /log</title>"
          - "Parent Directory"
        condition: and

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