Update and rename x-aspnetmvc-version-disclosure.yaml to aspnetmvc-version-disclosure.yaml
parent
927494ab8b
commit
549ce430a5
|
@ -1,33 +1,33 @@
|
||||||
id: AspNetMvc-Version-disclosure
|
id: aspnetmvc-version-disclosure
|
||||||
|
|
||||||
info:
|
info:
|
||||||
name: AspNetMvc-Version-disclosure
|
name: AspNetMvc Version - Detect
|
||||||
author: lucky0x0d,PulseSecurity.co.nz
|
author: lucky0x0d,PulseSecurity.co.nz
|
||||||
severity: info
|
severity: info
|
||||||
description: |
|
description: |
|
||||||
Detects version disclosed via X-AspNetMvc-Version: header
|
Detects version disclosed via 'X-AspNetMvc-Version' header.
|
||||||
tags: technology, detection, tech-detect
|
|
||||||
metadata:
|
|
||||||
max-request: 1
|
|
||||||
classification:
|
classification:
|
||||||
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
|
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
|
cvss-score: 0.0
|
||||||
cwe-id: CWE-200
|
cwe-id: CWE-200
|
||||||
|
metadata:
|
||||||
|
max-request: 1
|
||||||
|
verified: true
|
||||||
|
shodan-query: "X-AspNetMvc-Version"
|
||||||
|
tags: aspnetmvc,tech,detect
|
||||||
|
|
||||||
http:
|
http:
|
||||||
- method: GET
|
- method: GET
|
||||||
path:
|
path:
|
||||||
- "{{BaseURL}}"
|
- "{{BaseURL}}"
|
||||||
|
|
||||||
host-redirects: true
|
redirects: true
|
||||||
max-redirects: 3
|
max-redirects: 4
|
||||||
|
|
||||||
matchers-condition: or
|
|
||||||
matchers:
|
matchers:
|
||||||
- type: dsl
|
- type: dsl
|
||||||
dsl:
|
dsl:
|
||||||
- "regex('(?i)X-AspNetMvc-Version', header)"
|
- 'contains(tolower(header), "x-aspnetmvc-version")'
|
||||||
- "status_code != 301 && status_code != 302"
|
|
||||||
condition: and
|
|
||||||
|
|
||||||
extractors:
|
extractors:
|
||||||
- type: kval
|
- type: kval
|
Loading…
Reference in New Issue