id: exposed-vscode

info:
  name: Visual Studio Code Directories - Detect
  author: aashiq
  severity: medium
  description: Visual Studio Code directories 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:
    max-request: 1
  tags: vscode,exposure

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

    matchers:
      - type: word
        words:
          - "Index of /.vscode"
        part: body
# digest: 490a0046304402207c39e48bbc2b6179296cbdd71cccc3c1ec90d7afdad35e1b068b38ab60dd87bb022035689e26e668d787164bb37af53738294eb75e654b4d26c0d4ab06c5ca9106f9:922c64590222798bb761d5b6d8e72950