PT-2018-6687 · Simplesamlphp · Simplesamlphp

Matt Schwager

·

Published

2018-02-02

·

Updated

2022-05-14

·

CVE-2017-18122

CVSS v3.1

8.1

High

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: SimpleSAMLphp versions prior to 1.14.17
Description: A signature-validation bypass issue was discovered in SimpleSAMLphp. This issue allows an attacker to impersonate any user of any IdP given an assertion signed by the targeted IdP, by sending an unsigned SAML response containing more than one signed assertion. The attributes contained in all the assertions received will be merged and the entityID of the first assertion received will be used.
Recommendations: For SimpleSAMLphp versions prior to 1.14.17, update to version 1.14.17 or later to resolve the issue. As a temporary workaround, consider disabling SAML 1.1 support in the SimpleSAMLphp Service Provider until a patch is available. Restrict access to the SAML response processing module to minimize the risk of exploitation. Avoid using unsigned SAML responses in the affected API endpoint until the issue is resolved.

Exploit

Fix

Improper Verification of Cryptographic Signature

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2017-18122
DLA-1273-1
DSA-4127-1
GHSA-J4QF-3W33-8CGC

Affected Products

Simplesamlphp