Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2023-1545: SQL Injection in Teampass <3.0.0.23

Published Mar 21, 2023 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.5High · v3.1
EPSS8.4%95th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Teampass
IdentifiersCVE-2023-1545CWE-89 · Improper Neutralization of Special…

A SQL Injection vulnerability exists in the nilsteampassnet/teampass project prior to version 3.0.0.23. The vulnerability allows an attacker to inject arbitrary SQL commands via unsanitized input, potentially compromising the confidentiality, integrity, and availability of the application's database.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows an attacker to execute arbitrary SQL queries against the application's database, which can lead to data exfiltration, modification, or deletion, and potentially full compromise of the application and its data.

Mitigation

If you can’t patch tonight, do this now.

If immediate upgrade is not possible, restrict access to the application, employ web application firewalls with SQLi detection, and ensure all user input is properly sanitized and validated.

Remediation

Patch, then assume compromise.

Upgrade Teampass to version 3.0.0.23 or later, where the vulnerability has been addressed.

Public exploits

Exploits

4 exploits validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.

View more in app →
CVE-2023-1545-ExploitThis repository contains a single Bash script, 'exploit.sh', which targets a SQL injection vulnerability in the '/api/index.php/authorize' endpoint of a Teampass web application. The script takes a base URL as an argument, checks if the API feature is enabled, and then performs a SQL injection via the 'login' field in a JSON POST request. Using this injection, it enumerates all users in the database and extracts their usernames and password hashes. The script is operational and automates the exploitation process, providing the attacker with a list of all user credentials from the vulnerable system. The exploit requires the target to have the API feature enabled and accessible.HarshRajSinghania · Disclosed Feb 22, 2025 · bash · networkOperationalCVE-2023-1545-POC-pythonThis repository contains a Python proof-of-concept exploit for CVE-2023-1545, targeting Teampass. The exploit leverages a SQL injection vulnerability in the /api/index.php/authorize endpoint. The main script, poc.py, takes a base URL as input and checks if the Teampass API is enabled. It then uses a crafted SQL injection payload in the 'login' field of a POST request to extract the number of users and enumerate all usernames and password hashes from the teampass_users table. The exploit decodes a JWT token returned by the API to extract the results of the injected SQL queries. The repository is structured simply, with a README and a single Python exploit script. No hardcoded IPs or domains are present; the target endpoint is specified by the user at runtime.sternstundes · Disclosed Mar 1, 2025 · python · networkOperationalCVE-2023-1545-POCThis repository contains a proof-of-concept Bash script (cve-2023-1545.sh) that exploits CVE-2023-1545, a SQL injection vulnerability in Teampass. The script targets the /api/index.php/authorize endpoint of a Teampass instance, sending crafted JSON payloads to inject SQL via the 'login' field. It first checks if the API feature is enabled, then uses the injection to enumerate all users and extract their usernames and password hashes from the database. The script requires the user to provide the base URL of the target Teampass instance. The repository also includes a README.md file describing the exploit's origin and purpose. The exploit is a proof-of-concept and demonstrates the ability to extract sensitive user information from vulnerable Teampass installations.zer0-dave · Disclosed Feb 24, 2025 · bash · networkPoCCVE-2023-1545This repository contains a Python proof-of-concept exploit for CVE-2023-1545, a SQL injection vulnerability in Teampass versions prior to 3.0.0.23. The main file, CVE-2023-1545.py, is a standalone script that takes a target URL as an argument and attempts to exploit the SQL injection vulnerability in the /api/index.php/authorize endpoint. The script first checks if the endpoint is accessible, then uses a crafted SQL injection payload in the 'login' field of a POST request to enumerate users and extract their password hashes from the teampass_users table. The exploit automates the process of extracting all usernames and their associated password hashes, displaying them in a formatted output. The repository also includes a README.md with usage instructions and references. No hardcoded IPs or domains are present; the script requires the user to supply the target URL. The exploit is a proof-of-concept and does not provide a post-exploitation payload beyond data extraction.gunzf0x · Disclosed Apr 25, 2025 · python · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
TeampassTeampassapplication
FAQ

Frequently asked questions

Is CVE-2023-1545 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2023-1545 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2023-1545?
Yes. Mallory tracks 4 public exploits or proofs of concept for CVE-2023-1545, the earliest disclosed Feb 22, 2025.
Is there a patch for CVE-2023-1545?
Upgrade Teampass to version 3.0.0.23 or later, where the vulnerability has been addressed.
What products are affected by CVE-2023-1545?
Teampass.
How severe is CVE-2023-1545?
CVE-2023-1545 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 8.4% (95th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

No public activity tracked yet. Mallory keeps watching.

View more in app →

No public activity observed for this vulnerability.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.