Skip to content

Fortinet Maintainer Account Not Implemented - Detect

ID: maintainer-account

Severity: info

Author: pussycat0x

Tags: audit,config,file,firewall,fortigate

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.

id: maintainer-account
info:
name: Fortinet Maintainer Account Not Implemented - 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
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
# digest: 4a0a0047304502210086b06b339723fbe163fecd0af2363c1fa99c6a68426fd9617a74a819398dc70b02207702bcf77b6288e9b06f25e56b87671f2b060443f4b1a33756d863de4365eb7a:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "file/audit/fortigate/maintainer-account.yaml"

View on Github