{"schemaVersion":3,"id":"CVE-2022-39952","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"A external control of file name or path in Fortinet FortiNAC versions 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, 8.3.7 may allow an unauthenticated attacker to execute unauthorized code or commands via specifically crafted HTTP request.","dates":{"published":"2023-02-16T18:06:55.108Z","modified":"2024-10-23T14:32:41.984Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H/RL:U/RC:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H/RL:U/RC:C","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.99794,"percentile":0.99957,"severity":"critical","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.99794},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.99809,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.99809,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.99809,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.99809,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.99809,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.99809,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.99794,"percentile":0.99957}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.99794,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.99794,"percentile":0.99957}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"MSF_EXPLOIT_LINUX_HTTP_FORTINAC_KEYUPLOAD_FILE_WRITE","name":"Fortinet FortiNAC keyUpload.jsp arbitrary file write","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/linux/http/fortinac_keyupload_file_write.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/linux/http/fortinac_keyupload_file_write","rank":"600","rankName":"excellent","postAuth":false,"check":true,"stability":["crash-safe"],"sideEffects":["artifacts-on-disk","ioc-in-logs"],"reliability":["repeatable-session"]}}],"exploitCount":1,"weaknesses":[{"id":"CWE-73","name":"External Control of File Name or Path","description":"The product allows user input to control or influence paths or file names that are used in filesystem operations.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/73.html"},{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere","description":"The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/668.html"}],"affected":[{"vendor":"fortinet","product":"fortinac","name":"fortinac","label":"fortinac","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"9.4.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.2.0, ≤ 9.2.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.1.0, ≤ 9.1.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.8.0, ≤ 8.8.11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.7.0, ≤ 8.7.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.6.0, ≤ 8.6.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.5.0, ≤ 8.5.4","noFixRecorded":false,"fixedIn":null},{"text":"8.3.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.3.7, ≤ 8.8.9","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.1.0, < 9.1.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.2.0, < 9.2.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.4.0, < 9.4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.4.0 | ≥ 9.2.0, ≤ 9.2.5 | ≥ 9.1.0, ≤ 9.1.7 | ≥ 8.8.0, ≤ 8.8.11 | ≥ 8.7.0, ≤ 8.7.6 | ≥ 8.6.0, ≤ 8.6.5 | ≥ 8.5.0, ≤ 8.5.4 | 8.3.7 | ≥ 8.3.7, ≤ 8.8.9 | ≥ 9.1.0, < 9.1.8 | ≥ 9.2.0, < 9.2.6 | ≥ 9.4.0, < 9.4.1","eol":null,"hubHref":"/vendor/fortinet/fortinac"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://fortiguard.com/psirt/FG-IR-22-300","label":"fortiguard.com/psirt/FG-IR-22-300","hostname":"fortiguard.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-02-16T18:06:55.108Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-10-23T14:32:41.984Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T18:32:21.391Z","stale":false,"partial":false}}