Vulnerability Name:

CVE-2017-18122 (CCN-138614)

Assigned:2017-10-22
Published:2017-10-22
Updated:2019-05-13
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.
CVSS v3 Severity:8.1 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H)
7.1 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.5 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N)
6.5 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): High
Availibility (A): None
CVSS v2 Severity:6.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
7.8 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:C/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Complete
Availibility (A): None
Vulnerability Type:CWE-347
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2017-18122

Source: XF
Type: UNKNOWN
simplesamlphp-cve201718122-sec-bypass(138614)

Source: MLIST
Type: Mailing List, Third Party Advisory
[debian-lts-announce] 20180209 [SECURITY] [DLA 1273-1] simplesamlphp security update

Source: CCN
Type: SimpleSAMLphp 201710-01
Signature validation bypass

Source: CONFIRM
Type: Patch, Vendor Advisory
https://simplesamlphp.org/security/201710-01

Source: DEBIAN
Type: Third Party Advisory
DSA-4127

Vulnerable Configuration:Configuration 1:
  • cpe:/a:simplesamlphp:simplesamlphp:*:*:*:*:*:*:*:* (Version <= 1.14.16)

  • Configuration 2:
  • cpe:/o:debian:debian_linux:7.0:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:8.0:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:9.0:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:simplesamlphp:simplesamlphp:1.14.16:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.xenial:def:2017181220000000
    V
    CVE-2017-18122 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-02-02
    oval:com.ubuntu.artful:def:201718122000
    V
    CVE-2017-18122 on Ubuntu 17.10 (artful) - untriaged.
    2018-02-02
    oval:com.ubuntu.xenial:def:201718122000
    V
    CVE-2017-18122 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-02-02
    oval:com.ubuntu.disco:def:2017181220000000
    V
    CVE-2017-18122 on Ubuntu 19.04 (disco) - medium.
    2018-02-02
    oval:com.ubuntu.bionic:def:201718122000
    V
    CVE-2017-18122 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-02-02
    oval:com.ubuntu.cosmic:def:2017181220000000
    V
    CVE-2017-18122 on Ubuntu 18.10 (cosmic) - medium.
    2018-02-02
    oval:com.ubuntu.cosmic:def:201718122000
    V
    CVE-2017-18122 on Ubuntu 18.10 (cosmic) - medium.
    2018-02-02
    oval:com.ubuntu.bionic:def:2017181220000000
    V
    CVE-2017-18122 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-02-02
    oval:com.ubuntu.trusty:def:201718122000
    V
    CVE-2017-18122 on Ubuntu 14.04 LTS (trusty) - medium.
    2018-02-02
    BACK
    simplesamlphp simplesamlphp *
    debian debian linux 7.0
    debian debian linux 8.0
    debian debian linux 9.0
    simplesamlphp simplesamlphp 1.14.16