CVE-2017-18122
HIGH 8.1CVSS 3.0SimpleSAMLphp Signature validation bypass
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.
- Published
- 2 Feb 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-347
- Also known as
- GHSA-j4qf-3w33-8cgc
- Sources
- NVDJSONOSV GHSA-j4qf-3w33-8cgcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | simplesamlphp | simplesamlphpcpe:2.3:a:simplesamlphp:simplesamlphp:*:*:*:*:*:*:*:* |
<= 1.14.16 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| OSV | Packagist | simplesamlphp/simplesamlphp | < 1.14.17 | 1.14.17 |
References
- https://lists.debian.org/debian-lts-announce/2018/02/msg00008.html · Mailing List, Third Party Advisory, WEB
- https://simplesamlphp.org/security/201710-01 · Patch, Vendor Advisory, WEB
- https://www.debian.org/security/2018/dsa-4127 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-18122 · ADVISORY
- https://github.com/simplesamlphp/simplesamlphp/commit/e2d53086abbb253efb24ddcb49b116246eb0b6ca · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/CVE-2017-18122.yaml · WEB
- https://github.com/simplesamlphp/simplesamlphp · PACKAGE
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 2 Feb 2018)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 14 May 2022)