6.12 Restrict Access to SYSCAT.SECURITYLABELACCESS

Information

The SYSCAT.SECURITYLABELACCESS view contains all accounts in the database that have a security label privilege. It is recommended that the PUBLIC role be restricted from accessing this view.

The ability to see which accounts have the pass-through privilege could allow an attacker to exploit these accounts to access another data source.

Solution

Perform the following to revoke access from PUBLIC.
1. Connect to the DB2 database.
db2 => connect to $DB2INSTANCE user $USERNAME using $PASSWORD
2. Run the following command from the DB2 command window:
db2 => REVOKE SELECT ON SYSCAT.SECURITYLABELACCESS FROM PUBLIC

See Also

https://workbench.cisecurity.org/files/1654

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6

Plugin: IBM_DB2DB

Control ID: a438c1410fdda9d3c0d45a71ee8d69ef002a6323558ddc32ee758d45f410ce5d