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,vuln

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: 490a00463044022031725fc24cfa279dc2cdbb47d7167762ceb5108c10cfcc039e3422acec30558702207267559943c9bbc3f864b56061111081232e42d9cf3e4a1ef15017484da55483:922c64590222798bb761d5b6d8e72950