Lynis security controls



Controls

ControlCategoryDescription
PHP-2320PHPPHP disabled functions

PHP enables system administrators to disable possible harmful functions. Depending on the software being used, many functions are not needed for proper functioning. An example of this would be the possibility to download a remote file via PHP, which is only needed in some applications.

PHP-2372PHPPHP expose_php option

Software in general should not display software names or versions to normal users of a service, to avoid information leakage.

PHP-2374PHPDisable dynamic loading of modules

This test determines if modules can be loaded with the ld() function

PHP-2376PHPPHP allow_url_fopen

PHP allows file downloads with the allow_url_fopen setting. If not strictly needed for the applications running on the server, make sure this option is disabled.

PHP-2378PHPPHP allow_url_include

PHP allows file downloads with the allow_url_include setting. If not strictly needed for the applications running on the server, make sure this option is disabled.

PHP-2379PHPPHP Suhosin extension status

This control checks for the presence of Suhosin.