{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-45197 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-45197 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-45197 is a critical vulnerability in Adminer, published on 21 Jun 2024. 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-45197 and fix it if it is affected.\n\nWhat it is: CVE-2023-45197 is a critical vulnerability in Adminer, published on 21 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-45197 in the wild and no public exploit code.\n\nAffected product: Adminer. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-45197/ (Markdown: https://insights.sbomify.com/CVE-2023-45197/index.md)","id":"CVE-2023-45197","markdown":"https://insights.sbomify.com/CVE-2023-45197/index.md","name":"CVE-2023-45197","record":{"aliases":["GHSA-473j-qqgp-gcmm"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Database management tool","requires_auth":"none","summary":"Attackers can upload malicious files via the file upload plugin to execute code, requiring the plugin to be enabled.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cisa-cg","cpe":[{"product":"adminerevo","vendor":"adminerevo"}],"cvss":{"score":9.2,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L/AU:Y","version":"4.0"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"The file upload plugin in Adminer and AdminerEvo allows an attacker to upload a file with a table name of “..” to the root of the Adminer directory. The attacker can effectively guess the name of the uploaded file and execute it. Adminer is no longer supported, but this issue was fixed in AdminerEvo version 4.8.3.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Adminer and AdminerEvo vulnerable to directory traversal and file upload","id":"CVE-2023-45197","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"file_upload","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"Information disclosure in n/a","id":"CVE-2023-45198"},"packages":[],"prev":{"headline":"Adminer and AdminerEvo denial of service via HTTP redirect","id":"CVE-2023-45196"},"products":["Adminer","AdminerEvo"],"published":"2024-06-21","related":[{"cvss_score":6.9,"headline":"Adminer and AdminerEvo SSRF","id":"CVE-2023-45195","kev_date_added":null,"published":"2024-06-24"},{"cvss_score":6.9,"headline":"Adminer and AdminerEvo denial of service via HTTP redirect","id":"CVE-2023-45196","kev_date_added":null,"published":"2024-06-24"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["Adminer","AdminerEvo"]},"summary":"Attackers can upload malicious files via the file upload plugin to execute code, requiring the plugin to be enabled.","url":"https://insights.sbomify.com/CVE-2023-45197/"}