4.3 Ensure 'allow-suspicious-udfs' is Set to 'OFF'

Information

This option prevents attaching arbitrary shared library functions as user-defined functions by checking for at least one corresponding method named _init, _deinit, _reset, _clear, or _add.

Preventing shared libraries that do not contain user-defined functions from loading will reduce the attack surface of the server.

Solution

Perform the following to establish the recommended state:

- Remove --allow-suspicious-udfs from the mariadbd start up command line.
- Remove allow-suspicious-udfs from the MariaDB option file.

See Also

https://workbench.cisecurity.org/benchmarks/16118

Item Details

Category: PLANNING, SYSTEM AND SERVICES ACQUISITION

References: 800-53|PL-8, 800-53|SA-8

Plugin: Unix

Control ID: 3c7a435c1cabe08344db90ae85aa7eefc4c202d2fe91ea1ffe1e575da3cea816