{"answers":{"affected":"1 open source package ship an affected version, including apisix_dashboard. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-45232 exists.","fix":"Upgrade apisix_dashboard to 2.10.1 or later.","what":"CVE-2021-45232 is a critical missing authorization vulnerability in Apache APISIX Dashboard, published on 27 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-45232 and fix it if it is affected.\n\nWhat it is: CVE-2021-45232 is a critical missing authorization vulnerability in Apache APISIX Dashboard, published on 27 Dec 2021. 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-2021-45232 exists.\n\nAffected packages and fixed versions:\n- apisix_dashboard (Bitnami): affected all versions; fixed in 2.10.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-2021-45232/ (Markdown: https://insights.sbomify.com/CVE-2021-45232/index.md)","id":"CVE-2021-45232","markdown":"https://insights.sbomify.com/CVE-2021-45232/index.md","name":"CVE-2021-45232","record":{"aliases":["BIT-apisix_dashboard-2021-45232","GHSA-wcxq-f256-53xp"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"API Gateway Dashboard","requires_auth":"none","summary":"Attackers can bypass authentication in Apache APISIX Dashboard by accessing APIs that incorrectly bypass the security middleware, leading to unauthorized access.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"apisix_dashboard","vendor":"apache"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"description":"In Apache APISIX Dashboard before 2.10.1, the Manager API uses two frameworks and introduces framework `droplet` on the basis of framework `gin`, all APIs and authentication middleware are developed based on framework `droplet`, but some API directly use the interface of framework `gin` thus bypassing the authentication.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":"2021-12-28","github_poc":11,"max_poc_stars":78,"metasploit":0,"nuclei":1,"refs":[{"date":"2021-12-29T07:32:30Z","kind":"github_poc","ref":"https://github.com/wuppp/cve-2021-45232-exp","stars":78,"title":null},{"date":"2022-01-05T04:13:10Z","kind":"github_poc","ref":"https://github.com/GYLQ/CVE-2021-45232-RCE","stars":33,"title":"CVE-2021-45232-RCE-多线程批量漏洞检测"},{"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":"2021-12-28T17:56:59Z","kind":"github_poc","ref":"https://github.com/LTiDi2000/CVE-2021-45232","stars":1,"title":null},{"date":"2022-01-05T09:07:35Z","kind":"github_poc","ref":"https://github.com/fany0r/CVE-2021-45232-RCE","stars":1,"title":"CVE-2021-45232-RCE"},{"date":"2022-01-08T08:16:06Z","kind":"github_poc","ref":"https://github.com/yggcwhat/CVE-2021-45232","stars":1,"title":"一键批量检测poc"},{"date":"2021-12-28T11:36:38Z","kind":"github_poc","ref":"https://github.com/Osyanina/westone-CVE-2021-45232-scanner","stars":0,"title":"A vulnerability scanner that detects CVE-2021-45232 vulnerabilities."},{"date":"2021-12-28T13:08:34Z","kind":"github_poc","ref":"https://github.com/badboycxcc/CVE-2021-45232-POC","stars":0,"title":null}],"tier":"weaponised"},"has_fix":true,"headline":"security vulnerability on unauthorized access.","id":"CVE-2021-45232","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"missing_authorization","year":"2021"},"n_packages":1,"n_references":2,"next":{"headline":"SQL injection in n/a","id":"CVE-2021-45252"},"packages":[{"ecosystem":"Bitnami","fixed":["2.10.1"],"introduced":["0"],"last_affected":[],"package":"apisix_dashboard","purl":"pkg:bitnami/apisix_dashboard","source":"BIT-apisix_dashboard-2021-45232"}],"prev":{"headline":"Privilege escalation in Trend Micro Apex One","id":"CVE-2021-45231"},"products":["Apache APISIX Dashboard"],"published":"2021-12-27","related":[{"cvss_score":5.3,"headline":"Bypass network access control","id":"CVE-2021-33190","kev_date_added":null,"published":"2021-06-08"}],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"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 bypass authentication in Apache APISIX Dashboard by accessing APIs that incorrectly bypass the security middleware, leading to unauthorized access.","url":"https://insights.sbomify.com/CVE-2021-45232/"}