Skip to content

AspNetMvc Version - Detect

ID: aspnetmvc-version-disclosure

Severity: info

Author: lucky0x0d,PulseSecurity.co.nz

Tags: aspnetmvc,tech,detect

Detects version disclosed via ‘X-AspNetMvc-Version’ header.

id: aspnetmvc-version-disclosure
info:
name: AspNetMvc Version - Detect
author: lucky0x0d,PulseSecurity.co.nz
severity: info
description: |
Detects version disclosed via 'X-AspNetMvc-Version' header.
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
cwe-id: CWE-200
metadata:
verified: true
max-request: 1
shodan-query: "X-AspNetMvc-Version"
tags: aspnetmvc,tech,detect
http:
- method: GET
path:
- "{{BaseURL}}"
redirects: true
max-redirects: 4
matchers:
- type: dsl
dsl:
- 'contains(tolower(header), "x-aspnetmvc-version")'
extractors:
- type: kval
kval:
- X_AspNetMvc_Version
# digest: 4a0a0047304502205b0c8ce38a0786e43d67bbbf2e1937a1088075298bd2bbdb5ea6b7d2e24ca3dc022100a12f4150f71cbe7f78388dbc5ad05a00f69dc7646c0c7a21b02557ae6802f1e5:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/technologies/microsoft/aspnetmvc-version-disclosure.yaml"

View on Github