SUSE Linux chkstat Incorrect Auth on GroupWritable Paths (pre2020)
CVE-2022-31252 Published on October 6, 2022
permissions: chkstat does not check for group-writable parent directories or target files in safeOpen()
A Incorrect Authorization vulnerability in chkstat of SUSE Linux Enterprise Server 12-SP5; openSUSE Leap 15.3, openSUSE Leap 15.4, openSUSE Leap Micro 5.2 did not consider group writable path components, allowing local attackers with access to a group what can write to a location included in the path to a privileged binary to influence path resolution. This issue affects: SUSE Linux Enterprise Server 12-SP5 permissions versions prior to 20170707. openSUSE Leap 15.3 permissions versions prior to 20200127. openSUSE Leap 15.4 permissions versions prior to 20201225. openSUSE Leap Micro 5.2 permissions versions prior to 20181225.
Vulnerability Analysis
CVE-2022-31252 is exploitable with local system access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality and integrity, and no impact on availability.
Weakness Type
What is an AuthZ Vulnerability?
The software performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. This allows attackers to bypass intended access restrictions.
CVE-2022-31252 has been classified to as an AuthZ vulnerability or weakness.
Products Associated with CVE-2022-31252
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2022-31252 are published in these products:
Affected Versions
SUSE Linux Enterprise Server 12-SP5:- Version permissions and below 20170707 is affected.
- Version permissions and below 20200127 is affected.
- Version permissions and below 20201225 is affected.
- Version permissions and below 20181225 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.