frostfs-node/pkg/services/object
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
..
acl [#1420] object/acl: Fix correlation of object session to request 2022-10-07 10:34:38 +03:00
delete [#1697] services/object: Return proper error if session token is missing 2022-09-30 16:13:01 +03:00
get [#1681] node: Block only Object service ops under maintenance 2022-10-05 11:41:49 +03:00
head [#1513] Upgrade NeoFS SDK Go with changed netmap package 2022-06-17 15:53:18 +03:00
internal [#1735] go.mod: Update API and SDK 2022-08-30 12:27:46 +03:00
put [#1365] node: Calculate object homomorphic hash flexibly 2022-07-13 17:10:06 +03:00
search [#1681] node: Block only Object service ops under maintenance 2022-10-05 11:41:49 +03:00
util [#1681] node: Block only Object service ops under maintenance 2022-10-05 11:41:49 +03:00
metrics.go [#425] services: Define service interfaces that was removed from API lib 2021-03-17 15:00:37 +03:00
response.go [#521] *: use stdlib errors package 2021-05-19 16:42:54 +03:00
server.go [#425] services: Define service interfaces that was removed from API lib 2021-03-17 15:00:37 +03:00
sign.go [#1098] object/search: Fix error loss in SignService.Search 2022-01-21 14:54:22 +03:00
transport_splitter.go [#1063] node/object: Do not skip empty search responses in splitter 2022-01-11 12:02:54 +03:00