CVE-2023-40354

An issue was discovered in MariaDB MaxScale before 23.02.3. A user enters an encrypted password on a "maxctrl create service" command line, but this password is then stored in cleartext in the resulting .cnf file under /var/lib/maxscale/maxscale.cnf.d. The fixed versions are 2.5.28, 6.4.9, 22.08.8, and 23.02.3.

Published: 2023-08-14 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2023-40354 is rated Low Risk (33.4/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.05%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2023-40354

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2024-07-14 0.04% 0.05% +0.01%
2 2023-08-15 0.04%

Full EPSS history (2 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2023-40354

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.5 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 3.6 [email protected]

Weakness enumeration for CVE-2023-40354

Affected software / configurations for CVE-2023-40354

Vendor Product Version Raw CPE
mariadb maxscale < 2.5.28 cpe:2.3:a:mariadb:maxscale:*:*:*:*:*:*:*:*
mariadb maxscale >= 6.0.0, < 6.4.9 cpe:2.3:a:mariadb:maxscale:*:*:*:*:*:*:*:*
mariadb maxscale >= 22.08, < 22.08.8 cpe:2.3:a:mariadb:maxscale:*:*:*:*:*:*:*:*
mariadb maxscale >= 23.02, < 23.02.3 cpe:2.3:a:mariadb:maxscale:*:*:*:*:*:*:*:*

References for CVE-2023-40354

URL Tags
https://jira.mariadb.org/browse/MXS-4681 Issue Tracking Vendor Advisory
cvelogic Threat Intelligence