Information
Administrative views and routines provide additional information and functionality beyond that in the database catalogs. Many of these view and routines have SELECT and EXECUTE granted to PUBLIC. Security sensitive views and routines should be restricted to authorized users only.
Rationale:
Databases created without the RESTRICT option automatically GRANT the SELECT privilege to PUBLIC for administrative views. Therefore, it is strongly recommended to explicitly REVOKE the SELECT privilege on the SYSIBMADM.AUTHORIZATIONIDS view from PUBLIC to reduce the risk a malicious user may use this view to conduct information gathering regarding the users that are known to the database server.
Solution
Perform the following to revoke access from PUBLIC.
Connect to the Db2 database.
db2 => connect to <dbname>
Run the following command:
db2 => REVOKE SELECT ON SYSIBMADM.AUTHORIZATIONIDS FROM PUBLIC