- Status Closed
-
Assigned To
cbay - Private
Opened by basitasif1998 - 03.12.2026
Last edited by cbay - 03.12.2026
FS#576 - Broken Access Control / Improper Account Deletion Enforcement — Deleted (Pending-Deletion) Account R
Vulnerable URLs:
https://admin.alwaysdata.com/user/delete/ https://admin.alwaysdata.com/login/ https://admin.alwaysdata.com/billing/
Severity: Medium — CVSS 3.1: AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N (Base Score ~5.3)
Description:
alwaysdata lets a user submit an account deletion request from /user/delete/ by filling an optional feedback message and clicking Submit. After submitting this request, I expected the account to either be deleted immediately or clearly locked pending confirmation. Instead, when I logged out and logged back in with the same credentials, the application redirected me back to /user/delete/ — implying the account was flagged as "pending deletion." However, instead of being restricted to that page, I manually navigated to /billing/ and the page loaded completely normally: balance, transaction history, and the full account menu (Profile, Subscriptions, Permissions, Billing, Activity, Transfers, Logout) were all accessible exactly as they would be for a fully active account.
This shows that the "pending deletion" state is only enforced as a client-side redirect on login, not as a server-side access control check. Any authenticated request to another endpoint bypasses the deletion restriction entirely.
Impact:
A user (or anyone in control of that session/device) can continue to fully use an account — including billing — after submitting a deletion request, defeating the purpose of deletion.
This raises a data-retention/privacy concern: users who delete their account for privacy reasons (GDPR "right to erasure" expectations) still have live, accessible resources and billing data.
The session/authentication token is not invalidated or restricted server-side after a deletion request, so the "pending deletion" state is cosmetic rather than enforced.
Because this works via direct URL navigation, it's a genuine broken access control issue, not just a UI/UX nag screen.
Steps to Reproduce:
Log in to admin.alwaysdata.com as a normal user.
Go to https://admin.alwaysdata.com/user/delete/.
Enter any message in the "Message" field and click Submit.
Log out, then log back in at https://admin.alwaysdata.com/login/ with the same credentials.
Observe that login succeeds and the app redirects to /user/delete/ again (account appears flagged for deletion).
Instead of resubmitting deletion, manually navigate to https://admin.alwaysdata.com/billing/.
Observe the Billing page loads fully, and the full account menu (Profile, Subscriptions, Permissions, Billing, Activity, Transfers, Logout) is accessible — identical to an active, non-deleted account.
Mitigation:
Enforce the "pending deletion"/"deleted" state server-side via a shared middleware/decorator applied to every authenticated route, not just as a client-side redirect triggered on login.
Upon a deletion request being confirmed, immediately invalidate all active sessions and API tokens for that account, and block further logins until deletion completes or is explicitly cancelled.
If a recovery/grace period is intentional, restrict access during that period to only the "cancel deletion"/account-recovery flow — block billing, resources, and all other functional areas.
Add a regression test that attempts to load protected endpoints (e.g. /billing/) directly with a pending-deletion session and asserts a redirect/403, not a 200 OK.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
Improper profile deletion enf...
Hello,
Deleting a profile is not instantaneous, it may take a few seconds or even a few minutes in some very rare cases. That's not a vulnerability.
Kind regards,
Cyril