2024-01-04 07:04:14 +00:00
|
|
|
id: go-pprof-debug
|
|
|
|
|
|
|
|
info:
|
2024-01-22 06:27:57 +00:00
|
|
|
name: Go pprof Debug Page
|
2024-01-04 07:04:14 +00:00
|
|
|
author: w8ay
|
|
|
|
severity: low
|
|
|
|
description: go pprof debug page was exposed.
|
|
|
|
tags: logs,exposure,go,pprof
|
|
|
|
|
|
|
|
http:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/debug/pprof/heap?debug=1"
|
|
|
|
- "{{BaseURL}}/pprof/heap?debug=1"
|
|
|
|
|
2024-01-22 06:27:57 +00:00
|
|
|
stop-at-first-match: true
|
2024-01-04 07:04:14 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
2024-01-22 06:27:57 +00:00
|
|
|
- 'heap profile:'
|
|
|
|
- 'Alloc'
|
|
|
|
condition: and
|
2024-01-04 07:04:14 +00:00
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "text/plain"
|
|
|
|
part: header
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
2024-01-22 06:27:57 +00:00
|
|
|
- 200
|
2024-01-24 06:25:31 +00:00
|
|
|
# digest: 490a004630440220693988cf65c1e8338eaaa6f52fcee6af2d64476dc7116ffd74889bc31f69ea3302206342a09474c89b295474a1691c74da4e9dacd4e9d4a725d65e078a5b4d104fbf:922c64590222798bb761d5b6d8e72950
|