<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Saml — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/saml/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata — refreshed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Thu, 30 Apr 2026 20:45:20 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/saml/feed.xml" rel="self" type="application/rss+xml"/><item><title>Sentry SAML SSO Improper Authentication Allows User Identity Linking</title><link>https://feed.craftedsignal.io/briefs/2026-05-sentry-saml-takeover/</link><pubDate>Thu, 30 Apr 2026 20:45:20 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-sentry-saml-takeover/</guid><description>A critical vulnerability (CVE-2026-42354) exists in Sentry's SAML SSO implementation that allows an attacker to take over any user account by using a malicious SAML Identity Provider and another organization on the same Sentry instance, affecting self-hosted users with multiple organizations configured if a malicious user has permissions to modify SSO settings, while Sentry SaaS was patched in April and self-hosted users are advised to upgrade to version 26.4.1 or higher.</description><content:encoded><![CDATA[<p>A critical vulnerability, CVE-2026-42354, has been identified in the SAML Single Sign-On (SSO) implementation of Sentry, potentially allowing an attacker to compromise user accounts. This vulnerability stems from improper authentication during the SAML SSO process, leading to the possibility of user identity linking. The vulnerability affects Sentry versions 21.12.0 up to and including 26.4.0. To exploit this vulnerability, an attacker requires a malicious SAML Identity Provider and access to another organization within the same Sentry instance, coupled with knowledge of the victim&rsquo;s email address. This attack vector poses a significant risk to self-hosted Sentry instances that are configured with multiple organizations (SENTRY_SINGLE_ORGANIZATION = False), where a malicious user possesses the necessary permissions to modify SSO settings for a different organization. Sentry SaaS has already been patched in April.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker gains access to a Sentry instance that has multiple organizations configured.</li>
<li>The attacker obtains permissions to modify the SAML SSO settings of at least one organization within the Sentry instance.</li>
<li>The attacker crafts a malicious SAML Identity Provider (IdP) designed to inject or manipulate user identity attributes.</li>
<li>The attacker uses the malicious SAML IdP to initiate a single sign-on (SSO) process to a Sentry organization they control.</li>
<li>The attacker provides the email address of the targeted victim, linking the victim&rsquo;s identity in the Sentry instance to the malicious SAML IdP.</li>
<li>The victim attempts to log in to their Sentry account through SAML SSO.</li>
<li>Due to the vulnerability, Sentry incorrectly authenticates the victim based on the attributes provided by the attacker&rsquo;s malicious SAML IdP.</li>
<li>The attacker successfully takes over the victim&rsquo;s account, gaining access to sensitive data and functionalities associated with the victim&rsquo;s privileges.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of this vulnerability can lead to complete account takeover, resulting in unauthorized access to sensitive project data, configuration settings, and potentially even administrative privileges within the Sentry instance. This poses a substantial risk to organizations using vulnerable Sentry versions, as attackers could exfiltrate sensitive information, modify configurations, or disrupt services. The impact is particularly severe for self-hosted Sentry instances with multiple organizations, where a single compromised account could lead to broader access across the entire platform.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade self-hosted Sentry instances to version 26.4.1 or higher to patch CVE-2026-42354.</li>
<li>Enable user account-based two-factor authentication (2FA) for all Sentry accounts as a preventative measure, as mentioned in the Workarounds section.</li>
<li>Monitor Sentry audit logs for any unauthorized changes to SAML SSO configurations, particularly within multi-organization setups, to detect potential exploitation attempts.</li>
<li>Review and restrict permissions for modifying SSO settings across all organizations to minimize the attack surface, as described in the Overview.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>authentication</category><category>saml</category><category>sso</category><category>account takeover</category><category>vulnerability</category></item><item><title>Admidio SAML Signature Validation Bypass Allows Forged AuthnRequests and LogoutRequests</title><link>https://feed.craftedsignal.io/briefs/2026-04-admidio-saml-bypass/</link><pubDate>Wed, 29 Apr 2026 21:56:13 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-04-admidio-saml-bypass/</guid><description>Admidio's SAML Identity Provider implementation fails to properly validate signatures on SAML AuthnRequests and LogoutRequests, enabling attackers to bypass signature enforcement, potentially disclose user attributes via forged SSO requests, and terminate user sessions via forged SLO requests.</description><content:encoded><![CDATA[<p>Admidio, a free web-based content management system for organizations and groups, contains a critical vulnerability in its SAML Single Sign-On (SSO) implementation. The <code>validateSignature()</code> method within the SAMLService class returns error strings upon signature validation failure, rather than throwing exceptions. The calling functions, <code>handleSSORequest()</code> and <code>handleSLORequest()</code>, incorrectly assume that the method throws an exception, and therefore, do not check the return value. This oversight renders the <code>smc_require_auth_signed</code> configuration option ineffective, allowing attackers to forge SAML AuthnRequests and LogoutRequests. An attacker can exploit this vulnerability to obtain sensitive user information or cause denial of service by terminating user sessions. This affects Admidio versions 5.0.8 and earlier and requires SAML SSO to be enabled.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker crafts a malicious SAML AuthnRequest or LogoutRequest without a valid signature, impersonating a legitimate Service Provider (SP).</li>
<li>The attacker sends the forged SAML request to the Admidio instance via HTTP GET or POST to <code>modules/sso/index.php</code>.</li>
<li>The <code>receiveMessage()</code> function parses the SAML binding directly from the HTTP request, requiring no prior authentication.</li>
<li>The Entity ID is extracted from the forged request&rsquo;s Issuer element, and the corresponding client configuration is loaded.</li>
<li>The <code>validateSignature()</code> function is called, but its return value (indicating signature validity) is discarded.</li>
<li>For AuthnRequests, if the targeted user has an active session (<code>$gValidLogin</code> is true), the login form is skipped.</li>
<li>Admidio builds a SAML Response containing the user&rsquo;s attributes (login, name, email, roles) and sends it to the attacker-controlled <code>AssertionConsumerServiceURL</code>.</li>
<li>For LogoutRequests, the user&rsquo;s session is immediately terminated in the database, triggering a cascading single logout across all registered SPs.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of this vulnerability can lead to several critical impacts. The primary impact is the complete bypass of signature enforcement, negating the security benefits of the <code>smc_require_auth_signed</code> setting. This can lead to the disclosure of sensitive user attributes, including login name, email, and role memberships, to unauthorized parties by forging SSO requests and redirecting them to attacker-controlled endpoints. Furthermore, attackers can terminate any user&rsquo;s Admidio session by forging SLO requests, potentially causing a denial-of-service condition. This vulnerability affects all Admidio instances with SAML SSO enabled and can potentially impact all users of the system.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Apply the recommended fix in the Admidio codebase to check the return value of <code>validateSignature()</code> and throw an exception on failure, as outlined in the advisory (<a href="https://github.com/advisories/GHSA-25cw-98hg-g3cg)">https://github.com/advisories/GHSA-25cw-98hg-g3cg)</a>.</li>
<li>Deploy the Sigma rule &ldquo;Admidio Forged SAML AuthnRequest Detection&rdquo; to detect potentially malicious SAML AuthnRequests lacking a valid signature via webserver logs.</li>
<li>Deploy the Sigma rule &ldquo;Admidio Forged SAML LogoutRequest Detection&rdquo; to detect potentially malicious SAML LogoutRequests lacking a valid signature via webserver logs.</li>
<li>Monitor webserver logs for requests to <code>/adm_program/modules/sso/index.php/saml/sso</code> and <code>/adm_program/modules/sso/index.php/saml/slo</code> without proper signature validation to detect potential exploitation attempts.</li>
<li>Upgrade to a patched version of Admidio to address CVE-2026-41669.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>saml</category><category>signature-bypass</category><category>authentication</category><category>authorization</category><category>web-application</category></item><item><title>Sentry SAML SSO Improper Authentication Vulnerability</title><link>https://feed.craftedsignal.io/briefs/2026-04-sentry-saml-sso-takeover/</link><pubDate>Sat, 18 Apr 2026 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-04-sentry-saml-sso-takeover/</guid><description>A critical vulnerability in Sentry's SAML SSO implementation allows account takeover by exploiting improper authentication when multiple organizations are configured, affecting versions 21.12.0 to 26.2.0 and requiring a malicious SAML Identity Provider and knowledge of the victim's email address.</description><content:encoded><![CDATA[<p>A critical vulnerability (CVE-2026-27197) has been identified in the SAML Single Sign-On (SSO) implementation within Sentry, a popular error tracking and performance monitoring platform. This vulnerability allows a malicious actor to potentially take over user accounts by leveraging a rogue SAML Identity Provider (IdP) in conjunction with another organization configured within the same Sentry instance. The attacker needs to know the victim&rsquo;s email address for successful exploitation. This flaw primarily impacts self-hosted Sentry deployments with multiple organizations enabled (SENTRY_SINGLE_ORGANIZATION = False) and where a malicious user possesses the ability to modify SSO settings for another organization. Sentry SaaS was patched on February 18, 2026. Self-hosted users should upgrade to version 26.2.0 or later to remediate this vulnerability.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker gains access to a Sentry instance that hosts multiple organizations. This could be through compromised credentials or other initial access vectors.</li>
<li>The attacker identifies a target user&rsquo;s email address within the Sentry instance.</li>
<li>The attacker gains permissions to modify SSO settings for an organization within the Sentry instance.</li>
<li>The attacker configures a malicious SAML Identity Provider (IdP) for the organization they control. This IdP is designed to spoof user identities.</li>
<li>The victim attempts to log in to Sentry via SAML SSO.</li>
<li>Sentry redirects the victim to the attacker&rsquo;s malicious SAML IdP for authentication.</li>
<li>The attacker&rsquo;s malicious SAML IdP asserts the victim&rsquo;s identity (using the known email address) to Sentry, but the assertion is illegitimate and controlled by the attacker.</li>
<li>Sentry, due to the vulnerability, improperly validates the SAML assertion, allowing the attacker to successfully authenticate as the victim and gain unauthorized access to their account.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of this vulnerability allows an attacker to completely take over a targeted user&rsquo;s Sentry account. This grants the attacker the ability to access sensitive project data, modify configurations, invite/remove team members, and potentially disrupt the entire Sentry instance&rsquo;s operations. The vulnerability affects Sentry versions 21.12.0 up to, but not including, 26.2.0. The number of potential victims depends on the number of vulnerable Sentry instances with multiple organizations configured and the attacker&rsquo;s ability to modify SSO settings.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade self-hosted Sentry instances to version 26.2.0 or later to patch CVE-2026-27197.</li>
<li>Enable two-factor authentication (2FA) on all Sentry accounts. Users can manage this in Account Settings &gt; Security, as mentioned in the <a href="https://sentry.zendesk.com/hc/en-us/articles/46773315774235-How-do-I-enable-two-factor-authentication-2FA-on-my-Sentry-account">helpdesk article</a>.</li>
<li>Monitor Sentry logs for unusual SSO configuration changes, specifically modifications to SAML Identity Provider settings. Deploy a rule that detects modifications to the <code>SENTRY_SINGLE_ORGANIZATION</code> setting, as this is a prerequisite for exploitation.</li>
<li>Implement the Sigma rule <code>Detect Suspicious SAML Authentication</code> to identify potential unauthorized SAML authentication attempts based on unusual IP addresses or user agents.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>sentry</category><category>saml</category><category>sso</category><category>authentication</category><category>account-takeover</category></item><item><title>OneUptime SAML SSO Authentication Bypass Vulnerability (CVE-2026-34840)</title><link>https://feed.craftedsignal.io/briefs/2024-01-oneuptime-auth-bypass/</link><pubDate>Thu, 02 Apr 2026 20:16:28 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-oneuptime-auth-bypass/</guid><description>OneUptime versions prior to 10.0.42 are vulnerable to an authentication bypass due to improper SAML signature validation, allowing attackers to impersonate users by prepending unsigned assertions.</description><content:encoded><![CDATA[<p>OneUptime, an open-source monitoring and observability platform, is vulnerable to an authentication bypass in versions prior to 10.0.42. The vulnerability, identified as CVE-2026-34840, resides in the SAML Single Sign-On (SSO) implementation within the <code>App/FeatureSet/Identity/Utils/SSO.ts</code> file. The flawed logic involves a decoupling of signature verification and identity extraction processes. Specifically, the <code>isSignatureValid()</code> function checks the signature of the first <code>&lt;Signature&gt;</code> element, while the <code>getEmail()</code> function extracts the email address from the first assertion element <code>assertion[0]</code>. This design allows an attacker to prepend a malicious, unsigned SAML assertion containing an arbitrary identity before a legitimate, signed assertion. This bypasses authentication, potentially granting unauthorized access to sensitive monitoring data and platform functionalities. The vulnerability has been patched in version 10.0.42.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker crafts a malicious SAML response containing an unsigned assertion with a forged identity (e.g., a privileged user&rsquo;s email).</li>
<li>The attacker prepends this malicious assertion to a valid, signed SAML assertion generated for a low-privilege account or a newly created account.</li>
<li>The combined SAML response is sent to the OneUptime platform for authentication.</li>
<li>The <code>isSignatureValid()</code> function verifies the signature of the second assertion (the originally signed, valid one), passing the signature check.</li>
<li>The <code>getEmail()</code> function extracts the email address from the first assertion (the malicious, unsigned one), effectively impersonating the forged identity.</li>
<li>OneUptime grants access based on the forged identity extracted from the malicious assertion.</li>
<li>The attacker gains unauthorized access to the OneUptime platform with the privileges of the impersonated user.</li>
<li>The attacker can then view monitoring data, modify configurations, or perform other actions allowed to the compromised account.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-34840 allows an attacker to bypass authentication and impersonate any user on the OneUptime platform. This could lead to unauthorized access to sensitive monitoring data, modification of system configurations, and potentially complete compromise of the OneUptime instance. The vulnerability has a CVSS v3.1 base score of 8.1, indicating a high severity. Organizations using vulnerable OneUptime versions are at risk of significant data breaches and operational disruption.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Immediately upgrade OneUptime instances to version 10.0.42 or later to patch CVE-2026-34840.</li>
<li>Implement a web application firewall (WAF) rule to inspect SAML responses for multiple assertions and reject requests containing more than one assertion to prevent the attack described in the attack chain.</li>
<li>Monitor web server logs for suspicious SAML authentication requests and responses, focusing on unusual source IPs or deviations from normal authentication patterns related to the webserver log source.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>CVE-2026-34840</category><category>saml</category><category>authentication-bypass</category><category>webserver</category></item><item><title>AWS SAML Provider Deletion Activity</title><link>https://feed.craftedsignal.io/briefs/2024-12-19-aws-saml-provider-deletion/</link><pubDate>Thu, 19 Dec 2024 00:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-12-19-aws-saml-provider-deletion/</guid><description>An adversary may delete an AWS SAML provider to disrupt administrative access, hindering incident response and potentially escalating privileges within the AWS environment.</description><content:encoded><![CDATA[<p>The deletion of a SAML provider in AWS can be a significant indicator of malicious activity. An attacker who has gained initial access to an AWS environment may attempt to remove the SAML provider used by the information security team or system administrators. This action can severely impede the team&rsquo;s ability to investigate and respond to ongoing attacks. By disrupting access, the attacker gains a window of opportunity to further escalate privileges, move laterally within the environment, and achieve their objectives without immediate detection or intervention. This activity directly impacts the availability and integrity of resources within the AWS cloud environment.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Initial access is gained to an AWS account through compromised credentials or other means (T1078.004).</li>
<li>The attacker enumerates existing IAM resources, including SAML providers, using AWS CLI or API calls.</li>
<li>The attacker identifies the SAML provider used by administrative or security teams.</li>
<li>The attacker executes the <code>DeleteSAMLProvider</code> API call via the AWS CLI, API, or AWS Management Console (T1531).</li>
<li>The <code>DeleteSAMLProvider</code> event is logged in AWS CloudTrail with a &ldquo;success&rdquo; status.</li>
<li>Administrative and security teams lose access to AWS resources that require SAML authentication.</li>
<li>The attacker leverages the compromised account to escalate privileges, create new IAM users, or modify existing policies.</li>
<li>The attacker persists in the environment, potentially exfiltrating data or deploying malicious workloads (T1485).</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The deletion of an AWS SAML provider can have serious consequences. It disrupts access for administrators and security personnel, delaying incident response and potentially allowing attackers to further compromise the environment. This can lead to data breaches, service disruptions, and financial losses. The severity of the impact depends on the criticality of the affected AWS resources and the speed of detection and recovery.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule &ldquo;AWS SAML Provider Deletion Activity&rdquo; to your SIEM and tune for your environment to detect this specific event.</li>
<li>Investigate any <code>DeleteSAMLProvider</code> events in AWS CloudTrail, focusing on the user identity, user agent, and source IP address (logsource: aws/cloudtrail).</li>
<li>Implement multi-factor authentication (MFA) for all IAM users, especially those with administrative privileges, to reduce the risk of credential compromise (T1110).</li>
<li>Review and enforce the principle of least privilege for all IAM roles and users to limit the impact of compromised credentials.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>aws</category><category>cloudtrail</category><category>saml</category><category>iam</category><category>deletion</category><category>impact</category></item><item><title>Admidio SAML Assertion Consumer Service (ACS) URL Validation Bypass</title><link>https://feed.craftedsignal.io/briefs/2024-01-29-admidio-saml-acs-bypass/</link><pubDate>Mon, 29 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-29-admidio-saml-acs-bypass/</guid><description>Admidio's SAML IdP implementation in its SSO module is vulnerable to sending SAML responses to unvalidated Assertion Consumer Service URLs, allowing an attacker to craft a SAML AuthnRequest with an arbitrary AssertionConsumerServiceURL, causing the IdP to send the signed SAML response, containing user identity attributes, to an attacker-controlled URL, enabling impersonation of the victim user on the legitimate SP by replaying the SAML assertion.</description><content:encoded><![CDATA[<p>A vulnerability exists in Admidio&rsquo;s SAML IdP implementation within the SSO module (versions 5.0.8 and earlier) that allows for bypassing Assertion Consumer Service (ACS) URL validation. The IdP uses the <code>AssertionConsumerServiceURL</code> value directly from incoming SAML AuthnRequest messages as the destination for the SAML response without verifying it against the registered <code>smc_acs_url</code> for the corresponding service provider client. An attacker can exploit this by crafting a SAML AuthnRequest with the Entity ID of a registered SP client and an attacker-controlled <code>AssertionConsumerServiceURL</code>. This causes the IdP to send the signed SAML response, containing sensitive user identity attributes (login name, email, roles, profile fields), to a URL controlled by the attacker. The default configuration does not require signed AuthnRequests, simplifying exploitation to only needing the SP&rsquo;s Entity ID.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker identifies the Entity ID of a registered SAML service provider (SP) client within the Admidio IdP. This is often publicly available from the SP&rsquo;s metadata endpoint.</li>
<li>The attacker crafts a malicious SAML AuthnRequest. The AuthnRequest includes the legitimate SP Entity ID as the Issuer, but sets the <code>AssertionConsumerServiceURL</code> to a URL controlled by the attacker (e.g., <code>https://attacker.test/steal-saml</code>).</li>
<li>The attacker sends the crafted SAML AuthnRequest to Admidio&rsquo;s SSO endpoint (<code>/modules/sso/index.php/saml/sso</code>) using the HTTP-POST binding, typically by tricking a logged-in user into accessing a webpage containing an auto-submitting form.</li>
<li>Admidio&rsquo;s SSO module receives the AuthnRequest. If signature validation is not enforced for the SP, the request proceeds without signature verification.</li>
<li>If the user is already authenticated with the Admidio IdP, the IdP generates a signed SAML response containing the user&rsquo;s identity and attributes. The destination of the SAML response is set to the attacker-controlled <code>AssertionConsumerServiceURL</code> taken directly from the AuthnRequest.</li>
<li>Admidio renders an auto-submitting HTML form in the victim&rsquo;s browser, which POSTs the signed SAML response to the attacker&rsquo;s URL (<code>https://attacker.test/steal-saml</code>).</li>
<li>The attacker&rsquo;s server receives the SAML response, extracting the user&rsquo;s login name, email, full name, roles, and any other profile fields included in the assertion.</li>
<li>The attacker replays the stolen SAML assertion to the legitimate SP to authenticate as the victim, gaining unauthorized access to the SP application and its resources.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of this vulnerability allows an attacker to steal user identities and impersonate victims on legitimate service provider applications. This leads to unauthorized access to user accounts and potential access to sensitive data and resources within those applications. The scope change enables impersonation across separate service provider applications. The vulnerability is exploitable without requiring knowledge of cryptographic keys if <code>smc_require_auth_signed</code> is not enabled, making it easier to exploit. All versions of Admidio up to and including 5.0.8 are affected.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Apply the vendor-supplied patch described in GHSA-p9w9-87c8-m235 by upgrading to a version of Admidio greater than 5.0.8.</li>
<li>As a temporary mitigation, enable <code>smc_require_auth_signed</code> and <code>smc_validate_signatures</code> for all SAML clients to enforce signature validation, mitigating attacks from unauthenticated sources.</li>
<li>Monitor web server logs for POST requests to the Admidio SSO endpoint (<code>/modules/sso/index.php/saml/sso</code>) with suspicious <code>SAMLRequest</code> parameters containing attacker-controlled <code>AssertionConsumerServiceURL</code> values, which can be detected using the &ldquo;Admidio SAML AuthnRequest ACS URL Override&rdquo; Sigma rule.</li>
<li>Monitor network traffic for connections to attacker-controlled URLs, such as <code>https://attacker.test/steal-saml</code>, which may indicate successful exploitation and the exfiltration of SAML responses as listed in the IOC table.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>saml</category><category>sso</category><category>acs-bypass</category><category>admidio</category><category>cve-2026-41670</category></item><item><title>Suspicious AWS SAML Activity Detection</title><link>https://feed.craftedsignal.io/briefs/2024-01-03-aws-suspicious-saml/</link><pubDate>Wed, 03 Jan 2024 18:22:30 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-03-aws-suspicious-saml/</guid><description>This rule identifies suspicious SAML activity in AWS, such as AssumeRoleWithSAML and UpdateSAMLProvider events, which could indicate an attacker gaining backdoor access, escalating privileges, or establishing persistence.</description><content:encoded><![CDATA[<p>This detection identifies potentially malicious Security Assertion Markup Language (SAML) activity within Amazon Web Services (AWS). The activity includes monitoring for <code>AssumeRoleWithSAML</code> and <code>UpdateSAMLProvider</code> events. An adversary might exploit SAML to gain unauthorized access, escalate privileges, move laterally within the AWS environment, or establish persistent backdoor access. The focus is on detecting unusual or unauthorized modifications to SAML configurations and role assumptions, which could indicate a compromised identity provider or malicious actor leveraging SAML for illicit purposes. Defenders should prioritize monitoring SAML-related API calls to identify and mitigate potential threats early in the attack chain.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker compromises or creates a malicious SAML identity provider.</li>
<li>The attacker configures the AWS environment to trust the malicious SAML provider using <code>UpdateSAMLProvider</code>.</li>
<li>The attacker crafts a SAML assertion to assume a specific role within the AWS environment.</li>
<li>The attacker uses the <code>AssumeRoleWithSAML</code> API call to authenticate with AWS using the crafted SAML assertion.</li>
<li>AWS STS validates the SAML assertion and, if valid, provides temporary credentials for the assumed role.</li>
<li>The attacker uses the temporary credentials to perform actions within AWS, potentially escalating privileges.</li>
<li>The attacker moves laterally within the AWS environment, accessing resources and services authorized for the assumed role.</li>
<li>The attacker establishes persistent access by creating backdoors or modifying existing IAM policies, leveraging the initially gained access.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation via SAML manipulation can lead to a complete compromise of the AWS environment. Attackers can gain unauthorized access to sensitive data, disrupt critical services, and deploy malicious infrastructure. The impact includes potential data breaches, financial losses, and reputational damage. The number of affected resources depends on the permissions associated with the roles assumed by the attacker.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule for <code>AssumeRoleWithSAML</code> events to detect suspicious role assumptions (see &ldquo;AssumeRoleWithSAML Detection Rule&rdquo;).</li>
<li>Deploy the Sigma rule for <code>UpdateSAMLProvider</code> events to detect unauthorized SAML provider modifications (see &ldquo;UpdateSAMLProvider Detection Rule&rdquo;).</li>
<li>Investigate any <code>AssumeRoleWithSAML</code> events originating from unfamiliar user agents or IP addresses by reviewing CloudTrail logs.</li>
<li>Monitor <code>UpdateSAMLProvider</code> events for unexpected changes to SAML provider configurations. Review associated CloudTrail logs for user identity, user agent, and hostname to ensure authorized access.</li>
<li>Tune the provided Sigma rules for your environment, addressing false positives by exempting known, legitimate behavior.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>aws</category><category>saml</category><category>cloudtrail</category><category>initial-access</category><category>lateral-movement</category><category>persistence</category><category>privilege-escalation</category><category>stealth</category></item></channel></rss>