id: maintainer-account info: name: Fortinet Maintainer Account - Detect author: pussycat0x severity: info description: In Fortinet, if a FortiGate is compromised and the password is not recoverable, a maintainer account can be used by an administrator with physical access to log into CLI. reference: https://docs.fortinet.com/document/fortigate/6.4.0/hardening-your-fortigate/612504/hardening-your-fortigate classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N cvss-score: 0.0 cwe-id: CWE-200 tags: audit,config,file,firewall,fortigate file: - extensions: - conf matchers-condition: and matchers: - type: word words: - "set admin-maintainer" negative: true - type: word words: - "config system" - "config router" - "config firewall" condition: or # Enhanced by md on 2023/05/03