Actions
Bug #28404
openCurrentUser can have unknown actor and query context in snippets
Bug #28404:
CurrentUser can have unknown actor and query context in snippets
Status:
Pending release
Priority:
1 (highest)
Assignee:
Category:
Security
Target version:
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
I dislike using that feature
User visibility:
First impressions of Rudder
Effort required:
Small
Priority:
60
Name check:
To do
Fix check:
To do
Regression:
No
Description
The current user variable is likely not observed at the right time (looks like the RequestVar issue with Lift variables and ZIO execution)

The expected actor is rudder for that
Files
Updated by Clark ANDRIANASOLO 10 days ago
This does not seem to happen when the webapp does the policy generation by itself :

Updated by Clark ANDRIANASOLO 9 days ago
- Status changed from New to In progress
- Assignee set to Clark ANDRIANASOLO
Updated by Clark ANDRIANASOLO 9 days ago
- Status changed from In progress to Pending technical review
- Assignee changed from Clark ANDRIANASOLO to Pauline IOGNA
- Pull Request set to https://github.com/Normation/rudder/pull/6939
Updated by Clark ANDRIANASOLO 9 days ago
- Category changed from Web - Maintenance to Security
Updated by Clark ANDRIANASOLO 9 days ago
- Priority changed from N/A to 1 (highest)
In fact, this fact that an unknown user is potentially accessing the UI occurs at several other places : it could be a security issue, so we need to prevent this by adding check and warning logs
Updated by Clark ANDRIANASOLO 7 days ago
- Subject changed from Change log for policy generation event has unknown actor to CurrentUser can have unknown actor and query context in snippets
Updated by Clark ANDRIANASOLO 6 days ago
- Subtask #28447 added
Updated by Clark ANDRIANASOLO 3 days ago
- Pull Request changed from https://github.com/Normation/rudder/pull/6939 to https://github.com/Normation/rudder/pull/6958
Updated by Clark ANDRIANASOLO 3 days ago
- Related to Bug #28452: ADR for proper initialization of query context in Lift snippets added
Updated by Clark ANDRIANASOLO 2 days ago
- Target version changed from 9.0.5 to 9.1.0~alpha2
- Priority changed from 120 to 60
Updated by Clark ANDRIANASOLO 1 day ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|f9f42d46752f27290b2c58fde784ee460f649e26.
Updated by Clark ANDRIANASOLO about 11 hours ago
- Subtask #28484 added
Updated by Clark ANDRIANASOLO about 11 hours ago
- Subtask #28485 added
Actions