Apache APISIX has a default, built-in API token edd1c9f034335f136f87ad84b625c8f1 that can be used to access all of the admin API, which leads to remote LUA code execution through the script parameter added in the 2.x version. This module also leverages another vulnerability to bypass the IP restriction plugin.
Exploit database
Vulnerability
CVE-2020-13945
Vulnerability details
- Score
- 6.5
- Severity
- medium
CVSS 3.1 · NVD
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NDescription
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.
CVE ProgramExploit source choices
8 sourcesAPISIX Admin API default access token RCE
2020-12-07apache_apisix_api_default_token_rce.rb
bigblackhat/ofx
一个开源的、开箱即用的漏洞批量验证框架
2021-06-02301 files · 920 stars
clincat/vulcat
vulcat可用于扫描Web端常见的CVE、CNVD等编号的漏洞,发现漏洞时会返回Payload信息。部分漏洞还支持命令行交互模式,可以持续利用漏洞
2022-04-10228 files · 133 stars
arpsyndicate/kenzer-templates
essential templates for kenzer [DEPRECATED]
2020-09-185,308 files · 118 stars
k3ystr0k3r/cve-2020-13945-exploit
A PoC exploit for CVE-2020-13945 - Apache APISIX Remote Code Execution (RCE)
2024-07-183 files · 12 stars
yutusec/apisix_crack
Apisix系列漏洞:未授权漏洞(CVE-2021-45232)、默认秘钥(CVE-2020-13945)批量探测。
2022-05-0915 files · 8 stars
12442rf/poc
12442rf/poc source repository
2025-05-0612 files · 1 stars
cyberctf/vulhub-apisix-cve-2020-13945
Vulhub apisix/CVE-2020-13945: Apache APISIX Default Admin Token RCE (CVE-2020-13945), run with Isoloom
2026-10-0820 files · 0 stars