Authenticated arbitrary file deletion via export filename
Published Feb 27, 2023 · Updated Mar 10, 2025
External file-path control in Teampass before 3.0.0.22 allows remote authenticated users to delete arbitrary text files. The export_to_html_format_finalize action appends .txt to the supplied file value and unlinks that path without restricting it to the export directory. Any signed-in user can target the predictable teampass-seckey.txt encryption key, and deleting it causes an unrecoverable service failure.
Summary
What happened
External file-path control in Teampass before 3.0.0.22 allows remote authenticated users to delete arbitrary text files. The export_to_html_format_finalize action appends .txt to the supplied file value and unlinks that path without restricting it to the export directory. Any signed-in user can target the predictable teampass-seckey.txt encryption key, and deleting it causes an unrecoverable service failure.
The record
- CVE
- CVE-2023-1070
- Published
- Feb 27, 2023
- Updated
- Mar 10, 2025
- Vendor
- Teampass
- Product
- Teampass
- Classifications
- CWE-73, T1485
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 27, 2023CVE publishedPublication date reported by the CVE source.
- Mar 10, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=unspecified <3.0.0.22
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Snyk authenticated file-deletion proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo