Source

Fortinet FortiMail remote code execution via SQL injection

Critical CWE-89

Summary

A SQL injection flaw in Fortinet FortiMail lets an attacker run unauthorized code or commands on the system by sending crafted requests. It can be reached remotely over the network, without logging in or any user interaction.

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.6, FortiMail 7.4.0 through 7.4.8, FortiMail 7.2 all versions may allow an unauthenticated attacker to execute unauthorized code or commands via crafted requests.

Affected

Affects FortiMail 8.0.0 to 8.0.1, 7.6.0 to 7.6.6, 7.4.0 to 7.4.8 and all 7.2 versions. Fixed in 7.6.7; no fixed versions are listed for the other branches.

Suggested Fix

Upgrade to 7.6.7.

References