CVE-2025-9943 Unauthenticated SQL Injection Vulnerability in Shibboleth Service Provider
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
- Technology
- UbuntuDebian
Description
An SQL injection vulnerability has been identified in the "ID" attribute of the SAML response when the replay cache of the Shibboleth Service Provider (SP) is configured to use an SQL database as storage service. An unauthenticated attacker can exploit this issue via blind SQL injection, allowing for the extraction of arbitrary data from the database, if the database connection is configured to use the ODBC plugin. The vulnerability arises from insufficient escaping of single quotes in the class SQLString (file odbc-store.cpp, lines 253-271).
This issue affects Shibboleth Service Provider through 3.5.0.
Upgrade path
6 packages: 6 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/shibboleth-sp(Debian 12) | < 3.4.1+dfsg-2+deb12u1; = 3.4.1+dfsg-2 | 3.4.1+dfsg-2+deb12u1 | Fixed |
| debian/shibboleth-sp(Debian 13) | < 3.5.0+dfsg-2+deb13u1; = 3.5.0+dfsg-2 | 3.5.0+dfsg-2+deb13u1 | Fixed |
| debian/shibboleth-sp(Debian 14) | < 3.5.1+dfsg-1; = 3.5.0+dfsg-2 | 3.5.1+dfsg-1 | Fixed |
| shibboleth service provider | <= 3.5.0 | after 3.5.0 | Fixed |
| ubuntu/shibboleth-sp(Ubuntu 22.04) | < 3.3.0+dfsg1-1ubuntu0.1~esm1 | 3.3.0+dfsg1-1ubuntu0.1~esm1 | Fixed |
| ubuntu/shibboleth-sp(Ubuntu 24.04) | < 3.4.1+dfsg-2.1ubuntu0.1~esm1 | 3.4.1+dfsg-2.1ubuntu0.1~esm1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/shibboleth-sp(Debian:12) | < 3.4.1+dfsg-2+deb12u1 | 3.4.1+dfsg-2+deb12u1 |
| debian/shibboleth-sp(Debian:12) | = 3.4.1+dfsg-2 | No fix listed |
| debian/shibboleth-sp(Debian:13) | < 3.5.0+dfsg-2+deb13u1 | 3.5.0+dfsg-2+deb13u1 |
| debian/shibboleth-sp(Debian:13) | = 3.5.0+dfsg-2 | No fix listed |
| debian/shibboleth-sp(Debian:14) | < 3.5.1+dfsg-1 | 3.5.1+dfsg-1 |
| debian/shibboleth-sp(Debian:14) | = 3.5.0+dfsg-2 | No fix listed |
| shibboleth service provider | <= 3.5.0 | No fix listed |
| ubuntu/shibboleth-sp(Ubuntu:22.04) | < 3.3.0+dfsg1-1ubuntu0.1~esm1 | 3.3.0+dfsg1-1ubuntu0.1~esm1 |
| ubuntu/shibboleth-sp(Ubuntu:24.04) | < 3.4.1+dfsg-2.1ubuntu0.1~esm1 | 3.4.1+dfsg-2.1ubuntu0.1~esm1 |
References
- Debian Security Tracker CVE-2025-9943 vendor-advisory
- shibboleth.net vendor-advisory
- r.sec-consult.com third-party-advisory
- shibboleth.net patch
- lists.debian.org
- seclists.org
- Ubuntu CVE tracker vendor-advisory
- USN-8768-1 vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking