漏洞描述
A default configuration of Apache APISIX (with default API key) is vulnerable to remote code execution. An attacker can abuse the batch-requests plugin to send requests to bypass the IP restriction of Admin API. 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.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
www.openwall.comhttps://www.openwall.com/lists/oss-security/2022/02/11/3↗twitter.comhttps://twitter.com/sirifu4k1/status/1496043663704858625↗apisix.apache.orghttps://apisix.apache.org/zh/docs/apisix/plugins/batch-requests↗nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2022-24112↗www.openwall.comhttp://www.openwall.com/lists/oss-security/2022/02/11/3↗