{"id":"CVE-2022-24112","url":"https://www.cyber-defence.io/tools/cve/CVE-2022-24112","generatedAt":"2026-10-31T12:56:28.415Z","title":"Apache APISIX Authentication Bypass Vulnerability","description":"An attacker can abuse the batch-requests plugin to send requests to bypass the IP restriction of Admin API. A default configuration of Apache APISIX (with default API key) is vulnerable to remote code execution. When the admin key was changed or the port of Admin API was changed to a port different from the data panel, the impact is lower. But there is still a risk to bypass the IP restriction of Apache APISIX's data panel. There is a check in the batch-requests plugin which overrides the client IP with its real remote IP. But due to a bug in the code, this check can be bypassed.","published":"2022-02-11T13:15:08.000Z","lastModified":"2026-06-17T04:31:19.000Z","status":"Analyzed","sourceIdentifier":"security@apache.org","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-290"],"affected":["apache/apisix"],"epss":{"score":0.96069,"percentile":0.99876,"date":"2026-10-30","history":[]},"kev":{"listed":true,"dateAdded":"2022-08-25","dueDate":"2022-09-15","knownRansomwareCampaignUse":"Unknown","notes":"Apply updates per vendor instructions.\nhttps://lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94;  https://nvd.nist.gov/vuln/detail/CVE-2022-24112"},"exploits":{"count":1,"verified":false,"firstPublished":"2022-03-16","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":50829,"kind":"exploit","title":"Apache APISIX 2.12.1 - Remote Code Execution (RCE)","url":"https://www.exploit-db.com/exploits/50829","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/remote/50829.py","file":"exploits/multiple/remote/50829.py","published":"2022-03-16","added":"2022-03-16","updated":"2022-03-16","author":"Ven3xy","type":"remote","platform":"multiple","port":null,"verified":false,"codes":["CVE-2022-24112"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null}]},"verdict":{"level":"urgent","text":"Known to be exploited in the wild (CISA KEV, CISA remediation deadline 15 September 2022). Treat as an emergency change: patch or isolate now, then hunt for prior compromise."},"changes":[],"references":[{"url":"http://packetstormsecurity.com/files/166228/Apache-APISIX-Remote-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"security@apache.org"},{"url":"http://packetstormsecurity.com/files/166328/Apache-APISIX-2.12.1-Remote-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"security@apache.org"},{"url":"http://www.openwall.com/lists/oss-security/2022/02/11/3","tags":["Mailing List","Mitigation","Third Party Advisory"],"source":"security@apache.org"},{"url":"https://lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94","tags":["Mailing List","Mitigation","Vendor Advisory"],"source":"security@apache.org"},{"url":"http://packetstormsecurity.com/files/166228/Apache-APISIX-Remote-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://packetstormsecurity.com/files/166328/Apache-APISIX-2.12.1-Remote-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2022/02/11/3","tags":["Mailing List","Mitigation","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94","tags":["Mailing List","Mitigation","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-24112","tags":["Third Party Advisory","US Government Resource"],"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-24112","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}