Actions
Bug #28404
closedCurrentUser can have unknown actor and query context in snippets
Bug #28404:
CurrentUser can have unknown actor and query context in snippets
Status:
Released
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:
119
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 7 months ago
This does not seem to happen when the webapp does the policy generation by itself :

Updated by Clark ANDRIANASOLO 7 months ago
- Status changed from New to In progress
- Assignee set to Clark ANDRIANASOLO
Updated by Clark ANDRIANASOLO 7 months 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 7 months ago
- Category changed from Web - Maintenance to Security
Updated by Clark ANDRIANASOLO 7 months 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 6 months 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 months ago
- Subtask #28447 added
Updated by Clark ANDRIANASOLO 6 months ago
- Pull Request changed from https://github.com/Normation/rudder/pull/6939 to https://github.com/Normation/rudder/pull/6958
Updated by Clark ANDRIANASOLO 6 months ago
- Related to Bug #28452: ADR for proper initialization of query context in Lift snippets added
Updated by Clark ANDRIANASOLO 6 months ago
- Target version changed from 9.0.5 to 9.1.0~beta1
- Priority changed from 120 to 60
Updated by Clark ANDRIANASOLO 6 months ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|f9f42d46752f27290b2c58fde784ee460f649e26.
Updated by Clark ANDRIANASOLO 6 months ago
- Subtask #28484 added
Updated by Clark ANDRIANASOLO 6 months ago
- Subtask #28485 added
Updated by Vincent MEMBRÉ 6 months ago
- Priority changed from 60 to 120
This bug has been fixed in Rudder 9.1.0~beta1 which was released today.
Updated by Vincent MEMBRÉ 5 months ago
- Status changed from Pending release to Released
- Priority changed from 120 to 119
Actions