漏洞描述
An SQL Injection vulnerability in Apache Superset exists due to improper neutralization of special elements used in SQL commands. Specifically, certain engine-specific functions are not checked, which allows attackers to bypass Apache Superset's SQL authorization. To mitigate this, a new configuration key named DISALLOWED_SQL_FUNCTIONS has been introduced. This key disallows the use of the following PostgreSQL functions- version, query_to_xml, inet_server_addr, and inet_client_addr. Additional functions can be added to this list for increased protection.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
blog.quarkslab.comhttps://blog.quarkslab.com/bypass-apache-superset-restrictions-to-perform-sql-injections.html↗www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/16/5↗lists.apache.orghttps://lists.apache.org/thread/j55vm41jg3l0x6w49zrmvbf3k0ts5fqz↗nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2024-39887↗