This module exploits an unauthenticated remote code execution exploit chain for Commvault, tracked as CVE-2025-57790 and CVE-2025-57791. A command-line injection permits unauthenticated access to the 'localadmin' account, which then facilitates code execution via expression language injection. CVE-2025-57788 is also leveraged to leak the target host name, which is necessary knowledge to exploit the remote code execution chain. This module executes in the context of 'NETWORK SERVICE' on Windows.
Exploit database
Vulnerability
CVE-2025-57791
Argument Injection Vulnerability in CommServe
Vulnerability details
- Score
- 6.9
- Severity
- medium
CVSS 4.0 · Commvault
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NDescription
A security vulnerability has been identified that allows remote attackers to inject or manipulate command-line arguments passed to internal components due to insufficient input validation. Successful exploitation results in a valid user session for a low privilege role.
CVE ProgramExploit source choices
1 sourceCommvault Command-Line Argument Injection to Traversal Remote Code Execution
2025-08-19commvault_rce_cve_2025_57790_cve_2025_57791.rb