Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-31104: Execute unauthorized code or commands in Fortinet FortiADC

0
High
VulnerabilityCVE-2025-31104cvecve-2025-31104
Published: Tue Jun 10 2025 (06/10/2025, 16:36:13 UTC)
Source: CVE Database V5
Vendor/Project: Fortinet
Product: FortiADC

Description

An Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability [CWE-78] in FortiADC 7.6.0 through 7.6.1, 7.4.0 through 7.4.6, 7.2.0 through 7.2.7, 7.1.0 through 7.1.4, 7.0 all versions, 6.2 all versions, 6.1 all versions may allow an authenticated attacker to execute unauthorized code via crafted HTTP requests.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 01:30:26 UTC

Technical Analysis

CVE-2025-31104 is an OS command injection vulnerability identified in Fortinet's FortiADC product across multiple major versions, including 6.1.x through 7.6.x. The vulnerability arises from improper neutralization of special elements in HTTP requests, allowing an authenticated attacker to inject and execute arbitrary OS commands on the underlying system. This flaw is classified under CWE-78 and affects FortiADC versions 7.6.0 through 7.6.1, 7.4.0 through 7.4.6, 7.2.0 through 7.2.7, 7.1.0 through 7.1.4, 7.0 all versions, 6.2 all versions, and 6.1 all versions. The attack vector is network-based (AV:N), requiring low attack complexity (AC:L) but high privileges (PR:H) and no user interaction (UI:N). The vulnerability impacts confidentiality, integrity, and availability (C:H/I:H/A:H), making it critical for affected environments. The CVSS v3.1 base score is 7.0, indicating high severity. No public exploits have been reported yet, but the vulnerability's nature suggests that exploitation could lead to full system compromise, data exfiltration, or service disruption. FortiADC is commonly deployed in enterprise and service provider networks for load balancing, application delivery, and security functions, increasing the potential impact of this vulnerability. The lack of patch links suggests that fixes may be forthcoming or in progress, emphasizing the need for vigilance and interim mitigations.

Potential Impact

The impact of CVE-2025-31104 is substantial for organizations using FortiADC devices. Successful exploitation allows attackers with authenticated access to execute arbitrary OS commands, potentially leading to full system compromise. This can result in unauthorized data access or modification, disruption of application delivery services, and lateral movement within the network. Given FortiADC’s role in managing and securing application traffic, compromise could degrade service availability and expose sensitive data. Enterprises relying on FortiADC for critical infrastructure, including financial institutions, healthcare providers, and government agencies, face heightened risks of operational disruption and data breaches. The high privileges required limit exploitation to insiders or attackers who have already gained elevated access, but once exploited, the consequences are severe. The absence of known exploits in the wild currently reduces immediate risk but does not preclude rapid weaponization. Organizations globally that deploy FortiADC in production environments must consider this vulnerability a significant threat to their security posture.

Mitigation Recommendations

To mitigate CVE-2025-31104, organizations should first monitor Fortinet’s official channels for patches and apply them promptly once released. Until patches are available, restrict administrative access to FortiADC management interfaces using network segmentation, VPNs, and strong authentication mechanisms such as multi-factor authentication (MFA). Implement strict role-based access controls to limit the number of users with high privileges. Employ web application firewalls (WAFs) or intrusion prevention systems (IPS) to detect and block suspicious HTTP requests that may attempt command injection. Regularly audit and monitor logs for unusual command execution or access patterns on FortiADC devices. Conduct vulnerability scanning and penetration testing focused on FortiADC to identify potential exploitation attempts. Additionally, consider deploying endpoint detection and response (EDR) solutions on devices interacting with FortiADC to detect lateral movement or post-exploitation activities. Maintain an incident response plan tailored to FortiADC compromise scenarios to enable rapid containment and recovery.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
fortinet
Date Reserved
2025-03-26T14:23:51.630Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 68487f4f1b0bd07c393897e1

Added to database: 6/10/2025, 6:54:07 PM

Last enriched: 2/27/2026, 1:30:26 AM

Last updated: 3/28/2026, 9:17:23 AM

Views: 92

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses