# CVE-2022-45154: supportconfig does not remove passwords in /etc/iscsi/iscsid.conf and /etc/target/lio_setup.sh

> Attackers with access to support logs can view cleartext iSCSI and target credentials stored by supportutils in SUSE Linux Enterprise Server.

- **Severity:** Medium 4.4 (`CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L`)
- **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:** Yes
- **Published:** 15 Feb 2023
- **Updated:** 18 Mar 2025
- **Also known as:** GHSA-qrgp-9jwv-233w, SUSE-SU-2023:2465-1, SUSE-SU-2023:3803-1, SUSE-SU-2023:3822-1, SUSE-SU-2023:3822-2, openSUSE-SU-2024:12970-1

## What is CVE-2022-45154?

CVE-2022-45154 is a medium-severity vulnerability in SUSE Linux Enterprise Server 12, 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

A Cleartext Storage of Sensitive Information vulnerability in suppportutils of SUSE Linux Enterprise Server 12, SUSE Linux Enterprise Server 15, SUSE Linux Enterprise Server 15 SP3 allows attackers that get access to the support logs to gain knowledge of the stored credentials This issue affects: SUSE Linux Enterprise Server 12 supportutils version 3.0.10-95.51.1CWE-312: Cleartext Storage of Sensitive Information and prior versions. SUSE Linux Enterprise Server 15 supportutils version 3.1.21-150000.5.44.1 and prior versions. SUSE Linux Enterprise Server 15 SP3 supportutils version 3.1.21-150300.7.35.15.1 and prior versions.

Weakness: CWE-312 (Cleartext Storage of Sensitive Information)

## Which versions are affected by CVE-2022-45154?

It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `supportutils` | SUSE:Enterprise Storage 7 | All versions | 3.1.26-150000.5.50.1 |
| `supportutils` | SUSE:Enterprise Storage 7.1 | All versions | 3.1.26-150300.7.35.21.1 |
| `supportutils` | SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 3.1.26-150000.5.50.1 |
| `supportutils` | SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 3.1.26-150000.5.50.1 |
| `supportutils` | SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | All versions | 3.1.26-150300.7.35.21.1 |
| `supportutils` | SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 3.1.26-150300.7.35.21.1 |
| `supportutils` | SUSE:Linux Enterprise Micro 5.1 | All versions | 3.1.26-150300.7.35.21.1 |
| `supportutils` | SUSE:Linux Enterprise Micro 5.2 | All versions | 3.1.26-150300.7.35.21.1 |
| `supportutils` | SUSE:Linux Enterprise Micro 5.3 | All versions | 3.1.26-150300.7.35.21.1 |
| `supportutils` | SUSE:Linux Enterprise Micro 5.4 | All versions | 3.1.26-150300.7.35.21.1 |
| `supportutils` | SUSE:Linux Enterprise Micro 5.5 | All versions | 3.1.26-150300.7.35.21.1 |
| `supportutils` | SUSE:Linux Enterprise Module for Basesystem 15 SP4 | All versions | 3.1.26-150300.7.35.21.1 |
| `supportutils` | SUSE:Linux Enterprise Module for Basesystem 15 SP5 | All versions | 3.1.26-150300.7.35.21.1 |
| `supportutils` | SUSE:Linux Enterprise Server 12 SP5 | All versions | 3.0.11-95.54.1 |
| `supportutils` | SUSE:Linux Enterprise Server 15 SP1-LTSS | All versions | 3.1.26-150000.5.50.1 |
| `supportutils` | SUSE:Linux Enterprise Server 15 SP2-LTSS | All versions | 3.1.26-150000.5.50.1 |
| `supportutils` | SUSE:Linux Enterprise Server 15 SP3-LTSS | All versions | 3.1.26-150300.7.35.21.1 |
| `supportutils` | SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | All versions | 3.0.11-95.54.1 |
| `supportutils` | SUSE:Linux Enterprise Server for SAP Applications 15 SP1 | All versions | 3.1.26-150000.5.50.1 |
| `supportutils` | SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | All versions | 3.1.26-150000.5.50.1 |
| `supportutils` | SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | All versions | 3.1.26-150300.7.35.21.1 |
| `supportutils` | SUSE:Manager Proxy 4.2 | All versions | 3.1.26-150300.7.35.21.1 |
| `supportutils` | SUSE:Manager Server 4.2 | All versions | 3.1.26-150300.7.35.21.1 |
| `supportutils` | openSUSE:Leap 15.4 | All versions | 3.1.26-150300.7.35.21.1 |
| `supportutils` | openSUSE:Leap 15.5 | All versions | 3.1.26-150300.7.35.21.1 |
| `supportutils` | openSUSE:Tumbleweed | All versions | 3.1.25-1.1 |

Products: Opensuse Supportutils.

## How do I fix CVE-2022-45154?

Apply the vendor's patch.

## Is CVE-2022-45154 being exploited?

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

## Other vulnerabilities in SUSE Linux Enterprise Server 12

- [CVE-2018-19636](https://insights.sbomify.com/CVE-2018-19636/): Local root exploit via inclusion of attacker controlled shell script (high 7.3)
- [CVE-2018-19639](https://insights.sbomify.com/CVE-2018-19639/): Code execution if run with command line switch -v (medium 6.7)
- [CVE-2018-19640](https://insights.sbomify.com/CVE-2018-19640/): Code execution if run with command line switch -v (medium 4.4)
- [CVE-2018-19637](https://insights.sbomify.com/CVE-2018-19637/): Static temporary filename allows overwriting of files (low 2.8)
- [CVE-2018-19638](https://insights.sbomify.com/CVE-2018-19638/): User can overwrite arbitrary log files in support tar (low 2.2)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2022-45154 and fix it if it is affected.

What it is: CVE-2022-45154 is a medium-severity vulnerability in SUSE Linux Enterprise Server 12, published on 15 Feb 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2022-45154 in the wild and no public exploit code.

Affected product: SUSE Linux Enterprise Server 12. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2022-45154/ (Markdown: https://insights.sbomify.com/CVE-2022-45154/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2022-45154
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2022-45154
- OSV: https://osv.dev/vulnerability/CVE-2022-45154

---
From sbomify Insights: https://insights.sbomify.com/CVE-2022-45154/
Summaries are generated and may contain mistakes; the official description above is the record.
