id: badarg-log

info:
  name: Badarg Log File Exposure
  author: Hardik-Solanki
  severity: low
  description: Badarg log file was exposed.
  reference:
    - https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt
    - https://www.erlang.org/doc/reference_manual/errors.html
  metadata:
    verified: true
    max-request: 1
    github-query: filename:badarg.log
  tags: exposure,badarg,log,debug

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Special kernel symbols:'
          - 'Kernel executable memory footprint:'
          - 'badarg'
        condition: and

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