CVE-2022-45153
Linux openSUSE vulnerability analysis and mitigation

Overview

An Incorrect Default Permissions vulnerability was discovered in saphanabootstrap-formula affecting SUSE Linux Enterprise Module for SAP Applications 15-SP1, SUSE Linux Enterprise Server for SAP 12-SP5, and openSUSE Leap 15.4. The vulnerability allows local attackers to escalate to root privileges by manipulating the sudo configuration that is created. This vulnerability affects versions prior to 0.13.1+git.1667812208.4db963e (SUSE NVD).

Technical details

The vulnerability exists in the hana/ha_cluster.sls file where problematic code handling sudoers configuration allows arbitrary users to write to /tmp/sudoers. The code uses file.copy operations without proper permissions validation, which enables local users to place arbitrary sudoers configurations that get copied into /etc/sudoers. The vulnerability received a CVSS v3.1 Base Score of 7.8 HIGH with vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (SUSE Bugzilla).

Impact

A successful exploitation of this vulnerability allows local attackers to escalate their privileges to root by manipulating the sudo configuration. This gives attackers complete control over the affected system with highest privileges (SUSE NVD).

Exploitability

The vulnerability can be exploited by creating a stripped down SLS file at /usr/share/salt-formulas/states/ha_cluster_exploit.sls and manipulating the sudoers configuration. A proof of concept exploit has been demonstrated that allows any user to gain root privileges through sudo command manipulation (SUSE Bugzilla).

Mitigation and workarounds

The issue has been fixed in version 0.13.1+git.1667812208.4db963e. The fix involves changing the code to no longer use a tmp file or touch /etc/sudoers directly. Instead, it creates a new file (/etc/sudoers.d/SAPHanaSR) with proper permissions and validates the configuration using visudo before implementation (SUSE Bugzilla).

Additional resources


SourceThis report was generated using AI

Related Linux openSUSE vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-47187CRITICAL9.3
  • Linux Debian logoLinux Debian
  • sshfs
NoYesAug 19, 2026
CVE-2026-62292HIGH8.7
  • Linux Debian logoLinux Debian
  • libheif
NoYesAug 18, 2026
CVE-2026-43961HIGH7.8
  • Vim logoVim
  • vim-default-editor
NoYesAug 19, 2026
CVE-2026-48711HIGH7
  • Linux Debian logoLinux Debian
  • sshfs
NoYesAug 19, 2026
CVE-2026-62377MEDIUM4.3
  • Linux Debian logoLinux Debian
  • libheif
NoYesAug 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management