{"id":"CVE-2022-24112","kind":"vulnerability","aliases":["CVE-2022-24112"],"related":[],"title":"apache apisix: An attacker can abuse the batch-requests plugin to send requests to bypass the IP restriction of Admin API","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.","summary":"Apache APISIX, an API gateway, has an authentication bypass in its Admin API plugin handling that lets remote attackers skip auth. The sources say it allows remote code execution, and CISA lists it as exploited in the wild.","severity":"critical","cvss":9.8,"epss":0.96069,"exploited":true,"exploited_at":"2022-08-25T00:00:00+00:00","products":[{"name":"apache apisix","fixed":["2.10.4"],"affected":"< 2.10.4","ecosystem":"vendor"},{"name":"apache apisix","fixed":["2.12.1"],"affected":">= 2.11.0, < 2.12.1","ecosystem":"vendor"},{"name":"Apache APISIX","fixed":[],"affected":"","ecosystem":"vendor"}],"ecosystems":["vendor"],"tags":["apache-apisix","api-gateway","exploited","package","self-hosted"],"not_affected_if":["default-config"],"how_to_check":"Check the deployed APISIX version (apisix version) and compare it to the fixed release in the Apache advisory.","fix":"Upgrade Apache APISIX to a fixed release per the vendor instructions, then rotate the Admin API key.","status":"open","published_at":"2022-02-11T13:15:08+00:00","first_seen_at":"2026-10-23T19:11:52+00:00","triaged_at":"2026-10-23T21:10:53+00:00","updated_at":"2026-10-24T00:09:51+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-10-23T21:10:53Z","model":"claude-haiku-5-5","output":{"fix":"Upgrade Apache APISIX to a fixed release per the vendor instructions, then rotate the Admin API key.\nunknown","reach":"internet","impact":"high","summary":"Apache APISIX, an API gateway, has an authentication bypass in its Admin API plugin handling that lets remote attackers skip auth. The sources say it allows remote code execution, and CISA lists it as exploited in the wild.","category":"package","who_cares":["apache-apisix","api-gateway","self-hosted"],"confidence":0.6,"needs_auth":"no","worst_case":"Remote attacker bypasses auth and executes code on the gateway server","analyst_note":"Sources do not list affected or fixed versions or the exact vulnerable config; check the Apache APISIX security advisory for CVE-2022-24112 and the CISA KEV entry for the affected range.","how_to_check":"Check the deployed APISIX version (apisix version) and compare it to the fixed release in the Apache advisory.\nunknown","needs_analyst":true,"not_affected_if":["default-config"],"user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"critical"},"cost_usd":0.000483,"input_tokens":2806,"output_tokens":405,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-2022':24A,27A '-24112':25A,28A 'abus':6A,87C 'admin':21A,57B,102C,122C,130C 'allow':71B 'apach':1A,36B,46B,108C,158C 'apache':29A,31A,33A 'apache-apisix':35B 'api':22A,39B,49B,58B,103C,112C,131C 'api-gateway':38B 'apisix':2A,30A,32A,34A,37B,47B,109C,159C 'attack':4A,64B,85C 'auth':66B 'authent':53B 'batch':9A,90C,170C 'batch-request':8A,89C,169C 'bug':187C 'bypass':16A,54B,97C,153C,195C 'chang':125C,133C 'check':166C,192C 'cisa':76B 'client':176C 'code':73B,118C,190C 'configur':106C 'cve':23A,26A 'data':140C,161C 'default':105C,111C 'differ':137C 'due':184C 'execut':74B,119C 'exploit':41B,80B 'gateway':40B,50B 'handl':60B 'host':45B 'impact':143C 'ip':18A,99C,155C,177C,182C 'key':113C,123C 'let':62B 'list':77B 'lower':145C 'overrid':174C 'packag':42B 'panel':141C,162C 'plugin':11A,59B,92C,172C 'port':128C,136C 'real':180C 'remot':63B,72B,117C,181C 'request':10A,14A,91C,95C,171C 'restrict':19A,100C,156C 'risk':151C 'say':69B 'self':44B 'self-host':43B 'send':13A,94C 'skip':65B 'sourc':68B 'still':149C 'vulner':115C 'wild':83B","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"first_public_at":"2022-02-11T13:15:08+00:00","kev":{"dateAdded":"2022-08-25","dueDate":"2022-09-15","requiredAction":"Apply updates per vendor instructions.","knownRansomwareCampaignUse":"Unknown"},"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cvss_by":"nvd@nist.gov","poc_count":0,"sources":[{"source":"kev","external_id":"CVE-2022-24112","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2022-24112","severity":null,"published_at":"2022-08-25T00:00:00+00:00","modified_at":null,"first_seen_at":"2026-10-23T19:11:52+00:00","fetched_at":"2026-10-25T15:39:42+00:00","note":null},{"source":"epss","external_id":"CVE-2022-24112","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-24112","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-23T19:13:45+00:00","fetched_at":"2026-10-23T19:13:45+00:00","note":null},{"source":"nvd","external_id":"CVE-2022-24112","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24112","severity":null,"published_at":"2022-02-11T13:15:08+00:00","modified_at":"2026-06-17T04:31:18+00:00","first_seen_at":"2026-10-23T22:29:04+00:00","fetched_at":"2026-10-23T22:29:04+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}