Kevin Decherf 0fdd9aa991 ExportController: fix improper authorization vulnerability
We fix the improper authorization by duplicating the check done by
the private method EntryController::checkUserAction().

We also replace the ParamConverter used to get the requested Entry with
an explicit call to EntryRepository in order to prevent a resource
enumeration through response discrepancy. Thus, we get the same
exception whether the requested resource does not exist or is not owned
by the requester.

Fixes GHSA-qwx8-mxxx-mg96

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2023-01-20 15:09:38 +01:00
..
2020-12-08 09:17:10 +01:00
2020-01-23 21:21:54 +01:00
2018-10-13 09:39:00 +02:00
CS
2019-05-15 14:58:40 +02:00
2016-06-22 17:59:35 +02:00
2020-02-07 13:21:48 +01:00
2020-12-10 10:30:34 +01:00