Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. admidio/admidio
  4. ›
  5. GHSA-rmpj-3x5m-9m5f

GHSA-rmpj-3x5m-9m5f: Admidio is Missing Authorization and CSRF Protection on Document and Folder Deletion

March 16, 2026

The documents and files module in Admidio does not verify whether the current user has permission to delete folders or files. The folder_delete and file_delete action handlers in modules/documents-files.php only perform a VIEW authorization check (getFolderForDownload / getFileForDownload) before calling delete(), and they never validate a CSRF token. Because the target UUIDs are read from $_GET, deletion can be triggered by a plain HTTP GET request. When the module is in public mode (documents_files_module_enabled = 1) and a folder is marked public (fol_public = true), an unauthenticated attacker can permanently destroy the entire document library. Even when the module requires login, any user with view-only access can delete content they are only permitted to read.

References

  • github.com/Admidio/admidio
  • github.com/Admidio/admidio/security/advisories/GHSA-rmpj-3x5m-9m5f
  • github.com/advisories/GHSA-rmpj-3x5m-9m5f

Code Behaviors & Features

Detect and mitigate GHSA-rmpj-3x5m-9m5f with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.0.0 before 5.0.7

Fixed versions

  • 5.0.7

Solution

Upgrade to version 5.0.7 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization

Source file

packagist/admidio/admidio/GHSA-rmpj-3x5m-9m5f.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:19:21 +0000.