2022-10-07 11:00:52 +00:00
|
|
|
id: nuget-package-config
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: NuGet Package.config File Disclosure
|
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: info
|
|
|
|
reference:
|
|
|
|
- https://learn.microsoft.com/en-us/nuget/reference/packages-config
|
|
|
|
- https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt
|
|
|
|
metadata:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 2
|
2022-10-07 11:00:52 +00:00
|
|
|
verified: true
|
|
|
|
shodan-query: html:"packages.config"
|
2022-10-07 12:34:46 +00:00
|
|
|
tags: exposure,sass,devops,cicd,nuget,files
|
2022-10-07 11:00:52 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-10-07 11:00:52 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}/packages.config'
|
|
|
|
- '{{BaseURL}}/.nuget/packages.config'
|
|
|
|
|
2022-10-07 12:34:46 +00:00
|
|
|
stop-at-first-match: true
|
2022-10-07 11:00:52 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '<?xml version="1.0" encoding="utf-8"?>'
|
|
|
|
- '<packages>'
|
|
|
|
- '</packages>'
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|