CVE-2022-31749 Authenticated arbitrary file read/write in WatchGuard Fireware OS
Authenticated attackers can read or write arbitrary files on WatchGuard Firebox and XTM appliances via argument injection in diagnose and import pac commands.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-31749?
CVE-2022-31749 is a medium-severity path traversal vulnerability in WatchGuard Fireware OS, published on 27 Jan 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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
Weakness: CWE-88
Which versions are affected by CVE-2022-31749?
How do I fix CVE-2022-31749?
No fix has been published for CVE-2022-31749 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2022-31749 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-31749 exists.
Public exploit code: 2 proofs of concept on GitHub.
Sources
Also known as GHSA-94m6-39r7-r5v7.