CVE-2025-61624:
FortiOS 취약성 분석 및 완화
개요
CVE-2025-61624 is a path traversal vulnerability (CWE-22) in the command line interpreter of Fortinet FortiOS, FortiPAM, FortiProxy, and FortiSwitchManager that allows a privileged authenticated attacker to write or delete arbitrary files via specially crafted arguments to existing CLI commands. It was initially published on April 14, 2026, under Fortinet advisory FG-IR-26-122. Affected versions include FortiOS 6.4 through 7.6.4, FortiPAM 1.0 through 1.7.0, FortiProxy 7.0 through 7.6.4, and FortiSwitchManager 7.0.0 through 7.2.7. The vulnerability carries a CVSSv3 score of 5.4 (Medium) per Fortinet's advisory, though NVD rates it 6.5 (Medium/High) (Fortinet Advisory).
기술적 세부 사항
The root cause is improper limitation of a pathname to a restricted directory (CWE-22) within the CLI interpreter of affected Fortinet products. An authenticated attacker with an admin profile and at least read-write permissions can supply path traversal sequences (e.g., ../) as arguments to existing CLI commands, causing the interpreter to resolve file paths outside the intended restricted directory and perform arbitrary write or delete operations. Exploitation requires network access to the management interface and valid high-privilege credentials, making it an authenticated, network-delivered attack with low complexity. A virtual patch named "FG-VD-59270.0day" is available in FMWP database update 25.120 as a temporary mitigation (Fortinet Advisory).
영향
Successful exploitation allows an authenticated administrator-level attacker to write or delete arbitrary files on the affected system, resulting in high integrity and availability impacts with no confidentiality impact. File deletion could cause denial of service or system instability, while arbitrary file writes could be leveraged to plant malicious configurations, scripts, or backdoors. The scope is limited to the affected device itself, but compromise of network security appliances like FortiOS or FortiProxy could have significant downstream consequences for the environments they protect (Fortinet Advisory, CIS Advisory).
착취 단계
- Reconnaissance: Identify target Fortinet devices (FortiOS, FortiPAM, FortiProxy, FortiSwitchManager) running vulnerable versions using network scanning or Shodan, focusing on management interfaces exposed to the network.
- Credential Acquisition: Obtain valid administrator credentials with read-write permissions through phishing, credential stuffing, or reuse of compromised credentials — exploitation requires an authenticated admin-level session.
- CLI Access: Log in to the device CLI via SSH or the web-based terminal using the compromised credentials.
- Path Traversal Payload: Craft arguments to existing CLI commands that include path traversal sequences (e.g.,
../../) to reference file paths outside the intended restricted directory. - Arbitrary File Write/Delete: Execute the crafted CLI command to write a malicious file (e.g., a backdoor script or modified configuration) or delete critical system files to cause denial of service or system instability (Fortinet Advisory).
타협의 징후
- Logs: CLI audit logs showing commands with unusual path arguments containing
../or encoded traversal sequences; unexpected file operation events in system logs targeting directories outside normal CLI scope. - File System: Presence of unexpected files in system directories not normally writable via CLI; missing or modified critical configuration or system files; new scripts or binaries in unusual locations.
- Network: Unusual SSH sessions from unexpected source IPs to management interfaces; repeated failed or successful admin logins preceding suspicious CLI activity.
- Process: Unexpected file write or delete operations initiated by the CLI interpreter process on the Fortinet device.
완화 및 해결 방법
Fortinet has released patches addressing this vulnerability; organizations should upgrade to the following fixed versions: FortiOS 7.4.10+ or 7.6.5+; FortiPAM 1.7.1+; FortiProxy 7.4.12+ or 7.6.5+; FortiSwitchManager 7.0.7+ or 7.2.8+. FortiOS 7.0, 7.2, and 6.4 (all versions) and FortiPAM versions prior to 1.7 have no direct fix and must migrate to a supported fixed release. As an interim measure, a virtual patch "FG-VD-59270.0day" is available in FMWP database update 25.120. Additionally, restrict CLI access to trusted administrators only, enforce strong authentication, and monitor for suspicious CLI file operations (Fortinet Advisory).
커뮤니티 반응
The CIS (Center for Internet Security) issued an advisory noting that multiple vulnerabilities in Fortinet products, including CVE-2025-61624, could allow for arbitrary code execution, recommending immediate patching (CIS Advisory). Greenbone published a blog post covering critical Fortinet RCE vulnerabilities in 2026, including this issue in the context of broader Fortinet security concerns (Greenbone Blog). Security news outlets including CyberSecurityNews and CyberPress covered the broader Fortinet patch release addressing 11 vulnerabilities across multiple products. CISA included the vulnerability in its weekly bulletin for the week of April 13, 2026.
추가 자료
근원: 이 보고서는 AI를 사용하여 생성되었습니다.
관련 FortiOS 취약점:
무료 취약성 평가
클라우드 보안 태세를 벤치마킹합니다
9개의 보안 도메인에서 클라우드 보안 관행을 평가하여 위험 수준을 벤치마킹하고 방어의 허점을 식별합니다.
추가 Wiz 리소스
맞춤형 데모 받기
맞춤형 데모 신청하기
"내가 본 최고의 사용자 경험은 클라우드 워크로드에 대한 완전한 가시성을 제공합니다."
"Wiz는 클라우드 환경에서 무슨 일이 일어나고 있는지 볼 수 있는 단일 창을 제공합니다."
"우리는 Wiz가 무언가를 중요한 것으로 식별하면 실제로 중요하다는 것을 알고 있습니다."