[
https://issues.apache.org/jira/browse/HBASE-25441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Viraj Jasani resolved HBASE-25441.
----------------------------------
Hadoop Flags: Reviewed
Resolution: Fixed
Thanks for the contribution [~xiaoheipangzi].
> add security check for some APIs in RSRpcServices
> -------------------------------------------------
>
> Key: HBASE-25441
> URL: https://issues.apache.org/jira/browse/HBASE-25441
> Project: HBase
> Issue Type: Bug
> Reporter: lujie
> Priority: Critical
> Fix For: 3.0.0-alpha-1, 1.7.0, 2.3.4, 2.5.0, 2.4.1
>
>
>
> ||API||Severity||symptom||
> |clearRegionBlockCache|Severe|The API will call
> LruBlockCache.evictBlocksByHfileName,
> who is declared as an expensive operation(see its comments), thus non-amin
> may result Dos|
> |clearSlowLogsResponses|Normal|clears queue records from ringbuffer|
> |updateConfiguration|Normal|non-admin user can make RS reload configutation
> from disk by this API. |
> |updateRegionFavoredNodesMapping|Normal|Non-admin user can change the
> region's best storage location by this api|
> |stopServer|low|stopServer on RS is slient, which make client think he/she
> success shutdown RS.
> Add preRpcCheck ont only make client receive the failed message,
> but also prevent the non-admin user stop the RS,
> even the hbase.coprocessor.regionserver.classes are not configured.|
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)