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.
|
2024-01-29 11:58:34 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
2024-01-04 07:04:14 +00:00
|
|
|
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-29 12:41:50 +00:00
|
|
|
# digest: 4a0a00473045022100e8bc232ebee21e22bb0acf599dea255eea2f52b7fd9614d0cded0cd6fbf659ea02205ef218e093d97104625cf0925d1cf7b8abf14552f6de09a2d5954fd70c9d11f4:922c64590222798bb761d5b6d8e72950
|