41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
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
|
|
classification:
|
|
cpe: cpe:2.3:a:microsoft:nuget:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 2
|
|
vendor: microsoft
|
|
product: nuget
|
|
shodan-query: html:"packages.config"
|
|
tags: exposure,sass,devops,cicd,nuget,files
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/packages.config'
|
|
- '{{BaseURL}}/.nuget/packages.config'
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '<?xml version="1.0" encoding="utf-8"?>'
|
|
- '<packages>'
|
|
- '</packages>'
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4a0a00473045022100b16cf62b15ba6c34a4532035d62e6b484ed61e8c1c054ebe50ce8d47a691db4b02201d008ccf0067222b612b379a9c8d424b62ec24adcd8ac112f5308a95810bf5ce:922c64590222798bb761d5b6d8e72950 |