{"answers":{"affected":"2 open source packages ship an affected version, including nilsteampassnet/teampass. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-1545 exists.","fix":"Upgrade nilsteampassnet/teampass to 3.0.0.22 or later.","what":"CVE-2023-1545 is a high-severity SQL injection vulnerability in Teampass Teampass, published on 21 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-1545 and fix it if it is affected.\n\nWhat it is: CVE-2023-1545 is a high-severity SQL injection vulnerability in Teampass Teampass, published on 21 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-1545 exists.\n\nAffected packages and fixed versions:\n- nilsteampassnet/teampass (Packagist): affected all versions; fixed in 3.0.0.22\n- nilsteampassnet/teampass (Packagist): affected all versions; fixed in 3.0.0.22\n\nTask:\n1. 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.\n2. 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.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-1545/ (Markdown: https://insights.sbomify.com/CVE-2023-1545/index.md)","id":"CVE-2023-1545","markdown":"https://insights.sbomify.com/CVE-2023-1545/index.md","name":"CVE-2023-1545","record":{"aliases":["GHSA-ppxm-q2h4-v7mm"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"TeamPass password manager","requires_auth":"none","summary":"An attacker can exploit SQL injection in TeamPass to read or modify sensitive password data stored in the database.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntrdev","cpe":[{"product":"teampass","vendor":"teampass"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"SQL Injection in GitHub repository nilsteampassnet/teampass prior to 3.0.0.23.","ecosystems":["Packagist"],"exploits":{"exploitdb":1,"first_seen":"2025-02-22","github_poc":4,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-02-24T18:01:07Z","kind":"github_poc","ref":"https://github.com/zer0-dave/CVE-2023-1545-POC","stars":1,"title":"Copy of the POC for CVE-2023-1545"},{"date":"2025-02-22T20:15:54Z","kind":"github_poc","ref":"https://github.com/HarshRajSinghania/CVE-2023-1545-Exploit","stars":0,"title":"Example usage: exploit.sh http://site.com"},{"date":"2025-03-01T10:15:38Z","kind":"github_poc","ref":"https://github.com/sternstundes/CVE-2023-1545-POC-python","stars":0,"title":"CVE-2023-1545-POC with python "},{"date":"2025-03-22","kind":"exploitdb","ref":"52094","stars":null,"title":"TeamPass 3.0.0.21 - SQL Injection"},{"date":"2025-04-25T18:43:06Z","kind":"github_poc","ref":"https://github.com/gunzf0x/CVE-2023-1545","stars":0,"title":"Python Proof of Concept for CVE-2023-1545 (SQL Injection for Teampass versions prior to 3.0.0.23)."}],"tier":"weaponised"},"has_fix":true,"headline":"SQL Injection in nilsteampassnet/teampass","id":"CVE-2023-1545","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":"teampass:teampass","products":["teampass:teampass"],"type":"sql_injection","year":"2023"},"n_packages":2,"n_references":2,"next":{"headline":"MyCryptoCheckout \u003c 2.124 - Reflected XSS","id":"CVE-2023-1546"},"packages":[{"ecosystem":"Packagist","fixed":["3.0.0.22"],"introduced":["0"],"last_affected":[],"package":"nilsteampassnet/teampass","purl":null,"source":"GHSA-ppxm-q2h4-v7mm"},{"ecosystem":"Packagist","fixed":["3.0.0.22"],"introduced":["0"],"last_affected":[],"package":"nilsteampassnet/teampass","purl":"pkg:composer/nilsteampassnet/teampass","source":"GHSA-ppxm-q2h4-v7mm"}],"prev":{"headline":"Qemu: pvrdma: out-of-bounds read in pvrdma_ring_next_elem_read()","id":"CVE-2023-1544"},"products":["nilsteampassnet/teampass"],"published":"2023-03-21","related":[{"cvss_score":9.8,"headline":"TeamPass Storing Passwords in a Recoverable Format vulnerability","id":"CVE-2019-1000001","kev_date_added":null,"published":"2019-02-04"},{"cvss_score":9.8,"headline":"TeamPass SQL injection in users.queries.php","id":"CVE-2017-9436","kev_date_added":null,"published":"2017-06-05"},{"cvss_score":9.8,"headline":"TeamPass vulnerable to SQL Injection","id":"CVE-2015-7564","kev_date_added":null,"published":"2017-04-12"},{"cvss_score":9.3,"headline":"Multiple vulnerabilities in Teampass","id":"CVE-2026-3106","kev_date_added":null,"published":"2026-03-31"},{"cvss_score":9.3,"headline":"Multiple vulnerabilities in Teampass","id":"CVE-2026-3107","kev_date_added":null,"published":"2026-03-31"},{"cvss_score":9.1,"headline":"Code Injection in nilsteampassnet/teampass","id":"CVE-2023-3551","kev_date_added":null,"published":"2023-07-08"},{"cvss_score":9,"headline":"Cross-site Scripting (XSS) - Stored in nilsteampassnet/teampass","id":"CVE-2023-3086","kev_date_added":null,"published":"2023-06-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-26","vendors":["nilsteampassnet"]},"summary":"An attacker can exploit SQL injection in TeamPass to read or modify sensitive password data stored in the database.","url":"https://insights.sbomify.com/CVE-2023-1545/"}