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.
|
2021-11-12 20:33:22 +00:00
|
|
|
tags: go,debug,exposure
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
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
|