漏洞描述
go.mod internal file is exposed.
id: go-mod-disclosure
info:
name: Go.mod Disclosure
author: DhiyaneshDk
severity: low
description: go.mod internal file is exposed.
classification:
cpe: cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: golang
product: go
shodan-query: html:"go.mod"
tags: exposure,files,go,vuln
http:
- method: GET
path:
- "{{BaseURL}}/go.mod"
matchers-condition: and
matchers:
- type: word
words:
- 'module'
- 'go'
- 'require ('
condition: and
- type: status
status:
- 200
# digest: 4b0a00483046022100905dd38067b1e0d7eca52245a0284105dc3551cabe87b74cee3870b73f553284022100dd59b771a4d520faf12f69683384566beac47a6ab253e6b9664c7274b764a3fe:922c64590222798bb761d5b6d8e72950