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
|
2024-09-10 09:08:16 +00:00
|
|
|
classification:
|
|
|
|
cpe: cpe:2.3:a:microsoft:nuget:*:*:*:*:*:*:*:*
|
2022-10-07 11:00:52 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 2
|
2024-09-10 08:22:50 +00:00
|
|
|
vendor: microsoft
|
2024-09-10 09:08:16 +00:00
|
|
|
product: nuget
|
|
|
|
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
|
2023-10-14 11:27:55 +00:00
|
|
|
|
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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
2024-09-10 09:08:16 +00:00
|
|
|
# digest: 4a0a0047304502202e84589746805c8bbca0cf94b1bffa171136ccc8b6ad5616fa29d2951f1284d3022100dbd8a24d22bbd58ed9e38a8775142f1982ed9b338529bac0a05e6872e95f2d65:922c64590222798bb761d5b6d8e72950
|