Skip to main content
Debbie_FTNT
Staff & Editor
Staff & Editor
Aug 5, 2019 1:56 PM UTC

PSIRT Note: How to apply workaround for FG-IR-17-053 to FortiGates in 5.6 or lower

  • Apr 16, 2026 12:41 PM UTC
  • 0 replies
  • 1790 views
  • Translate All
Description
This article describes how to configure the workaround mentioned in FG-IR-17-053 to FortiGates below version 6.0; the CLI commands mentioned in the advisory itself are only valid for 6.0.

Useful links:

Fortinet Documentation
Fortinet Advisory on FG-IR-17-053 “FortiOS admin privilege escalation via restoring configs”:
https://fortiguard.com/psirt/FG-IR-17-053

CLI guides for FortiOS:

https://docs.fortinet.com/product/fortigate/

Solution
There is a known vulnerability FG-IR-17-053 that can allow an admin to escalate their privileges via downloading, modifying the config file, and then restoring the modified config file.
To prevent this, these commands need to be set in 6.0:

Regular mode:

#config system accprofile
edit [profile-name]
set sysgrp custom
config sysgrp-permission
set admin none
set mnt none
end
next
end
VDOM mode:
config system accprofile
edit [profile-name]
set scope vdom
set sysgrp custom
config sysgrp-permission
set admin none
set mnt none
end
next
end


In 5.2, 5.4 and 5.6 the following syntax needs to be used instead:

Regular mode:

#config system accprofile
edit [profile-name]
set mntgrp none
set admingrp none
end

VDOM mode:

#config global
config system accprofile
edit [profile-name]
set mntgrp none
set admingrp none
end
end


Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024