nuclei-templates/http/exposures/files/viminfo-disclosure.yaml

43 lines
1.0 KiB
YAML

id: viminfo-disclosure
info:
name: Viminfo - File Disclosure
author: DhiyaneshDK
severity: low
description: |
Viminfo file was detected.
reference:
- https://renenyffenegger.ch/notes/development/vim/editing/viminfo/index
classification:
cpe: cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: vim
product: vim
shodan-query: html:"Viminfo"
tags: devops,exposure,viminfo,config
http:
- method: GET
path:
- "{{BaseURL}}/.viminfo"
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'Viminfo version'
- 'Command Line History'
condition: and
- type: word
part: header
words:
- 'application/octet-stream'
- type: status
status:
- 200
# digest: 4b0a00483046022100f3023f3142eedf9f0b866000efb526d6beb665988735890764391d6cc0203e94022100e58de5c858d3d2c85d4b09671e145fd914162fd064ed9c7a4fc3b6d81b88b468:922c64590222798bb761d5b6d8e72950