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.
The product stores sensitive information in cleartext within a resource that might be accessible to another control sphere.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Maxscale | Mariadb | * | 2.5.28 (excluding) |
Maxscale | Mariadb | 6.0.0 (including) | 6.4.9 (excluding) |
Maxscale | Mariadb | 22.08 (including) | 22.08.8 (excluding) |
Maxscale | Mariadb | 23.02 (including) | 23.02.3 (excluding) |
Because the information is stored in cleartext (i.e., unencrypted), attackers could potentially read it. Even if the information is encoded in a way that is not human-readable, certain techniques could determine which encoding is being used, then decode the information. When organizations adopt cloud services, it can be easier for attackers to access the data from anywhere on the Internet. In some systems/environments such as cloud, the use of “double encryption” (at both the software and hardware layer) might be required, and the developer might be solely responsible for both layers, instead of shared responsibility with the administrator of the broader system/environment.