Preventing a Non-Administrative User from Installing Hooks
For a fresh install of EEP 6.1, a non-administrative user is prevented from installing hooks by default. For a minor version update (for example, EEP 6.0.0 to EEP 6.1.0 or EEP 5.0.1 to EEP 5.0.2), you need to modify the Hive configuration to prevent a malicious user from using Hive hooks to install malware on your Data Fabric cluster.
About this task
Any user using beeline can install
Java code as a Hive hook. On HPE Data Fabric, these hooks run
as the
mapr user, which could represent a security vulnerability. To
prevent a malicious user from using Hive hooks to install malware on a Data Fabric cluster, the cluster admin should add the following
properties to the default value of hive.conf.restricted.list in the
hive-site.xml file, and then restart HiveServer 2 (HS2):hive.exec.pre.hookshive.exec.post.hookshive.exec.failure.hookshive.exec.query.redactor.hooks
Adding the properties prevents a non-admin user from installing hooks into Hive.