2021-11-12 20:33:22 +00:00
|
|
|
id: debug-vars
|
|
|
|
|
|
|
|
info:
|
2023-02-09 21:39:16 +00:00
|
|
|
name: Golang Expvar - Detect
|
2021-11-12 20:33:22 +00:00
|
|
|
author: luqman
|
2023-02-16 06:13:17 +00:00
|
|
|
severity: low
|
2023-02-09 19:29:36 +00:00
|
|
|
description: Golang expvar function exposes multiple public variables via HTTP such as stack trace information and server operation counters.
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: go,debug,exposure
|
2021-11-12 20:33:22 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-11-12 20:33:22 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/debug/vars"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- '"memstats":'
|
|
|
|
- '"cmdline":'
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
2023-02-09 19:29:36 +00:00
|
|
|
- 200
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022100e8e01368901ebc22b4dfc118084d0ad34fad1d956a8317c6addcad61f357e372022030260d85513e57f4bafab4ce1cea17bc90a36d4aaab76fcfa0c7cce378bfaf6c:922c64590222798bb761d5b6d8e72950
|