vagrantfile-exposure: Vagrantfile Exposure

日期: 2025-08-01 | 影响软件: Vagrantfile | POC: 已公开

漏洞描述

Vagrantfile is exposed to external users.

PoC代码[已公开]

id: vagrantfile-exposure

info:
  name: Vagrantfile Exposure
  author: DhiyaneshDk
  severity: low
  description: Vagrantfile is exposed to external users.
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"Vagrantfile"
  tags: config,exposure,vagrant,oss,files,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/Vagrantfile"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "./vagrant/config/vagrant-local.yml"
          - "./vagrant/config/vagrant-local.example.yml"

      - type: word
        part: header
        words:
          - "application/json"
          - "text/html"
        negative: true
        condition: or

      - type: status
        status:
          - 200
# digest: 490a004630440220354c2f4fde8f4619fe9aaa86c798ff699108287dd5ceb70cfdb5e31571779e4f02203702e787c274163081428510debdf5fd4444ef74c4277d03cca430b9794547c6:922c64590222798bb761d5b6d8e72950