CVE-2017-18122 json
SimpleSAMLphp Signature validation bypass
published 8y ago modified 4mo ago also GHSA-j4qf-3w33-8cgc , EUVD-2022-4278
- cvss
- 8.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known
Summary
A signature-validation bypass issue was discovered in SimpleSAMLphp through 1.14.16. A SimpleSAMLphp Service Provider using SAML 1.1 will regard as valid any unsigned SAML response containing more than one signed assertion, provided that the signature of at least one of the assertions is valid. Attributes contained in all the assertions received will be merged and the entityID of the first assertion received will be used, allowing an attacker to impersonate any user of any IdP given an assertion signed by the targeted IdP.
Patch / fix
- packagist simplesamlphp/simplesamlphp 1.14.17
- simplesamlphp Debian 14, Debian 12 1.15.0-1
debian advisories DEBIAN-CVE-2017-18122
Is CVE-2017-18122 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-18122 updated cvss 6.3
php-simplesamlphp-saml2: weak authentication in SAML implementation
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.09% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | simplesamlphp/simplesamlphp | <1.14.17 |
1.14.17 |
Classification
- Weakness
-
- CWE-347 Improper Verification of Cryptographic Signature
References
-
simplesamlphp.org
/security/201710-01
web, patch, vendor-advisory
-
github.com
/simplesamlphp/simplesamlphp/commit/e2d53086abbb253efb24ddcb49b116246eb0b6ca
web
-
debian.org
/security/2018/dsa-4127
vendor-advisory, web, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2018/02/msg00008.html
mailing-list, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2017-18122
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/CVE-2017-18122.yaml
web
-
github.com
/simplesamlphp/simplesamlphp
package
Sources
- CVE List CVE-2017-18122
- GitHub Advisory GHSA-j4qf-3w33-8cgc
- NVD CVE-2017-18122
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.