nuclei-templates/http/misconfiguration/python-metrics.yaml

34 lines
883 B
YAML

id: python-metrics
info:
name: Detect Python Exposed Metrics
author: dhiyaneshDK
severity: low
description: Information Disclosure of Garbage Collection
reference:
- https://gist.github.com/ruanbekker/e5b1e7895f62b020ff29b5f40767190c
metadata:
max-request: 1
shodan-query: html:"python_gc_objects_collected_total"
tags: exposure,devops,python,misconfig
http:
- method: GET
path:
- "{{BaseURL}}/metrics"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "python_gc_objects_collected_total"
- "python_info"
condition: and
- type: status
status:
- 200
# digest: 490a0046304402201c1902602bdf71d979bcc3407a11f2ed8f2e8672d4f5a16ba64f671d58c4085c022073e68a2bbd9673eff79de34d84b86a7942b2e35cf5a8e9ba9d50a42a1d6a308d:922c64590222798bb761d5b6d8e72950