frostfs-node/pkg
Leonard Lyubich e54b52ec03 [#1420] object/acl: Fix correlation of object session to request
In previous implementation of `neofs-node` app object session was not
checked for substitution of the object related to it. Also, for access
checks, the session object was substituted instead of the one from the
request. This, on the one hand, made it possible to inherit the session
from the parent object for authorization for certain actions. On the
other hand, it covered the mentioned object substitution, which is a
critical vulnerability.

Next changes are applied to processing of all Object service requests:
 - check if object session relates to the requested object
 - use requested object in access checks.

Disclosed problem of object context inheritance will be solved within

Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
2022-10-07 10:34:38 +03:00
..
core [#1817] network: Allow to use network addresses from the iterator 2022-10-04 12:12:18 +03:00
innerring [#1680] morph/netmap: Adopt to recent contract changes 2022-10-05 11:41:49 +03:00
local_object_storage [#1809] node: Do not boot up if metabase is outdated 2022-10-04 12:32:10 +03:00
metrics [#1658] metrics: Add object type label to the counters 2022-09-13 21:32:37 +04:00
morph [#1845] morph/client: Use 0 as OfflineState in update peer 2022-10-06 12:26:25 +03:00
network [#1817] network: Allow to use network addresses from the iterator 2022-10-04 12:12:18 +03:00
services [#1420] object/acl: Fix correlation of object session to request 2022-10-07 10:34:38 +03:00
util [#1687] *: Perform `go fmt` using go `v1.19` 2022-08-22 18:59:57 +03:00