CVE-2022-31749 Details
Description
An argument injection vulnerability in the diagnose and import pac commands in WatchGuard Fireware OS before 12.8.1, 12.1.4, and 12.5.10 allows an authenticated remote attacker with unprivileged credentials to upload or read files to limited, arbitrary locations on WatchGuard Firebox and XTM appliances
An argument injection vulnerability has been identified in WatchGuard Fireware OS versions prior to 12.8.1, 12.1.4, and 12.5.10. This vulnerability allows an authenticated remote attacker with unprivileged credentials to upload or read files to limited, arbitrary locations on WatchGuard Firebox and XTM appliances. The issue arises in the 'diagnose' and 'import pac' commands, where user-supplied arguments are not properly sanitized before being executed, leading to unauthorized file access or modification.
Users are advised to upgrade to WatchGuard Fireware OS versions 12.8.1, 12.5.10, or 12.1.4. After updating, it is recommended to change passwords and, if possible, remove internet access to the appliance's SSH interface.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 28, 2025CISA-ADP
Assessed Jan 28, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://www.rapid7.com/blog/post/2022/06/23/cve-2022-31749-watchguard-authenticated-arbitrary-file-read-write-fixed/ | [email protected] | ExploitRemedyTechnical Description |
| https://www.watchguard.com/wgrd-psirt/advisory/wgsa-2022-00019 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-88 | Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| WatchGuard Fireware OS | < 12.8.1 (semver) < 12.1.4 (semver) >= 12.2, < 12.5.10 |
CPE
Remediation
| |
| WatchGuard Firebox | All versions |
CPE
Remediation
| |
| WatchGuard XTM | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 28, 2025 | New CVE Received | [email protected] |
Volerion