Cloudanix VulnDB

CVE-2022-0725

High · 7.5

CVSS

7.5

EPSS

2.8%

Published

Mar 10, 2022

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A password manager program writes passwords into system logs where anyone who can read those logs can see them.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Data Exposure
Component
Application
Class
Information Disclosure
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The application writes user-supplied passwords in plaintext directly into system log files accessible to local users and processes.

Why it matters to the business

Organizations face exposure of credentials stored or entered in the affected password manager, enabling unauthorized access to accounts and increasing breach risk, especially given the issue's persistence more than four years after disclosure and slight rise in exploit likelihood.

How an attack unfolds

An attacker with local access to a system running the vulnerable application reads the system logs to extract any passwords that were captured during normal use; no remote exploitation or authentication is required.

How to fix it

Upgrade affected KeePass installations to a version that stops plaintext password logging; where no fixed package versions are published, disable or redirect verbose logging and restrict log file permissions until a patch is available.

How to confirm the fix worked

Review application and system logs after upgrade or configuration change to confirm no passwords appear; test by entering sample credentials and inspecting log output for absence of sensitive data.

Typical attack path

  1. Gain local filesystem or log access on a host running the affected software
  2. Locate system or application log files
  3. Search logs for plaintext password strings
  4. Reuse extracted credentials against target accounts or services

How to detect it

Search system and application log files for entries containing password data generated by the vulnerable software; review historical logs for any plaintext credential artifacts since publication.

  • password=.* in keepass or system logs
  • plaintext credential strings in /var/log/ or application log directories

What your security team should do

  • Treat as high-priority information disclosure and restrict log access immediately
  • Audit all deployments of the affected password manager across the environment
  • Implement centralized logging with sensitive-data redaction rules
  • Monitor EPSS trend and re-evaluate if exploit code appears

The record

A flaw was found in keepass. The vulnerability occurs due to logging the plain text passwords in system log and leads to an Information Exposure vulnerability. This flaw allows an attacker to interact and read sensitive passwords and logs.

Affected packages

Ecosystem Package Introduced Fixed
Ubuntu:16.04:LTS keepass2 0 No fix
Ubuntu:18.04:LTS keepass2 0 No fix
Ubuntu:20.04:LTS keepass2 0 No fix
Ubuntu:22.04:LTS keepass2 0 No fix
Ubuntu:24.04:LTS keepass2 0 No fix
Ubuntu:24.10 keepass2 0 No fix
Ubuntu:25.04 keepass2 0 No fix
Ubuntu:25.10 keepass2 0 No fix
Ubuntu:Pro:16.04:LTS keepass2 0 No fix
Ubuntu:Pro:18.04:LTS keepass2 0 No fix
Ubuntu:Pro:20.04:LTS keepass2 0 No fix

Related vulnerabilities