*** This bug is a duplicate of bug 2178530 ***
    https://bugs.launchpad.net/bugs/2178530

*** This bug is a security vulnerability ***

Public security bug reported:

On 30 November 2026 the Shibboleth project published a security advisory for
the OpenSAML C++ library (cpp-opensaml), which the Shibboleth Service Provider
uses:

https://shibboleth.net/community/advisories/secadv_20261130.txt

The Service Provider combines OpenSAML's message processing and security
features in a way that can lead it to accept a forged SAML message and create a
session from it. Under the right conditions, the forged message can appear to
come from any trusted Identity Provider and can carry any data the attacker
chooses. The main attack vector is the SAML 2.0 ECP endpoint, which is enabled
by default: the protocols.xml that Ubuntu ships maps the PAOS binding to
/SAML2/ECP. The SOAP endpoints have a similar flaw. They don't create sessions,
so the impact there is lower (for example, forged logout requests). Upstream
rates the issue critical.

No CVE ID has been assigned yet.

Upstream fix (included in OpenSAML C++ 3.3.2):
https://codeberg.org/Shibboleth/cpp-opensaml/commit/ba8fb40945176567b50a01c77787f432ddb662cf

Debian: https://bugs.debian.org/1155910 (TEMP-1155910-5067A0). Fixed in
trixie-security 3.3.1-2+deb13u1 with the same commit.

Affected Ubuntu versions:
- jammy: 3.2.1-1ubuntu0.1
- noble: 3.2.1-4.1ubuntu0.24.04.1
- resolute: 3.3.1-4
- stonking: 3.3.1-4
- tenacious: 3.3.1-4 (3.3.1-5 in -proposed)

The flaw is in the shared library (libsaml12 / libsaml12t64 / libsaml13), so
fixing opensaml fixes the Service Provider (libapache2-mod-shib,
shibboleth-sp-utils) without rebuilding it. After updating, restart shibd and
Apache so they load the fixed library. Upstream's advisory says to confirm the
fix by looking for OpenSAML 3.3.2 in shibd.log at startup. Ubuntu's updates
patch the existing versions, so the log will still show 3.2.1 or 3.3.1. Check
the installed package version instead.

Mitigation until the update is installed: disable or block inbound ECP (PAOS)
requests, as described in upstream's mitigation guide:
https://shibboleth.atlassian.net/wiki/x/JgDHXgE

** Affects: opensaml (Ubuntu)
     Importance: Undecided
     Assignee: John Breton (john-breton)
         Status: New

** Affects: opensaml (Ubuntu Jammy)
     Importance: Undecided
     Assignee: John Breton (john-breton)
         Status: New

** Affects: opensaml (Ubuntu Noble)
     Importance: Undecided
     Assignee: John Breton (john-breton)
         Status: New

** Affects: opensaml (Ubuntu Resolute)
     Importance: Undecided
     Assignee: John Breton (john-breton)
         Status: New

** Affects: opensaml (Ubuntu Stonking)
     Importance: Undecided
     Assignee: John Breton (john-breton)
         Status: New

** Affects: opensaml (Ubuntu Tenacious)
     Importance: Undecided
     Assignee: John Breton (john-breton)
         Status: New

** Also affects: opensaml (Ubuntu Resolute)
   Importance: Undecided
       Status: New

** Also affects: opensaml (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Also affects: opensaml (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: opensaml (Ubuntu Tenacious)
   Importance: Undecided
       Status: New

** Also affects: opensaml (Ubuntu Stonking)
   Importance: Undecided
       Status: New

** Changed in: opensaml (Ubuntu Jammy)
     Assignee: (unassigned) => John Breton (john-breton)

** Changed in: opensaml (Ubuntu Resolute)
     Assignee: (unassigned) => John Breton (john-breton)

** Changed in: opensaml (Ubuntu Noble)
     Assignee: (unassigned) => John Breton (john-breton)

** Changed in: opensaml (Ubuntu Tenacious)
     Assignee: (unassigned) => John Breton (john-breton)

** Changed in: opensaml (Ubuntu Stonking)
     Assignee: (unassigned) => John Breton (john-breton)

** This bug has been marked a duplicate of bug 2178530
   opensaml: ECP/SOAP message forgery (Shibboleth advisory 2026-11-30)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2185680

Title:
  opensaml: ECP and SOAP message processing vulnerable to request
  forgery (Shibboleth advisory 2026-11-30)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/opensaml/+bug/2185680/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to