- 
                Notifications
    You must be signed in to change notification settings 
- Fork 3.1k
Closed
Labels
DoneReady to mergeReady to mergefalse-positiveNuclei template reporting invalid/unexpected resultNuclei template reporting invalid/unexpected result
Description
Template IDs or paths
- http/exposures/configs/config-json.yamlEnvironment
N/ASteps To Reproduce
- nuclei -t http/exposures/configs/config-json.yaml
Relevant dumped responses
Anything else?
can add text/javascript to solve this
id: config-json
info:
  name: Configuration File - Detect
  author: geeknik
  severity: medium
  description: Multiple configuration files were detected.
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 4
    github-query: filename:config.json
  tags: config,exposure,files,vuln
http:
  - method: GET
    path:
      - "{{BaseURL}}/config/default.json"
      - "{{BaseURL}}/config.json"
      - "{{BaseURL}}/config/config.json"
      - "{{BaseURL}}/credentials/config.json"
    stop-at-first-match: true
    matchers-condition: and
    matchers:
      - type: word
        words:
          - '"api_keys":'
          - '"aws":'
          - '"server":'
          - '"users":'
          - '"password":'
          - '"user"'
          - '"path":'
        condition: or
      - type: word
        part: header
        words:
          - "text/html"
          - "text/javascript"
        negative: true
      - type: status
        status:
          - 200
Metadata
Metadata
Assignees
Labels
DoneReady to mergeReady to mergefalse-positiveNuclei template reporting invalid/unexpected resultNuclei template reporting invalid/unexpected result