{"schemaVersion":3,"id":"CVE-2022-29058","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"An improper neutralization of special elements [CWE-89] used in an OS command vulnerability [CWE-78] in the command line interpreter of FortiAP 6.0.0 through 6.4.7, 7.0.0 through 7.0.3, 7.2.0, FortiAP-S 6.0.0 through 6.4.7, FortiAP-W2 6.0.0 through 6.4.7, 7.0.0 through 7.0.3, 7.2.0 and FortiAP-U 5.4.0 through 6.2.3 may allow an authenticated attacker to execute unauthorized commands via specifically crafted arguments to existing commands.","dates":{"published":"2022-09-06T15:10:15.000Z","modified":"2024-10-25T13:30:21.436Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:F/RL:U/RC:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:F/RL:U/RC:C","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00494,"percentile":0.41169,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00494},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00494,"percentile":0.41169}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00494,"percentile":0.41169}]},"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":[],"exploitCount":0,"weaknesses":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","description":"The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/89.html"}],"affected":[{"vendor":"fortinet","product":"fortiap","name":"fortiap","label":"fortiap","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 6.0.0, ≤ 6.0.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.4.3, < 6.4.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0, < 7.0.4","noFixRecorded":false,"fixedIn":null},{"text":"7.2.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.0.0, ≤ 6.0.6 | ≥ 6.4.3, < 6.4.8 | ≥ 7.0.0, < 7.0.4 | 7.2.0","eol":null,"hubHref":"/vendor/fortinet/fortiap"},{"vendor":"fortinet","product":"fortiap-s","name":"fortiap-s","label":"fortiap-s","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 6.0.0, ≤ 6.0.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.2.0, ≤ 6.2.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.4.0, < 6.4.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.0.0, ≤ 6.0.6 | ≥ 6.2.0, ≤ 6.2.6 | ≥ 6.4.0, < 6.4.8","eol":null,"hubHref":"/vendor/fortinet/fortiap-s"},{"vendor":"fortinet","product":"fortiap-u","name":"fortiap-u","label":"fortiap-u","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.4.0, ≤ 5.4.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, ≤ 6.0.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.2.0, < 6.2.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.4.0, ≤ 5.4.6 | ≥ 6.0.0, ≤ 6.0.4 | ≥ 6.2.0, < 6.2.4","eol":null,"hubHref":"/vendor/fortinet/fortiap-u"},{"vendor":"fortinet","product":"fortiap-w2","name":"fortiap-w2","label":"fortiap-w2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 6.0.0, ≤ 6.0.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.2.0, ≤ 6.2.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.4.0, < 6.4.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0, < 7.0.4","noFixRecorded":false,"fixedIn":null},{"text":"7.2.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.0.0, ≤ 6.0.6 | ≥ 6.2.0, ≤ 6.2.6 | ≥ 6.4.0, < 6.4.8 | ≥ 7.0.0, < 7.0.4 | 7.2.0","eol":null,"hubHref":"/vendor/fortinet/fortiap-w2"},{"vendor":"fortinet","product":"fortinet fortiap, fortiap-s, fortiap-w2, fortiap-u","name":"Fortinet FortiAP, FortiAP-S, FortiAP-W2, FortiAP-U","label":"fortinet fortiap, fortiap-s, fortiap-w2, fortiap-u","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"FortiAP-U 5.4.0 through 6.2.3; FortiAP-S 6.0.0 through 6.4.7; FortiAP-W2 6.0.0 through 6.4.7, 7.0.0 through 7.0.3, 7.2.0; FortiAP 6.0.0 through 6.4.7, 7.0.0 through 7.0.3, 7.2.0.","noFixRecorded":false,"fixedIn":null}],"versionsText":"FortiAP-U 5.4.0 through 6.2.3; FortiAP-S 6.0.0 through 6.4.7; FortiAP-W2 6.0.0 through 6.4.7, 7.0.0 through 7.0.3, 7.2.0; FortiAP 6.0.0 through 6.4.7, 7.0.0 through 7.0.3, 7.2.0.","eol":null,"hubHref":"/vendor/fortinet/fortinet_fortiap_fortiap-s_fortiap-w2_fortiap-u"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://fortiguard.com/psirt/FG-IR-21-163","label":"fortiguard.com/psirt/FG-IR-21-163","hostname":"fortiguard.com","tags":["X Refsource CONFIRM","Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-09-06T15:10:15.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-10-25T13:30:21.436Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T22:43:14.812Z","stale":false,"partial":false}}