Entreprise d'experts en Sécurité Informatique : Audits et conseils en cybersécurité
Entreprise française de cybersécurité depuis 2004
☎ 03 60 47 09 81 - info@securiteinfo.com


CVE-2022-24112

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.

POC

Reference

- http://packetstormsecurity.com/files/166228/Apache-APISIX-Remote-Code-Execution.html

- http://packetstormsecurity.com/files/166328/Apache-APISIX-2.12.1-Remote-Code-Execution.html

Github

- https://github.com/20142995/nuclei-templates

- https://github.com/34zY/APT-Backpack

- https://github.com/ARPSyndicate/cvemon

- https://github.com/ARPSyndicate/kenzer-templates

- https://github.com/Acczdy/CVE-2022-24112_POC

- https://github.com/Awrrays/FrameVul

- https://github.com/Axx8/CVE-2022-24112

- https://github.com/CrackerCat/CVE-2022-24112

- https://github.com/Greetdawn/Apache-APISIX-dashboard-RCE

- https://github.com/Ji82466dx21ohnDavi69no0dinans/awesome-security-vul-llm

- https://github.com/Loginsoft-LLC/Linux-Exploit-Detection

- https://github.com/Loginsoft-Research/Linux-Exploit-Detection

- https://github.com/M4xSec/Apache-APISIX-CVE-2022-24112

- https://github.com/Mah1ndra/CVE-2022-24112

- https://github.com/Mah1ndra/CVE-2022-244112

- https://github.com/Mav0y56cgi4rie8clu4e5vrBarnett/awesome-security-vul-llm

- https://github.com/Mr-Tree-S/POC_EXP

- https://github.com/Mr-xn/CVE-2022-24112

- https://github.com/NaInSec/CVE-PoC-in-GitHub

- https://github.com/Ostorlab/KEV

- https://github.com/Ostorlab/known_exploited_vulnerbilities_detectors

- https://github.com/SYRTI/POC_to_review

- https://github.com/SecNN/CVE-2022-24112

- https://github.com/Udyz/CVE-2022-24112

- https://github.com/WhooAmii/POC_to_review

- https://github.com/bigblackhat/oFx

- https://github.com/binganao/vulns-2022

- https://github.com/btar1gan/exploit_CVE-2022-24112

- https://github.com/cc8700619/poc

- https://github.com/fatkz/CVE-2022-24112

- https://github.com/hktalent/TOP

- https://github.com/hktalent/bug-bounty

- https://github.com/k0mi-tg/CVE-POC

- https://github.com/kavishkagihan/CVE-2022-24112-POC

- https://github.com/manas3c/CVE-POC

- https://github.com/nomi-sec/PoC-in-GitHub

- https://github.com/plzheheplztrying/cve_monitor

- https://github.com/shakeman8/CVE-2022-24112

- https://github.com/soosmile/POC

- https://github.com/superlink996/chunqiuyunjingbachang

- https://github.com/trhacknon/Pocingit

- https://github.com/twseptian/cve-2022-24112

- https://github.com/whoforget/CVE-POC

- https://github.com/wshepherd0010/CVE-2022-24112-Lab

- https://github.com/xu-xiang/awesome-security-vul-llm

- https://github.com/youwizard/CVE-POC

- https://github.com/zecool/cve