This module exploits a buffer overflow at the administration interface (8080 or 4117) of WatchGuard Firebox and XTM appliances which is built from a cherrypy python backend sending XML-RPC requests to a C binary called wgagent using pre-authentication endpoint /agent/login. This vulnerability impacts Fireware OS before 12.7.2_U2, 12.x before 12.1.3_U8, and 12.2.x through 12.5.x before 12.5.9_U2. Successful exploitation results in remote code execution as user nobody.
Exploit database
Vulnerability
CVE-2022-26318
Vulnerability details
- Score
- 9.8
- Severity
- critical
CVSS 3.1 · CISA-ADP
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDescription
On WatchGuard Firebox and XTM appliances, an unauthenticated user can execute arbitrary code, aka FBX-22786. This vulnerability impacts Fireware OS before 12.7.2_U2, 12.x before 12.1.3_U8, and 12.2.x through 12.5.x before 12.5.9_U2.
CVE ProgramShowing saved CVE details. Refresh is temporarily unavailable.
Exploit source choices
3 sourcesWatchGuard XTM Firebox Unauthenticated Remote Command Execution
2022-08-29watchguard_firebox_unauth_rce_cve_2022_26318.rb
babyteam1024/cve-2022-26318
babyteam1024/cve-2022-26318 source repository
2022-05-212 files · 2 stars
h3llk4t3/watchguard-rce-poc-cve-2022-26318
Watchguard RCE POC CVE-2022-26318
2022-04-182 files · 2 stars