7.5high

CVE-2018-7644

SimpleSAMLphp Improper Verification of Cryptographic Signature

Also known as GHSA-923w-2xv2-7pr8

Published 8 y ago · modified 4 mo ago · JSON

CVSS
7.5
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
1.5%
percentile 73%
Public exploits
0
none known

Summary

The XmlSecLibs library as used in the saml2 library in SimpleSAMLphp before 1.15.3 incorrectly verifies signatures on SAML assertions, allowing a remote attacker to construct a crafted SAML assertion on behalf of an Identity Provider that would pass as cryptographically valid, thereby allowing them to impersonate a user from that Identity Provider, aka a key confusion issue.

Exploit prediction (EPSS)

1.45% probability of exploitation in the next 30 days, higher than 73% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.07.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD2.05.0AV:N/AC:L/Au:N/C:N/I:P/A:N
GitHub3.07.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected packages

EcosystemPackageAffectedFixed in
packagistsimplesamlphp/saml2
<1.10.5
>=2.0, <2.3.7
>=3.0, <3.1.3
1.10.5
2.3.7
3.1.3

Classification

Weakness
  • CWE-347 Improper Verification of Cryptographic Signature

References

  • simplesamlphp.org /security/201802-01 · x_refsource_CONFIRM, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2018-7644 · advisory
  • github.com /FriendsOfPHP/security-advisories/blob/master/simplesamlphp/saml2/CVE-2018-7644.yaml · web
  • github.com /simplesamlphp/simplesamlphp · package

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.