CVE-2016-9814: Simplesamlphp/saml2 SimpleSAMLphp SAML2 Spoof SAML Responses Vulnerability
CRITICALCVE-2016-9814 is a CRITICAL (CVSS 9.1) simplesamlphp saml2 spoof saml responses vulnerability (General Security Weakness) affecting Simplesamlphp/saml2 libraries in the Packagist ecosystem. The issue involves simplesamlphp saml2 spoof saml responses. Remediation is available by upgrading affected packages to version 1.10.3, 1.8.1, 1.9.1, 2.3.3.
CVE-2016-9814 at a Glance
Security Impact
CVSS: 9.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H).
How to Fix CVE-2016-9814
To remediate this vulnerability, upgrade all affected Simplesamlphp/saml2 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade simplesamlphp/saml2 to 1.10.3
Upgrade simplesamlphp/saml2 to 1.8.1
Upgrade simplesamlphp/saml2 to 1.9.1
Upgrade simplesamlphp/saml2 to 2.3.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for simplesamlphp/saml2
How to Check if You Are Affected
To determine whether your application is affected by CVE-2016-9814, inspect your project dependencies for Simplesamlphp/saml2:
inspect dependencies for simplesamlphp/saml2
Analyze the terminal output to locate any version of Simplesamlphp/saml2 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.10.3), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Simplesamlphp/saml2, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2016-9814 Affected Simplesamlphp/saml2 Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
simplesamlphp/saml2
|
Packagist |
≥ 1.10
< 1.10.3
|
1.10.3
|
|
simplesamlphp/saml2
|
Packagist |
< 1.8.1
|
1.8.1
|
|
simplesamlphp/saml2
|
Packagist |
≥ 1.9.0
< 1.9.1
|
1.9.1
|
|
simplesamlphp/saml2
|
Packagist |
≥ 2.0
< 2.3.3
|
2.3.3
|
References
Frequently Asked Questions
What is CVE-2016-9814?
Which Simplesamlphp/saml2 versions are affected?
What version fixes CVE-2016-9814?
Is simplesamlphp/saml2 affected?
What is the CVSS score of CVE-2016-9814?
What CWE is associated with CVE-2016-9814?
How can I check Packagist dependencies for CVE-2016-9814?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-r8v4-7vwj-983x",
"modified" : "2024-04-25T21:00:15Z",
"published" : "2022-05-14T03:40:37Z",
"aliases" : [ "CVE-2016-9814" ],
"summary" : "SimpleSAMLphp SAML2 spoof SAML responses",
"details" : "The validateSignature method in the SAML2\\Utils class in SimpleSAMLphp before 1.14.10 and simplesamlphp/saml2 library before 1.9.1, 1.10.x before 1.10.3, and 2.x before 2.3.3 allows remote attackers to spoof SAML responses or possibly cause a denial of service (memory consumption) by leveraging improper conversion of return values to boolean.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "simplesamlphp/saml2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.10"
}, {
"fixed" : "1.10.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "simplesamlphp/saml2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.8.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "simplesamlphp/saml2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.9.0"
}, {
"fixed" : "1.9.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "simplesamlphp/saml2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0"
}, {
"fixed" : "2.3.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-9814"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/saml2/CVE-2016-9814.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/simplesamlphp/simplesamlphp"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2018/03/msg00001.html"
}, {
"type" : "WEB",
"url" : "https://simplesamlphp.org/security/201612-01"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/94730"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-25T21:00:15Z",
"nvd_published_at" : "2017-02-17T02:59:00Z"
}
}