28 lines
558 B
YAML
28 lines
558 B
YAML
id: debug-vars
|
|
|
|
info:
|
|
name: Golang Expvar - Detect
|
|
author: luqman
|
|
severity: low
|
|
description: Golang expvar function exposes multiple public variables via HTTP such as stack trace information and server operation counters.
|
|
tags: go,debug,exposure
|
|
metadata:
|
|
max-request: 1
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/debug/vars"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- '"memstats":'
|
|
- '"cmdline":'
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|