CheckFirewallAndGPForCVEs
PAN-OS by Palo Alto Networks Pack.#
This Script is part of theSupported versions
Supported Cortex XSOAR versions: 6.0.0 and later.
#
CheckFirewallAndGPForCVEsThis script checks if PAN-OS firewall and GlobalProtect versions are affected by specific CVEs (Common Vulnerabilities and Exposures).
#
DescriptionThe script analyzes firewall system information against CVE data to determine if the current PAN-OS software version or GlobalProtect client package version is vulnerable to known security issues. It implements the CVE schema algorithm for version comparison and status determination.
#
InputsArgument Name | Description | Required |
---|---|---|
pan_os_system_info_list | System info of firewalls (array). Output of pan-os-platform-get-system-info command | Required |
cve_json | List of CVE with detailed json (array). Output of PAN_OS_Security_Advisories_Enrichment script | Required |
#
pan_os_system_info_list FormatEach firewall entry should contain:
hostname
: Firewall hostnameip_address
: Firewall IP addresssw_version
: PAN-OS software versionglobal_protect_client_package_version
: GlobalProtect client version (optional)
#
cve_json FormatEach CVE entry should contain:
cve_id
: CVE identifiercvethreatseverity
orcvss_severity
: CVE severity levelaffected_list
: List of affected products with version information
#
OutputsPath | Type | Description |
---|---|---|
CVE_Check.CVE_ID | String | The CVE identifier |
CVE_Check.Result.Hostname | String | Firewall hostname |
CVE_Check.Result.IPAddress | String | Firewall IP address |
CVE_Check.Result.SWVersion | String | PAN-OS software version |
CVE_Check.Result.IsFirewallVersionAffected | Boolean | Whether PAN-OS version is affected by the CVE |
CVE_Check.Result.GlobalProtectVersion | String | GlobalProtect client version |
CVE_Check.Result.IsGlobalProtectVersionAffected | Boolean | Whether GlobalProtect version is affected by the CVE |
CVE_Check.Severity | String | CVE severity level |
#
Context Example#
Human Readable Output#
CVE-2072-1234Hostname | IPAddress | SWVersion | IsFirewallVersionAffected | GlobalProtectVersion | IsGlobalProtectVersionAffected |
---|---|---|---|---|---|
fw-affected | 1.1.1.1 | 10.2.3 | True | 6.0.1 | True |
fw-patched | 2.2.2.2 | 10.2.3-2 | False | 6.0.3 | False |
#
Notes- The script implements the CVE schema algorithm from https://cveproject.github.io/cve-schema/schema/docs.
- Hotfix versions require exact matches for status changes.
- If a CVE doesn't apply to the PAN-OS software version or the GlobalProtect client package version, the output will specify the affected status on these 2 versions. For any other installed package versions, please inspect the CVE details.