What Is FortiOS Configuration Backup?
FortiGate firewalls, running FortiOS, support exporting the device's full configuration as a backup file — used for disaster recovery, migration, and change management. Because these backups can contain sensitive values (passwords, PSKs, private keys) that administrators might otherwise assume are protected by encryption, the strength of that encryption directly determines whether a leaked or intercepted backup file exposes the firewall's secrets.
Overview
CVE-2019-6693 is a use of hard-coded cryptographic key vulnerability (CWE-798) in FortiOS. Sensitive data within FortiOS configuration backup files is encrypted using a key that is hard-coded and identical across FortiGate deployments, rather than being unique per device or per administrator. An attacker who obtains a configuration backup file and knows (or derives) this hard-coded key can decrypt the protected values inside it. CVSS score: 6.5, requiring low privileges and local access to trigger the underlying condition.
Technical Details
FortiOS configuration backups store sensitive fields — such as local user passwords, VPN pre-shared keys, and certificate private keys — in an encrypted form intended to protect them if the backup file is copied, transferred, or otherwise handled outside the device. Because the encryption key is hard-coded into FortiOS itself rather than being device-specific or admin-supplied, anyone who has extracted or reverse-engineered the key (which, being shared across all devices running the affected FortiOS versions, only needs to be discovered once) can decrypt the sensitive fields in any FortiGate configuration backup they obtain. This converts what administrators may treat as a "safe to store/transfer" encrypted artifact into effectively plaintext-equivalent sensitive data once the key is known.
Discovery
Fortinet disclosed and addressed this vulnerability through its PSIRT advisory FG-IR-19-007.
Exploitation Context
CISA added this vulnerability to the KEV catalog in mid-2025 with a ransomware association, indicating it has been used as part of real-world ransomware intrusions — plausibly by attackers who obtained configuration backup files (through prior network access, exposed backup storage, or supply-chain/MSP compromise) and used the hard-coded key to recover credentials and VPN secrets, enabling further lateral movement or persistent access into victim networks.
Remediation
- Apply the FortiOS update referenced in FG-IR-19-007 that addresses this hard-coded key issue.
- Treat all existing configuration backup files as potentially exposed — rotate any credentials, PSKs, and certificates that were present in backups created before patching.
- Restrict access to configuration backup files with strict access controls and encryption independent of FortiOS's own built-in protection.
- Avoid storing configuration backups in easily accessible or shared locations, including unsecured file shares, email, or third-party backup services without additional protection.
- Audit backup and disaster-recovery processes for FortiGate devices to ensure sensitive configuration data isn't inadvertently exposed to unauthorized parties, including MSPs or contractors with backup access.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2019-6693 |
| Vendor / Product | Fortinet — FortiOS |
| NVD Published | 2019-11-21 |
| NVD Last Modified | 2025-10-24 |
| CVSS 3.1 Score | 6.5 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Severity | MEDIUM |
| CWE | CWE-798 find similar ↗ |
| CISA KEV Added | 2025-06-25 |
| CISA KEV Deadline | 2025-07-16 |
| Known Ransomware Use | ⚠️ Yes |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2019-11-21 | CVE-2019-6693 published |
| 2025-06-25 | Added to CISA Known Exploited Vulnerabilities catalog; ransomware association noted |
| 2025-07-16 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| NVD — CVE-2019-6693 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |
| Fortinet PSIRT Advisory FG-IR-19-007 | Vendor Advisory |