CVE-2018-1000165: Lightsaml/lightsaml LightSAML Incorrect Access Control Vulnerability Vulnerability
HIGHCVE-2018-1000165 is a HIGH (CVSS 7.5) lightsaml incorrect access control vulnerability vulnerability (CWE-732: Incorrect Permission Assignment for Critical Resource) affecting Lightsaml/lightsaml libraries in the Packagist ecosystem. The issue involves lightsaml incorrect access control vulnerability. Remediation is available by upgrading affected packages to version 1.3.5.
CVE-2018-1000165 at a Glance
Security Impact
CVSS: 7.5
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:N).
How to Fix CVE-2018-1000165
To remediate this vulnerability, upgrade all affected Lightsaml/lightsaml 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 lightsaml/lightsaml to 1.3.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for lightsaml/lightsaml
How to Check if You Are Affected
To determine whether your application is affected by CVE-2018-1000165, inspect your project dependencies for Lightsaml/lightsaml:
inspect dependencies for lightsaml/lightsaml
Analyze the terminal output to locate any version of Lightsaml/lightsaml in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.3.5), 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 CWE-732: Incorrect Permission Assignment for Critical Resource, where the product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors. In Lightsaml/lightsaml, 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-2018-1000165 Affected Lightsaml/lightsaml Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
lightsaml/lightsaml
|
Packagist |
< 1.3.5
|
1.3.5
|
References
Frequently Asked Questions
What is CVE-2018-1000165?
Which Lightsaml/lightsaml versions are affected?
What version fixes CVE-2018-1000165?
Is lightsaml/lightsaml affected?
What is the CVSS score of CVE-2018-1000165?
What CWE is associated with CVE-2018-1000165?
How can I check Packagist dependencies for CVE-2018-1000165?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vg4f-8v9q-5c3x",
"modified" : "2024-04-23T17:25:35Z",
"published" : "2022-05-13T01:48:33Z",
"aliases" : [ "CVE-2018-1000165" ],
"summary" : "LightSAML Incorrect Access Control vulnerability",
"details" : "LightSAML version prior to 1.3.5 contains a Incorrect Access Control vulnerability in signature validation in readers in `src/LightSaml/Model/XmlDSig/` that can result in impersonation of any user from Identity Provider. This vulnerability appears to have been fixed in 1.3.5 and later.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "lightsaml/lightsaml"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.3.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-1000165"
}, {
"type" : "WEB",
"url" : "https://github.com/lightSAML/lightSAML/commit/47cef07bb09779df15620799f3763d1b8d32307a"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/lightSAML/lightSAML"
}, {
"type" : "WEB",
"url" : "https://github.com/lightSAML/lightSAML/releases/tag/1.3.5"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-732" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-23T17:25:35Z",
"nvd_published_at" : "2018-04-18T19:29:00Z"
}
}