v0.12 — Sessies + TOTP volledig hardened (8 sub-fixes) #106
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jesse-a/OpenCRM#106
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: HIGH (v0.12 — pentest-rapport)
Cluster van 8 sessie/2FA-bevindingen uit het pentest-rapport v0.12, allen opgelost in commit
aa68ac1:getSession()doet per-request lookup opUser.active/role/sessionVersion. Role-change/deactivatie/wachtwoord-wijziging werkt nu meteen door op alle bestaande cookies.AUTH_SECRET.updateMany-guard.User.lastTotpStepvoorkomt hergebruik binnen 30s-step.disableTotp,startTotpEnrollment, e-mail-wijziging eisen huidig wachtwoord.algorithms: ["HS256"]+typ: "JWT"(anti-algorithm-confusion).Opgelost in commit
aa68ac1.