cloudstack-mirror/plugins
dahn f2df4d9754 saml: reject signed SAMLResponse when IdP has no signing certificate registered
When a SAML Response or EncryptedAssertion carries a ds:Signature element
but the IdP metadata contains no signing certificate, the previous code
silently skipped signature validation (the guard was
`idpMetadata.getSigningCertificate() != null && sig != null`).
An attacker could forge a SAMLResponse with an arbitrary bogus signature
against a cert-less IdP and obtain a valid session — a full
unauithenticated authentication bypass.

Fix: when a signature IS present we now require a signing certificate to
be registered.  If none is found we immediately reject the request with
an ACCOUNT_ERROR.  The same guard is applied to the EncryptedAssertion
signature block.
2026-08-18 18:42:52 +05:30
..
acl Fix checkRoleEscalation performance and bugs in access checking (#12973) 2026-08-15 01:02:42 +03:00
affinity-group-processors Updating pom.xml version numbers for release 4.22.2.0-SNAPSHOT 2026-05-18 17:17:25 +05:30
alert-handlers Updating pom.xml version numbers for release 4.22.2.0-SNAPSHOT 2026-05-18 17:17:25 +05:30
api Updating pom.xml version numbers for release 4.22.2.0-SNAPSHOT 2026-05-18 17:17:25 +05:30
backup Updating pom.xml version numbers for release 4.22.2.0-SNAPSHOT 2026-05-18 17:17:25 +05:30
ca/root-ca Updating pom.xml version numbers for release 4.22.2.0-SNAPSHOT 2026-05-18 17:17:25 +05:30
database Updating pom.xml version numbers for release 4.22.2.0-SNAPSHOT 2026-05-18 17:17:25 +05:30
dedicated-resources Updating pom.xml version numbers for release 4.22.2.0-SNAPSHOT 2026-05-18 17:17:25 +05:30
deployment-planners Updating pom.xml version numbers for release 4.22.2.0-SNAPSHOT 2026-05-18 17:17:25 +05:30
drs/cluster Updating pom.xml version numbers for release 4.22.2.0-SNAPSHOT 2026-05-18 17:17:25 +05:30
event-bus webhook: additional check for payload url 2026-08-18 18:42:52 +05:30
ha-planners/skip-heurestics Updating pom.xml version numbers for release 4.22.2.0-SNAPSHOT 2026-05-18 17:17:25 +05:30
host-allocators/random Updating pom.xml version numbers for release 4.22.2.0-SNAPSHOT 2026-05-18 17:17:25 +05:30
hypervisors api,server,kvm: improve backup repository mount handling 2026-08-18 18:42:52 +05:30
integrations Add proper access check before proceeding with adding or removing nodes from a CKS cluster 2026-08-18 18:42:52 +05:30
maintenance Updating pom.xml version numbers for release 4.22.2.0-SNAPSHOT 2026-05-18 17:17:25 +05:30
metrics Updating pom.xml version numbers for release 4.22.2.0-SNAPSHOT 2026-05-18 17:17:25 +05:30
network-elements Fix checkRoleEscalation performance and bugs in access checking (#12973) 2026-08-15 01:02:42 +03:00
outofbandmanagement-drivers Updating pom.xml version numbers for release 4.22.2.0-SNAPSHOT 2026-05-18 17:17:25 +05:30
storage Merge remote-tracking branch 'apache/4.20' into 4.22 2026-07-13 09:58:35 +02:00
storage-allocators/random Updating pom.xml version numbers for release 4.22.2.0-SNAPSHOT 2026-05-18 17:17:25 +05:30
user-authenticators saml: reject signed SAMLResponse when IdP has no signing certificate registered 2026-08-18 18:42:52 +05:30
user-two-factor-authenticators Updating pom.xml version numbers for release 4.22.2.0-SNAPSHOT 2026-05-18 17:17:25 +05:30
pom.xml Updating pom.xml version numbers for release 4.22.2.0-SNAPSHOT 2026-05-18 17:17:25 +05:30