漏洞描述
Information Disclosure of Garbage Collection
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
classification:
cpe: cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: python
product: python
shodan-query: html:"python_gc_objects_collected_total"
tags: exposure,devops,python,misconfig,vuln
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: 490a00463044022065a4c4ee1705da2ed4a71515f64b89adb57bb1f3c2fb685110f227c14b6a671602202b39b5ea1cb1edb2b08407d89e54c16dd7ddd067fac7d77478daa7ae7a7fcf54:922c64590222798bb761d5b6d8e72950