CVE-2022-45153 saphanabootstrap-formula: Escalation to root for arbitrary users in hana/ha_cluster.sls

High 7.0 Published Updated

Local attackers can escalate to root privileges by manipulating the sudo configuration created by the saphanabootstrap-formula due to incorrect default permissions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-45153?

CVE-2022-45153 is a high-severity vulnerability in Opensuse Leap, published on 15 Feb 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An Incorrect Default Permissions vulnerability in saphanabootstrap-formula of SUSE Linux Enterprise Module for SAP Applications 15-SP1, SUSE Linux Enterprise Server for SAP 12-SP5; openSUSE Leap 15.4 allows local attackers to escalate to root by manipulating the sudo configuration that is created. This issue affects: SUSE Linux Enterprise Module for SAP Applications 15-SP1 saphanabootstrap-formula versions prior to 0.13.1+git.1667812208.4db963e. SUSE Linux Enterprise Server for SAP 12-SP5 saphanabootstrap-formula versions prior to 0.13.1+git.1667812208.4db963e. openSUSE Leap 15.4 saphanabootstrap-formula versions prior to 0.13.1+git.1667812208.4db963e.

Weakness: CWE-276

Which versions are affected by CVE-2022-45153?

It affects 3 products.

Linux distribution packages (10)
saphanabootstrap-formula SUSE:Linux Enterprise Module for SAP Applications 15 SP1All versions0.13.1+git.1667812208.4db963e-150000.1.19.1
saphanabootstrap-formula SUSE:Linux Enterprise Module for SAP Applications 15 SP2All versions0.13.1+git.1667812208.4db963e-150200.3.15.1
saphanabootstrap-formula SUSE:Linux Enterprise Module for SAP Applications 15 SP3All versions0.13.1+git.1667812208.4db963e-150200.3.15.1
saphanabootstrap-formula SUSE:Linux Enterprise Module for SAP Applications 15 SP4All versions0.13.1+git.1667812208.4db963e-150200.3.15.1
saphanabootstrap-formula SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions0.13.1+git.1667812208.4db963e-4.18.1
saphanabootstrap-formula SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions0.13.1+git.1667812208.4db963e-4.18.1
saphanabootstrap-formula SUSE:Manager Server Module 4.2All versions0.13.1+git.1667812208.4db963e-150200.3.15.1
saphanabootstrap-formula SUSE:Manager Server Module 4.3All versions0.13.1+git.1667812208.4db963e-150200.3.15.1
saphanabootstrap-formula openSUSE:Leap 15.3All versions0.13.1+git.1667812208.4db963e-150200.3.15.1
saphanabootstrap-formula openSUSE:Leap 15.4All versions0.13.1+git.1667812208.4db963e-150200.3.15.1

Products include Opensuse Leap, Suse Linux Enterprise Module for Sap Applications, Suse Linux Enterprise Server.

How do I fix CVE-2022-45153?

Apply the vendor's patch.

Is CVE-2022-45153 being exploited?

There is no known exploitation of CVE-2022-45153 in the wild and no public exploit code.

All Opensuse Leap vulnerabilities

Sources

Also known as GHSA-4g85-9mh4-6cw4, SUSE-SU-2023:0009-1, SUSE-SU-2023:0010-1, SUSE-SU-2023:0011-1.

Is CVE-2022-45153 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free