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/hacluster.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](https://bugzilla.suse.com/showbug.cgi?id=1205990)).

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).

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-2025-13470HIGH7.7
  • Linux DebianLinux Debian
  • dev-util/librnp
NoYesNov 21, 2025
CVE-2025-61729HIGH7.5
  • cAdvisorcAdvisor
  • istio-fips-1.28
NoYesDec 02, 2025
CVE-2025-61915MEDIUM6.7
  • OpenPrinting CUPSOpenPrinting CUPS
  • cups-ddk
NoYesNov 29, 2025
CVE-2025-61727MEDIUM6.5
  • cAdvisorcAdvisor
  • etcd-fips-3.4
NoYesDec 03, 2025
CVE-2025-58436MEDIUM5.5
  • OpenPrinting CUPSOpenPrinting CUPS
  • libcups2
NoYesNov 29, 2025

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