Skip to content

Security Finding (6.0) SEC-017: No Ownership Check on User Deletion #174

Description

@DyanGalih

Finding ID: SEC-017
Location: lib/Controller/User/Delete.php
CVSS: 6.0

User deletion allows deleting any user (including last super admin or self), with no ownership or last-admin checks.

Impact: Accidental or malicious deletion of critical accounts; potential admin lockout.

Remediation (short): Prevent self-deletion, prevent deleting the last super admin, and add proper authorization checks and audit logging.

Reference: SECURITY_REVIEW.md

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions