目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2022-23305— Apache Log4j SQL注入漏洞

一分钟漏洞结论

影响对象
Apache Software Foundation Apache Log4j 1.x
利用判断
存在公开或 AI PoC,应优先验证
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Apache Log4j是美国阿帕奇(Apache)基金会的一款基于Java的开源日志记录工具。 Apache Log4j 存在SQL注入漏洞,该漏洞源于 Log4j 1.2.x 中的 JDBCAppender 接受 SQL 语句作为配置参数,其中要插入的值是来自 PatternLayout 的转换器。 消息转换器 %m 可能总是包含在内。 这允许攻击者通过将精心制作的字符串输入到记录的应用程序的输入字段或标题中来操纵 SQL,从而允许执行意外的 SQL 查询。 请注意,此问题仅在专门配置为使用 JDBC

AI 预测 6.5 利用难度: 较易 EPSS 66.54% · P99

影响版本矩阵 2

厂商产品 版本范围状态
Apache Software Foundation Apache Log4j 1.x 1.2.1< unspecified affected
unspecified< 2.0-alpha1 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2022-23305 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
SQL injection in JDBC Appender in Apache Log4j V1
来源: CVE Program / CVE List V5
Vulnerability Description
By design, the JDBCAppender in Log4j 1.2.x accepts an SQL statement as a configuration parameter where the values to be inserted are converters from PatternLayout. The message converter, %m, is likely to always be included. This allows attackers to manipulate the SQL by entering crafted strings into input fields or headers of an application that are logged allowing unintended SQL queries to be executed. Note this issue only affects Log4j 1.x when specifically configured to use the JDBCAppender, which is not the default. Beginning in version 2.0-beta8, the JDBCAppender was re-introduced with proper support for parameterized SQL queries and further customization over the columns written to in logs. Apache Log4j 1.2 reached end of life in August 2015. Users should upgrade to Log4j 2 as it addresses numerous other issues from the previous versions.
来源: CVE Program / CVE List V5
CVSS Information
N/A
来源: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
来源: CVE Program / CVE List V5
Vulnerability Title
Apache Log4j SQL注入漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Apache Log4j是美国阿帕奇(Apache)基金会的一款基于Java的开源日志记录工具。 Apache Log4j 存在SQL注入漏洞,该漏洞源于 Log4j 1.2.x 中的 JDBCAppender 接受 SQL 语句作为配置参数,其中要插入的值是来自 PatternLayout 的转换器。 消息转换器 %m 可能总是包含在内。 这允许攻击者通过将精心制作的字符串输入到记录的应用程序的输入字段或标题中来操纵 SQL,从而允许执行意外的 SQL 查询。 请注意,此问题仅在专门配置为使用 JDBC
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Apache Software Foundation Apache Log4j 1.x 1.2.1 ~ unspecified -

二、漏洞 CVE-2022-23305 的公开POC

# POC 描述 源链接 神龙链接
1 Fastest filesystem scanner for log4shell (CVE-2021-44228, CVE-2021-45046) and other vulnerable (CVE-2017-5645, CVE-2019-17571, CVE-2022-23305, CVE-2022-23307 ... ) instances of log4j library. Excellent performance and low memory footprint. https://github.com/HynekPetrak/log4shell-finder POC详情
2 test 反向辣鸡数据投放 CVE-2022-23305 工具 利用 教程 Exploit POC https://github.com/AlphabugX/CVE-2022-RCE POC详情
3 CVE-2022-23305 Log4J JDBCAppender SQl injection POC https://github.com/tkomlodi/CVE-2022-23305_POC POC详情
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2022-23305 的情报信息

登录查看更多情报信息。

CVE-2022-23305 厂商安全公告 (3)

CVE-2022-23305 邮件列表归档 (2)

CVE-2022-23305 其他参考 (1)

同批安全公告 · Apache Software Foundation · 2022-01-18 · 共 3 条

CVE-2022-23302 Apache Log4j 代码问题漏洞
CVE-2022-23307 Apache Log4j 代码问题漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2022-23305

暂无评论


发表评论