Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate with valid account
-
DeliveryAccess inventory module
-
ExploitExtract item UUID and CSRF token
-
InstallPOST delete request to backend handler
-
C2Bypass authorization check
-
ExecuteExecute irreversible database delete
-
ImpactPermanent data loss
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must be an authenticated user with a valid Admidio session cookie. The inventory module must be enabled with the default configuration setting inventory_module_enabled=2 (which grants all authenticated users module-level access). No special administrative account, elevated privileges, or non-default configuration is required-exploitation works against default deployments. Item UUIDs must be discoverable, which is true by default because they are visible in the inventory list HTML to all users who can access the module. CSRF token is available on any inventory page the user can access. No user interaction is required from a victim, and there is no denial of service or denial of access component-the victim (item administrator) will only discover the damage after the fact when they notice missing inventory data. Exploitation is not limited by authentication type, role, or feature flags beyond module-level access control. |
| Impact | This vulnerability presents significant real-world risk despite a CVSS score of 6.5. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N) indicates network attack vector, low complexity, and requires low privileges (authenticated user), with high integrity impact and no confidentiality or availability impact by CVSS definition-however, the practical impact is more severe because the vulnerability allows high-availability impact through irreversible bulk data deletion. The lack of soft-delete or recycle bin means destroyed data is unrecoverable without database backups. The root cause (authorization check missing from backend handlers while present in UI) is a common anti-pattern in web applications and suggests potential similar flaws in other modules. The exploitation is highly automatable (AC:L, no user interaction required), and no special configuration is needed beyond the default inventory_module_enabled=2 setting. While no POC has been weaponized or confirmed in active exploitation, the PoC provided in the advisory is straightforward and requires only basic HTTP knowledge. The blast radius is organization-wide: a disgruntled member, compromised low-privilege account, or insider threat can delete the entire inventory database in a single bulk request. Given the high-integrity impact, direct data destruction, and low barriers to exploitation, this warrants immediate patching despite the moderate CVSS numeric score. |
| Exploit ScenarioDerived | A disgruntled organization member with a valid Admidio account logs in and navigates to the inventory module to view the item list. By inspecting the page HTML or using the provided PoC curl commands, the attacker extracts one or more item UUIDs and the CSRF token from any accessible inventory page. The attacker then crafts a POST request to modules/inventory.php?mode=item_delete with the target item UUIDs and CSRF token, bypassing authorization checks and permanently deleting items and all associated data (borrow records, field values) without triggering any alerts. A bulk deletion request with multiple item UUIDs can wipe the entire inventory database in seconds. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Admidio inventory module allows any authenticated user to permanently delete inventory items and modify associated data by bypassing authorization checks present only in the UI layer. The backend handlers for item_delete, item_retire, item_reinstate, and picture operations validate CSRF tokens but never verify the requesting user is an inventory administrator, enabling destructive operations on any item visible to the user. This affects Admidio versions through 5.0.8, and no active exploitation has been reported at the time of analysis.
RemediationAI
Vendor-released patch: Admidio 5.0.9 or later. Update immediately via composer update or by downloading the patched release from https://github.com/Admidio/admidio/releases/tag/v5.0.9. The patch adds isAdministratorInventory() authorization checks to all destructive inventory endpoints (item_delete, item_retire, item_reinstate, item_picture_upload, item_picture_save, item_picture_delete) before service-layer method calls. For organizations unable to patch immediately, restrict module-level access by setting inventory_module_enabled to a more restrictive value (0 or 1 instead of the default 2), which will prevent non-privileged users from accessing the inventory module entirely. Alternative compensating control: Disable inventory module functionality at the application configuration level (set inventory_module_enabled=0) until patch deployment is feasible, accepting the loss of inventory functionality. Use database-level access controls and automated backup systems to mitigate data loss risk-ensure inventory database is backed up at least daily and test restore procedures. Monitor inventory tables for unexpected DELETE operations and track all user actions via application audit logs (if available) to detect unauthorized deletions retroactively.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Admidio's inventory module implements a two-layer access control model: a module-level check (modules/inventory.php:65-72) that permits any logged-in user to access the inventory interface when inventory_module_enabled=2 (default), and a UI-layer authorization check (modules/inventory.php:306-309) that conditionally renders delete buttons only for users passing isAdministratorInventory(). However, the backend POST handlers (item_delete at lines 381-397, item_retire at line 347, item_reinstate at line 364, item_picture_upload/save/delete at lines 428-457) lack authorization checks entirely. These handlers directly instantiate ItemService and call delete()/retire()/reinstate() methods without verifying admin rights, and the service layer (ItemService::delete() in src/Inventory/Service/ItemService.php:86-92) and data layer (ItemsData::deleteItem() in src/Inventory/ValueObjects/ItemsData.php:1078-1095) perform no authorization validation before executing DELETE FROM SQL statements. The vulnerability stems from a missing access control check (CWE-862) where the authorization logic is implemented only in presentation logic, not in the authorization-critical business logic layer.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
DescriptionGitHub Advisory
Summary
The Admidio inventory module enforces authorization for destructive operations (delete, retire, reinstate) only in the UI layer by conditionally rendering buttons. The backend POST handlers at modules/inventory.php for item_delete, item_retire, item_reinstate, item_picture_upload, item_picture_save, and item_picture_delete perform CSRF validation but never check whether the requesting user is an inventory administrator. Any authenticated user who can access the inventory module can permanently delete any inventory item and all its associated data.
Details
The inventory module applies a module-level access control check at modules/inventory.php:65-72 that determines whether a user can access the inventory module at all, based on the inventory_module_enabled setting. In the default configuration (value 2), any logged-in user passes this check.
The item_delete handler at lines 381-397 only validates the CSRF token:
// modules/inventory.php:381-397
case 'item_delete':
// check the CSRF token of the form against the session token
SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']);
if (count($getItemUUIDs) > 0) {
foreach ($getItemUUIDs as $itemUuid) {
$itemService = new ItemService($gDb, $itemUuid);
$itemService->delete();
}
echo json_encode(array('status' => 'success', 'message' => $gL10n->get('SYS_INVENTORY_SELECTION_DELETED')));
} else {
$itemService = new ItemService($gDb, $getiniUUID);
$itemService->delete();
echo json_encode(array('status' => 'success', 'message' => $gL10n->get('SYS_INVENTORY_ITEM_DELETED')));
}
break;There is no call to $gCurrentUser->isAdministratorInventory() before executing the deletion. The service layer (ItemService::delete() at src/Inventory/Service/ItemService.php:86-92) and the data layer (ItemsData::deleteItem() at src/Inventory/ValueObjects/ItemsData.php:1078-1095) also contain no authorization checks - they directly execute DELETE FROM SQL statements on the item data, borrow data, and item tables.
Meanwhile, the UI does check admin status before showing delete buttons:
// modules/inventory.php:306-309 (UI only)
if ($gCurrentUser->isAdministratorInventory()) {
$msg .= '<button id="adm_button_delete" ...>';
}This creates a false sense of security - the button is hidden, but the endpoint is fully accessible. Item UUIDs needed for the attack are visible to all users who can view the inventory list.
The same missing-authorization pattern affects:
item_retire(line 347) - soft-retires items without admin checkitem_reinstate(line 364) - reinstates retired items without admin checkitem_picture_upload(line 428) - uploads pictures without admin checkitem_picture_save(line 445) - saves pictures without admin checkitem_picture_delete(line 457) - deletes pictures without admin check
PoC
Prerequisites: An Admidio instance with the inventory module enabled (default setting inventory_module_enabled=2), two user accounts - one admin who created inventory items, and one regular user with no inventory admin rights.
# Step 1: Log in as a regular (non-admin) user and get session cookie + CSRF token
# The CSRF token is embedded in any page the user can access
curl -c cookies.txt -b cookies.txt 'https://target/adm_program/modules/inventory.php?mode=item_list'
# Step 2: Extract a target item UUID from the inventory list page
# Item UUIDs are visible in the list view HTML to all users with module access
# Step 3: Permanently delete the item (as a non-admin user)
curl -X POST 'https://target/adm_program/modules/inventory.php?mode=item_delete&item_uuid=TARGET-ITEM-UUID' \
-H 'Cookie: PHPSESSID=regular_user_session' \
-d 'adm_csrf_token=EXTRACTED_CSRF_TOKEN'
# Expected response: {"status":"success","message":"Item deleted"}
# The item and all associated data (item fields, borrow records) are permanently deleted.
# Step 4: Bulk deletion is also possible
curl -X POST 'https://target/adm_program/modules/inventory.php?mode=item_delete&item_uuids[]=UUID1&item_uuids[]=UUID2&item_uuids[]=UUID3' \
-H 'Cookie: PHPSESSID=regular_user_session' \
-d 'adm_csrf_token=EXTRACTED_CSRF_TOKEN'Impact
- Data destruction: Any authenticated user can permanently delete any inventory item, including all associated field data and borrow records. There is no soft-delete or recycle bin - the SQL
DELETE FROMstatements are irreversible without database backups. - Bulk deletion: The endpoint accepts multiple item UUIDs, allowing an attacker to delete all inventory items in a single request.
- Additional unauthorized operations: The same pattern allows non-admin users to retire/reinstate items and upload/modify/delete item pictures, undermining the entire inventory permission model.
- Blast radius: In organizations using Admidio's inventory module to track physical assets, a disgruntled member or compromised low-privilege account could wipe the entire inventory database.
Recommended Fix
Add isAdministratorInventory() checks to all destructive inventory endpoints. The fix should be applied at the handler level in modules/inventory.php before any service calls:
// modules/inventory.php - Add authorization check to item_delete
case 'item_delete':
// check the CSRF token of the form against the session token
SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']);
// ADD THIS: check if user has admin rights for inventory
if (!$gCurrentUser->isAdministratorInventory()) {
throw new Exception('SYS_NO_RIGHTS');
}
if (count($getItemUUIDs) > 0) {
// ... existing codeApply the same pattern to item_retire, item_reinstate, item_picture_upload, item_picture_save, and item_picture_delete. Additionally, consider adding authorization checks in ItemService methods as defense-in-depth.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-28268
GHSA-xqv4-xm7h-52cv
NVD
CVE.org
EPSS
Exploit-DB