
Panduan Praktikum Edukasi: Deteksi Versi Cisco ASA & FTD (CVE-2026-20349)
This repository is intended for educational purposes, cybersecurity learning, and compliance auditing (vulnerability assessment) for students. This project demonstrates how a vulnerability scanner such as ProjectDiscovery Nuclei can perform vulnerability checks safely (safe / non-intrusive detection) based on firmware version comparison (version comparison).
IMPORTANT: The materials and templates in this repository are provided solely for learning and testing on local laboratory infrastructure or systems that have given official written permission (authorized assessment). Testing systems without explicit permission violates the law and the professional ethics of cybersecurity.
After studying this module and template, students are expected to be able to:
Some network service vulnerabilities can cause service disruption (Denial of Service) if tested using active exploitation payloads.
Conversely, this template implements a passive audit method:
action=init with the header X-Aggregate-Auth: 1) to the +CSCOE+/logon.html endpoint.<version who="sg">9.18.2</version>) is read programmatically using regular expressions (Regex), then matched against the list of safe releases published by the vendor.Before running the template, make sure your laboratory device has:
nuclei -version
cisco-asa-ftd-vpn-version-check.yaml: The main Nuclei template file.cisco-asa-vpn-version-check.md: Technical notes and version mapping analysis history.Run the following command in the terminal:
nuclei -t cisco-asa-ftd-vpn-version-check.yaml -u https://ip-atau-domain-lab:port
Additional options recommended for lab simulation:
-v : Displays verbose information of the scanning process.-debug : Views the HTTP request and response exchange in detail for learning analysis purposes.Example of a scan with verbose mode:
nuclei -t cisco-asa-ftd-vpn-version-check.yaml -u https://192.168.1.1 -v
Here is a breakdown of the important components in the cisco-asa-ftd-vpn-version-check.yaml file:
HTTP Probe: Sends a structured HTTP POST request:
http:
- method: POST
path:
- "{{BaseURL}}/+CSCOE+/logon.html"
headers:
X-Aggregate-Auth: "1"
body: "action=init"
Version Extraction (Regex): Extracts the version text from the Cisco XML tag:
extractors:
- type: regex
name: extracted_version
regex:
- '<version who="sg">(.*?)</version>'
DSL Comparison Logic: Determines whether a version falls within the vulnerable release range (below the First Fixed Release limit):
# Contoh pada lini Cisco ASA versi 9.18.x:
- "version_compare(extracted_version, '< 9.18.4.94') && version_compare(extracted_version, '>= 9.18.0')"
For system administrators or network defense teams (Blue Team), the appropriate handling steps include: