CVE-2022-2806
Medium · 5.5CVSS
5.5
EPSS
0.2%
Published
Sep 1, 2022
CISA due date
—
Cloudanix analysis
A diagnostic tool on certain systems was accidentally saving administrator passwords in its output files, allowing anyone who sees those files to gain full administrative control.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- Information Disclosure
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The ovirt-log-collector and sosreport tools capture the RHV administrator password in plaintext without filtering or redaction when generating diagnostic reports or logs.
Why it matters to the business
Organizations using affected versions risk exposing privileged credentials in support bundles or log files, which can lead to unauthorized administrative access and broader system compromise if those files are shared or stored insecurely.
How an attack unfolds
An attacker with local access or the ability to retrieve generated sosreport/ovirt-log-collector archives inspects the unfiltered output to extract the RHV admin password directly, enabling further lateral movement or privilege escalation without needing additional credentials.
How to fix it
Upgrade sos to version 4.2-20.el8_6 or newer and ovirt-log-collector to 4.4.7-2.el8ev or newer on all affected systems; regenerate any previously created reports after patching to ensure credentials are no longer present.
How to confirm the fix worked
Verify package versions match or exceed the fixed releases using rpm -q; inspect newly generated reports to confirm the administrator password is absent or redacted; re-run sosreport/ovirt-log-collector on test systems and search output for credential patterns.
Typical attack path
- Obtain access to a system running the vulnerable sos or ovirt-log-collector package
- Trigger or wait for a diagnostic report generation via sosreport or ovirt-log-collector
- Locate the resulting archive or log files on disk or in transit
- Search the contents for the unfiltered administrator password string
- Use the extracted password to authenticate to RHV management interfaces
How to detect it
Search system logs, file system paths containing sosreport or ovirt-log-collector archives, and any shared support bundles for plaintext credential strings; review command history for sosreport invocations and examine resulting tarballs or text files for unfiltered password entries.
- /var/tmp/sosreport*
- ovirt-log-collector*.tar
- RHV admin password
- password=.* in sosreport output
What your security team should do
- Immediately inventory all hosts running sos or ovirt-log-collector and schedule upgrades to the fixed versions
- Audit existing diagnostic archives for exposed passwords and rotate any discovered credentials
- Implement file permissions and access controls on report storage locations to limit exposure
- Add automated scanning of generated reports for sensitive data before sharing with vendors
The record
It was found that the ovirt-log-collector/sosreport collects the RHV admin password unfiltered. Fixed in: sos-4.2-20.el8_6, ovirt-log-collector-4.4.7-2.el8ev
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| PyPI | sosreport | 0 | 4.4 |
| Mageia:8 | sos | 0 | 4.4-1.mga8 |
| Red Hat:rhev_manager:4.4:el8 | ovirt-engine | 0 | 0:4.5.2.4-0.1.el8ev |
| Red Hat:rhev_manager:4.4:el8 | ovirt-engine-backend | 0 | 0:4.5.2.4-0.1.el8ev |
| Red Hat:rhev_manager:4.4:el8 | ovirt-engine-dbscripts | 0 | 0:4.5.2.4-0.1.el8ev |
| Red Hat:rhev_manager:4.4:el8 | ovirt-engine-health-check-bundler | 0 | 0:4.5.2.4-0.1.el8ev |
| Red Hat:rhev_manager:4.4:el8 | ovirt-engine-restapi | 0 | 0:4.5.2.4-0.1.el8ev |
| Red Hat:rhev_manager:4.4:el8 | ovirt-engine-setup | 0 | 0:4.5.2.4-0.1.el8ev |
| Red Hat:rhev_manager:4.4:el8 | ovirt-engine-setup-base | 0 | 0:4.5.2.4-0.1.el8ev |
| Red Hat:rhev_manager:4.4:el8 | ovirt-engine-setup-plugin-cinderlib | 0 | 0:4.5.2.4-0.1.el8ev |
| Red Hat:rhev_manager:4.4:el8 | ovirt-engine-setup-plugin-imageio | 0 | 0:4.5.2.4-0.1.el8ev |
| Red Hat:rhev_manager:4.4:el8 | ovirt-engine-setup-plugin-ovirt-engine | 0 | 0:4.5.2.4-0.1.el8ev |
| Red Hat:rhev_manager:4.4:el8 | ovirt-engine-setup-plugin-ovirt-engine-common | 0 | 0:4.5.2.4-0.1.el8ev |
| Red Hat:rhev_manager:4.4:el8 | ovirt-engine-setup-plugin-vmconsole-proxy-helper | 0 | 0:4.5.2.4-0.1.el8ev |
| Red Hat:rhev_manager:4.4:el8 | ovirt-engine-setup-plugin-websocket-proxy | 0 | 0:4.5.2.4-0.1.el8ev |
| Red Hat:rhev_manager:4.4:el8 | ovirt-engine-tools | 0 | 0:4.5.2.4-0.1.el8ev |
| Red Hat:rhev_manager:4.4:el8 | ovirt-engine-tools-backup | 0 | 0:4.5.2.4-0.1.el8ev |
| Red Hat:rhev_manager:4.4:el8 | ovirt-engine-ui-extensions | 0 | 0:1.3.5-1.el8ev |
| Red Hat:rhev_manager:4.4:el8 | ovirt-engine-vmconsole-proxy-helper | 0 | 0:4.5.2.4-0.1.el8ev |
| Red Hat:rhev_manager:4.4:el8 | ovirt-engine-webadmin-portal | 0 | 0:4.5.2.4-0.1.el8ev |
| Red Hat:rhev_manager:4.4:el8 | ovirt-engine-websocket-proxy | 0 | 0:4.5.2.4-0.1.el8ev |
| Red Hat:rhev_manager:4.4:el8 | ovirt-log-collector | 0 | 0:4.4.7-2.el8ev |
| Red Hat:rhev_manager:4.4:el8 | ovirt-web-ui | 0 | 0:1.9.1-1.el8ev |
| Red Hat:rhev_manager:4.4:el8 | python3-ovirt-engine-lib | 0 | 0:4.5.2.4-0.1.el8ev |
| Red Hat:rhev_manager:4.4:el8 | rhvm | 0 | 0:4.5.2.4-0.1.el8ev |
| Ubuntu:18.04:LTS | sosreport | 0 | 4.3-1ubuntu0.18.04.2 |
| Ubuntu:20.04:LTS | sosreport | 0 | 4.3-1ubuntu0.20.04.2 |
| Ubuntu:22.04:LTS | sosreport | 0 | 4.3-1ubuntu2.1 |
| Ubuntu:Pro:14.04:LTS | sosreport | 0 | 3.5-1~ubuntu14.04.3+esm1 |
| Ubuntu:Pro:16.04:LTS | sosreport | 0 | 3.9.1-1ubuntu0.16.04.2+esm1 |
Related vulnerabilities
- CVE-2021-41184 jQuery-UI is the official jQuery user interface library. Also affects ovirt-engine
- CVE-2021-41182 jQuery-UI is the official jQuery user interface library. Also affects ovirt-engine
- CVE-2021-41183 jQuery-UI is the official jQuery user interface library. Also affects ovirt-engine
- CVE-2021-33502 The normalize-url package before 4.5.1, 5.x before 5.3.1, and 6.x before 6.0.1 for… Also affects ovirt-engine
- CVE-2020-7598 minimist before 1.2.2 could be tricked into adding or modifying properties of… Also affects ovirt-engine