frostfs-node/pkg/services
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
..
accounting [#1454] Upgrade NeoFS SDK Go module with new IDs 2022-06-01 17:41:45 +03:00
audit [#1365] ir: Check homomorphic hash flexibly in audit 2022-07-13 17:10:06 +03:00
container [#1817] network: Allow to use network addresses from the iterator 2022-10-04 12:12:18 +03:00
control [#1806] services/control: Allow to flush write-cache 2022-09-28 09:28:01 +03:00
netmap [#1793] node/netmap: Change interface of the latest network map reader 2022-09-27 09:03:17 +03:00
notificator [#1454] Upgrade NeoFS SDK Go module with new IDs 2022-06-01 17:41:45 +03:00
object [#1420] object/acl: Fix correlation of object session to request 2022-10-07 10:34:38 +03:00
object_manager [#1817] network: Allow to use network addresses from the iterator 2022-10-04 12:12:18 +03:00
policer [#1847] services/policer: Provide container ID in logs 2022-10-07 09:58:16 +03:00
replicator [#1731] services/replicator: Unify Task interface with other parameters 2022-09-24 13:47:48 +03:00
reputation [#1817] network: Allow to use network addresses from the iterator 2022-10-04 12:12:18 +03:00
session [#1454] Upgrade NeoFS SDK Go module with new IDs 2022-06-01 17:41:45 +03:00
tree [#1793] node: Serve NetmapService.NetmapSnapshot RPC 2022-09-27 09:03:17 +03:00
util [#1687] *: Perform go fmt using go v1.19 2022-08-22 18:59:57 +03:00