Database access via passwordless MySQL root account
Published Jul 18, 2022 · Updated Oct 25, 2024
Improper password protection in Fortinet FortiNAC affected releases allows local users to access its MySQL databases through the CLI. The appliance configuration leaves the localhost MySQL root account without a password, so mysql -u root opens the database. A low-privileged local shell is required; successful access permits table modification or corruption and retrieval of stored tokens.
Summary
What happened
Improper password protection in Fortinet FortiNAC affected releases allows local users to access its MySQL databases through the CLI. The appliance configuration leaves the localhost MySQL root account without a password, so mysql -u root opens the database. A low-privileged local shell is required; successful access permits table modification or corruption and retrieval of stored tokens.
The record
- CVE
- CVE-2022-26117
- Published
- Jul 18, 2022
- Updated
- Oct 25, 2024
- Vendor
- Fortinet
- Product
- FortiNAC
- Classifications
- CWE-521, CWE-258, T1005, T1565.001
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 18, 2022CVE publishedPublication date reported by the CVE source.
- Oct 25, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=FortiNAC version 8.3.7 and below, 8.5.2 and below, 8.5.4, 8.6.0, 8.6.5 and below, 8.7.6 and below, 8.8.11 and below, 9.1.5 and below, 9.2.3 and below.
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Local mysql root connection proof of conceptfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo