# CVE-2023-24055: Information disclosure in n/a

> An attacker with local write access to the configuration file can extract cleartext passwords by adding an export trigger.

- **Severity:** Medium 5.5 (`CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 22 Jan 2023
- **Updated:** 2 Aug 2024
- **Also known as:** GHSA-xf2q-qxhf-rqh5

## What is CVE-2023-24055?

CVE-2023-24055 is a medium-severity vulnerability in n/a, published on 22 Jan 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

### Official description

KeePass through 2.53 (in a default installation) allows an attacker, who has write access to the XML configuration file, to obtain the cleartext passwords by adding an export trigger. NOTE: the vendor's position is that the password database is not intended to be secure against an attacker who has that level of access to the local PC.

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

## Which versions are affected by CVE-2023-24055?

It affects 1 product.


Products: Keepass Keepass.

## How do I fix CVE-2023-24055?

No fix published yet.

## Is CVE-2023-24055 being exploited?

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

Public exploit code:

- CVE-2023-24055 PoC (KeePass 2.5x) (github_poc): https://github.com/alt3kx/CVE-2023-24055_PoC
- POC and Scanner for CVE-2023-24055 (github_poc): https://github.com/deetl/CVE-2023-24055
- Contains a simple yara rule to hunt for possible compromised KeePass config files (github_poc): https://github.com/Cyb3rtus/keepass_CVE-2023-24055_yara_rule
- https://github.com/julesbozouklian/PoC_CVE-2023-24055 (github_poc): https://github.com/julesbozouklian/PoC_CVE-2023-24055
- KeePass CVE-2023-24055复现 (github_poc): https://github.com/zwlsix/KeePass-CVE-2023-24055
- KeePass 2.53.1 with removed ECAS Trigger System Remediating CVE-2023-24055 (github_poc): https://github.com/digital-dev/KeePass-TriggerLess

## Other vulnerabilities in n/a

- [CVE-2019-20184](https://insights.sbomify.com/CVE-2019-20184/): Other in n/a (high 7.8)
- [CVE-2023-32784](https://insights.sbomify.com/CVE-2023-32784/): Information disclosure in n/a (high 7.5)
- [CVE-2017-1000066](https://insights.sbomify.com/CVE-2017-1000066/): Information disclosure in n/a (high 7.5)
- [CVE-2016-5119](https://insights.sbomify.com/CVE-2016-5119/): Code injection in n/a (high 7.5)
- [CVE-2010-5200](https://insights.sbomify.com/CVE-2010-5200/): Path traversal in n/a (medium 6.9)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2023-24055 and fix it if it is affected.

What it is: CVE-2023-24055 is a medium-severity vulnerability in n/a, published on 22 Jan 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2023-24055 in the wild and no public exploit code.

Affected product: n/a. 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-2023-24055/ (Markdown: https://insights.sbomify.com/CVE-2023-24055/index.md)
```

## Sources

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

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