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-13 15:27:33 +00:00
|
|
|
severity: info
|
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-02-13 15:27:33 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
|
|
|
|
cvss-score: 0.0
|
|
|
|
cwe-id: CWE-200
|
2021-11-12 20:33:22 +00:00
|
|
|
tags: go,debug,exposure
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- 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-02-13 15:27:33 +00:00
|
|
|
# Enhanced by cs on 2023/02/13
|