Source

Fortinet FortiMail code execution via SQL injection in mail server

Critical CWE-89

Summary

Fortinet FortiMail has an SQL injection flaw that lets an attacker run unauthorized code or commands on the system by sending specially crafted requests. The attacker can reach it remotely over the network, without logging in.

Details

A improper neutralization of special elements used in an sql command ('sql injection') vulnerability in Fortinet FortiMail 8.0.0 through 8.0.1, FortiMail 7.6.0 through 7.6.4, FortiMail 7.4.0 through 7.4.6 may allow an authenticated attacker to execute unauthorized code or commands via specifically crafted requests.

Affected

Affects Fortinet FortiMail 8.0.0โ€“8.0.1, 7.6.0โ€“7.6.4 and 7.4.0โ€“7.4.6, where an authenticated attacker could run unauthorized code or commands through SQL injection. Fixed in 7.6.7 for the 7.6 branch.

Suggested Fix

Upgrade to 7.6.7.

References