TMAegis
Weitere Regeln für mysql

TMA-MYSQL-5.12

Ensure Proper Use Of ALLOW_NONEXISTENT_DEFINER

MittelStufe 1Manuelle Prüfungmysql

Beschreibung

Its critical to limit users ability to set and effective authorization ID that is used with executing a view or stored program. This grant provides a method to escalate privileges within MySQL views and procedures.

So wird geprüft

Prüfmethode: Manuelle Prüfung

Diese Empfehlung kann nicht automatisch geprüft werden. Ein Scan führt sie mit diesen Anweisungen auf, wenn Sie --include-manual übergeben.

Run SELECT GRANTEE FROM INFORMATION_SCHEMA.USER_PRIVILEGES WHERE PRIVILEGE_TYPE = 'ALLOW_NONEXISTENT_DEFINER'; Ensure only administrative users are returned in the result set.

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-Patch

REVOKE ALLOW_NONEXISTENT_DEFINER ON *.* FROM '<user>'@'<host>'; for each non-administrative grantee.

Eigenschaften

Betriebssysteme
Beliebig
Tags
mysqldatabaseauthorizationmanual
Referenz
CIS Oracle MySQL Community Server 8.4 Benchmark v1.1.0 - 5.12 Ensure Proper Use Of ALLOW_NONEXISTENT_DEFINER