CVE-2025-31644
published 2025-05-07CVE-2025-31644: When running in Appliance mode, a command injection vulnerability exists in an undisclosed iControl REST and BIG-IP TMOS Shell (tmsh) command which may allow…
PriorityP266high8.7CVSS 3.1
AVNACLPRHUINSCCHIHAN
EPSS
27.98%
97.9th percentile
When running in Appliance mode, a command injection vulnerability exists in an undisclosed iControl REST and BIG-IP TMOS Shell (tmsh) command which may allow an authenticated attacker with administrator role privileges to execute arbitrary system commands. A successful exploit can allow the attacker to cross a security boundary. Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
Affected
88 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| f5 | big-ip | >= 15.1.0 < 15.1.10.7 | 15.1.10.7 |
| f5 | big-ip | >= 16.1.0 < 16.1.6 | 16.1.6 |
| f5 | big-ip | >= 17.1.0 < 17.1.2.2 | 17.1.2.2 |
| f5 | big-ip_aam | — | — |
| f5 | big-ip_access_policy_manager | >= 15.1.0 < 15.1.10.7 | 15.1.10.7 |
| f5 | big-ip_access_policy_manager | >= 16.1.0 < 16.1.6 | 16.1.6 |
| f5 | big-ip_access_policy_manager | >= 17.1.0 < 17.1.2.2 | 17.1.2.2 |
| f5 | big-ip_advanced_firewall_manager | >= 15.1.0 < 15.1.10.7 | 15.1.10.7 |
| f5 | big-ip_advanced_firewall_manager | >= 16.1.0 < 16.1.6 | 16.1.6 |
| f5 | big-ip_advanced_firewall_manager | >= 17.1.0 < 17.1.2.2 | 17.1.2.2 |
| f5 | big-ip_advanced_waf | — | — |
| f5 | big-ip_advanced_web_application_firewall | >= 15.1.0 < 15.1.10.7 | 15.1.10.7 |
| f5 | big-ip_advanced_web_application_firewall | >= 16.1.0 < 16.1.6 | 16.1.6 |
| f5 | big-ip_advanced_web_application_firewall | >= 17.1.0 < 17.1.2.2 | 17.1.2.2 |
| f5 | big-ip_afm | — | — |
| f5 | big-ip_analytics | — | — |
| f5 | big-ip_analytics | >= 15.1.0 < 15.1.10.7 | 15.1.10.7 |
| f5 | big-ip_analytics | >= 16.1.0 < 16.1.6 | 16.1.6 |
| f5 | big-ip_analytics | >= 17.1.0 < 17.1.2.2 | 17.1.2.2 |
| f5 | big-ip_apm | — | — |
| f5 | big-ip_application_acceleration_manager | >= 15.1.0 < 15.1.10.7 | 15.1.10.7 |
| f5 | big-ip_application_acceleration_manager | >= 16.1.0 < 16.1.6 | 16.1.6 |
| f5 | big-ip_application_acceleration_manager | >= 17.1.0 < 17.1.2.2 | 17.1.2.2 |
| f5 | big-ip_application_security_manager | >= 15.1.0 < 15.1.10.7 | 15.1.10.7 |
| f5 | big-ip_application_security_manager | >= 16.1.0 < 16.1.6 | 16.1.6 |
Detection & IOCsextracted from sources · hover to see the quote
url/mgmt/tm/
snort
alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS F5 BIG-IP Authenticated Command Injection (CVE-2025-31644)"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/mgmt/tm/"; fast_pattern; http.request_body; content:"|22|save|22|"; content:"|22|file|22 3a|"; pcre:"/^\s*?\x22[^\x22}*?[\x3b\x7c\x24\x60]/R"; reference:url,github.com/mbadanoiu/CVE-2025-31644; reference:cve,2025-31644; classtype:web-application-attack; sid:2062293; rev:1; metadata:affected_product F5, attack_target Server, tls_state TLSDecrypt, created_at 2025_05_13, cve CVE_2025_31644, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence High, signature_severity Major, tag Exploit, updated_at 2025_05_13, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application; target:dest_ip;)
bytes
|22|save|22| in HTTP request body
- →Look for authenticated HTTP POST requests to the iControl REST endpoint /mgmt/tm/ containing both 'save' and 'file:' keys in the request body — this is the undisclosed tmsh command path exploited for injection.
- →Within the request body, flag any JSON string value (after a quote character) that immediately contains shell metacharacters: semicolon (0x3b), pipe (0x7c), dollar sign (0x24), or backtick (0x60) — these are the injection delimiters.
- →The vulnerability is only exploitable when BIG-IP is running in Appliance mode; detections should be prioritised/scoped to Appliance-mode deployments. Requires an authenticated administrator-role session. ↗
- →Successful exploitation crosses a security boundary (Appliance mode sandbox escape); correlate any unexpected OS-level process spawning from the BIG-IP management plane (tmsh/iControl REST parent processes) as a post-exploitation indicator. ↗
- →Affected versions are 15.1.0–15.1.10.7, 16.1.0–16.1.6, and 17.1.0–17.1.2.2. Use version banners or asset inventory to prioritise unpatched BIG-IP instances for monitoring. ↗
- →The Snort/Suricata rule (SID 2062293) is tagged for TLS-decrypted traffic (tls_state TLSDecrypt / deployment SSLDecrypt); ensure your sensor has TLS inspection enabled on the management interface to catch this attack.
- ·The vulnerability only applies when BIG-IP is running in Appliance mode; standard (non-Appliance) mode deployments are not affected by the security boundary crossing aspect. ↗
- ·Software versions that have reached End of Technical Support (EoTS) are not evaluated by F5 and may also be vulnerable but will not receive patches. ↗
- ·The specific iControl REST / tmsh command vector is undisclosed by F5, limiting the ability to write highly precise signatures beyond the observable HTTP patterns (POST to /mgmt/tm/ with save/file body keys and shell metacharacters). ↗
CVSS provenance
nvdv3.18.7HIGHCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
nvdv4.08.5HIGHCVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:L/SI:L/SA:L/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
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
F5
CVE-2025-31644: When running in Appliance mode, a command injection vulnerability exists in an undisclosed iControl REST and BIG-IP T...
vendor_f5·2025-05-07·CVSS 8.7
CVE-2025-31644 [HIGH] CWE-77 CVE-2025-31644: When running in Appliance mode, a command injection vulnerability exists in an undisclosed iControl REST and BIG-IP T...
CVE-2025-31644: When running in Appliance mode, a command injection vulnerability exists in an undisclosed iControl REST and BIG-IP T...
When running in Appliance mode, a command injection vulnerability exists in an undisclosed iControl REST and BIG-IP TMOS Shell (tmsh) command which may allow an authenticated attacker with administrator role privileges to execute arbitrary system commands. A successful exploit can allow the attacker to cross a security boundary. Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
Affected Products: BIG-IP AAM, BIG-IP AFM, BIG-IP APM, BIG-IP ASM, BIG-IP AVR, BIG-IP Advanced WAF, BIG-IP Analytics, BIG-IP CGNAT, BIG-IP DHD, BIG-IP DNS, BIG-IP Edge Gateway, BIG-IP FPS, BIG-IP GTM, BIG-IP LTM, BIG-IP Link Controller,
GHSA
GHSA-2mq5-vgx2-cq4h: When running in Appliance mode, a command injection vulnerability exists in an undisclosed iControl REST and BIG-IP TMOS Shell (tmsh) command which ma
ghsa_unreviewed·2025-05-08
CVE-2025-31644 [HIGH] CWE-77 GHSA-2mq5-vgx2-cq4h: When running in Appliance mode, a command injection vulnerability exists in an undisclosed iControl REST and BIG-IP TMOS Shell (tmsh) command which ma
When running in Appliance mode, a command injection vulnerability exists in an undisclosed iControl REST and BIG-IP TMOS Shell (tmsh) command which may allow an authenticated attacker with administrator role privileges to execute arbitrary system commands. A successful exploit can allow the attacker to cross a security boundary. Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
Suricata
ET WEB_SPECIFIC_APPS F5 BIG-IP Authenticated Command Injection (CVE-2025-31644)
suricata·2025-05-13·CVSS 8.5
CVE-2025-31644 [HIGH] ET WEB_SPECIFIC_APPS F5 BIG-IP Authenticated Command Injection (CVE-2025-31644)
ET WEB_SPECIFIC_APPS F5 BIG-IP Authenticated Command Injection (CVE-2025-31644)
Rule: alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS F5 BIG-IP Authenticated Command Injection (CVE-2025-31644)"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/mgmt/tm/"; fast_pattern; http.request_body; content:"|22|save|22|"; content:"|22|file|22 3a|"; pcre:"/^\s*?\x22[^\x22}*?[\x3b\x7c\x24\x60]/R"; reference:url,github.com/mbadanoiu/CVE-2025-31644; reference:cve,2025-31644; classtype:web-application-attack; sid:2062293; rev:1; metadata:affected_product F5, attack_target Server, tls_state TLSDecrypt, created_at 2025_05_13, cve CVE_2025_31644, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence High, signature_severity Major, tag Exploit,
No public exploits indexed.
No writeups or analysis indexed.
2025-05-07
Published