{"answers":{"affected":"1 open source package ship an affected version, including apisix. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-13945 exists.","fix":"Upgrade apisix to 1.5.1 or later.","what":"CVE-2020-13945 is a medium-severity vulnerability in Apache APISIX, published on 7 Dec 2020. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-13945 and fix it if it is affected.\n\nWhat it is: CVE-2020-13945 is a medium-severity vulnerability in Apache APISIX, published on 7 Dec 2020. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-13945 exists.\n\nAffected packages and fixed versions:\n- apisix (Bitnami): affected from 1.2.0; fixed in 1.5.1\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-2020-13945/ (Markdown: https://insights.sbomify.com/CVE-2020-13945/index.md)","id":"CVE-2020-13945","markdown":"https://insights.sbomify.com/CVE-2020-13945/index.md","name":"CVE-2020-13945","record":{"aliases":["BIT-apisix-2020-13945","GHSA-c538-784j-qcxc"],"analysis":{"component_type":"server_software","fix_type":"configuration_change","impacts":["privilege_escalation","data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"API Gateway","requires_auth":"low_privilege","summary":"Attackers can access APISIX management data using the default token if IP restrictions are removed, requiring configuration changes to secure the Admin API.","user_interaction":"not_required","vuln_class":"hardcoded_credentials"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"apisix","vendor":"apache"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[],"description":"In Apache APISIX, the user enabled the Admin API and deleted the Admin API access IP restriction rules. Eventually, the default token is allowed to access APISIX management data. This affects versions 1.2, 1.3, 1.4, 1.5.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":"2020-12-07","github_poc":2,"max_poc_stars":8,"metasploit":1,"nuclei":1,"refs":[{"date":"2022-05-09T12:26:11Z","kind":"github_poc","ref":"https://github.com/YutuSec/Apisix_Crack","stars":8,"title":"Apisix系列漏洞：未授权漏洞（CVE-2021-45232）、默认秘钥（CVE-2020-13945）批量探测。"},{"date":"2020-12-07","kind":"metasploit","ref":"exploit/multi/http/apache_apisix_api_default_token_rce","stars":null,"title":"APISIX Admin API default access token RCE"},{"date":"2026-10-08T22:14:47Z","kind":"github_poc","ref":"https://github.com/CyberCTF/vulhub-apisix-cve-2020-13945","stars":0,"title":"Vulhub apisix/CVE-2020-13945: Apache APISIX Default Admin Token RCE (CVE-2020-13945), run with Isoloom"},{"date":null,"kind":"nuclei","ref":"http/cves/2020/CVE-2020-13945.yaml","stars":null,"title":"Apache APISIX - Insufficiently Protected Credentials"}],"tier":"weaponised"},"has_fix":true,"headline":"Hardcoded credentials in Apache APISIX","id":"CVE-2020-13945","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"hardcoded_credentials","year":"2020"},"n_packages":1,"n_references":2,"next":{"headline":"Man-in-the-middle attack in Apache Cassandra","id":"CVE-2020-13946"},"packages":[{"ecosystem":"Bitnami","fixed":["1.5.1"],"introduced":["1.2.0"],"last_affected":[],"package":"apisix","purl":"pkg:bitnami/apisix","source":"BIT-apisix-2020-13945"}],"prev":{"headline":"Apache Airflow Cross-site Scripting","id":"CVE-2020-13944"},"products":["Apache APISIX"],"published":"2020-12-07","related":[{"cvss_score":9.8,"headline":"Apache APISIX Authentication Bypass","id":"CVE-2022-24112","kev_date_added":"2022-08-25","published":"2022-02-11"},{"cvss_score":9.8,"headline":"Apache APISIX: the body_schema check in request-validation plugin can be bypassed","id":"CVE-2022-25757","kev_date_added":null,"published":"2022-03-28"},{"cvss_score":9.1,"headline":"Apache APISIX: forward auth plugin allows header injection","id":"CVE-2026-31908","kev_date_added":null,"published":"2026-04-14"},{"cvss_score":8.7,"headline":"Apache APISIX: Unauthenticated CPU-exhaustion DoS","id":"CVE-2026-75005","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":7.8,"headline":"Privilege escalation in Apache APISIX Java Plugin Runner","id":"CVE-2025-27446","kev_date_added":null,"published":"2025-07-06"},{"cvss_score":7.5,"headline":"Apache APISIX: Openid-connect `tls_verify` field is disabled by default","id":"CVE-2026-31923","kev_date_added":null,"published":"2026-04-14"},{"cvss_score":7.5,"headline":"Apache APISIX: basic-auth logs plaintext credentials at info level","id":"CVE-2025-62232","kev_date_added":null,"published":"2025-10-31"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"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":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["Apache Software Foundation"]},"summary":"Attackers can access APISIX management data using the default token if IP restrictions are removed, requiring configuration changes to secure the Admin API.","url":"https://insights.sbomify.com/CVE-2020-13945/"}