CVE-2022-23302 Deserialization of untrusted data in JMSSink in Apache Log4j 1.x
아파치 Log4j 1.x의 JMSSink에서 신뢰할 수 없는 데이터의 역직렬화(Deserialization of untrusted data)
설명
JMSSink in all versions of Log4j 1.x is vulnerable to deserialization of untrusted data when the attacker has write access to the Log4j configuration or if the configuration references an LDAP service the attacker has access to. The attacker can provide a TopicConnectionFactoryBindingName configuration causing JMSSink to perform JNDI requests that result in remote code execution in a similar fashion to CVE-2021-4104. Note this issue only affects Log4j 1.x when specifically configured to use JMSSink, which is not the default. 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.
Log4j의 모든 버전에서 JMSSink 1.x는 공격자가 Log4j 구성에 대한 쓰기 권한을 가지고 있거나 구성이 LDAP 서비스를 참조하는 경우 공격자가 액세스 할 수있는 신뢰할 수 없는 데이터의 역직렬화(deserialization of untrusted data)에 취약합니다. 공격자는 JMSSink가 JNDI 요청을 수행하도록 하는 TopicConnectionFactoryBindingName 구성을 제공할 수 있으며, 이로 인해 CVE-2021-4104와 유사한 방식으로 원격 코드 실행이 발생합니다. 이 문제는 기본이 아닌 JMSSink를 사용하도록 특별히 구성된 경우에만 Log4j 1.x에 영향을 줍니다. Apache Log4j 1.2는 2015년 8월에 종료되었습니다. 이전 버전의 다른 많은 문제를 해결하므로 사용자는 Log4j 2로 업그레이드해야 합니다.
영향 받는 제품 제품 1개
-
해결 버전 있음
Apache Software Foundation
Apache Log4j 1.x
영향 받는 버전
- 1.0.1
- 2.0-alpha1 미만
해결 버전
- 2.0-alpha1 이상
참고 자료 6건
- lists.apache.org https://lists.apache.org/thread/bsr3l5qz4g0myrjhy9h67bcxodpkwj4w (새 창)
- logging.apache.org https://logging.apache.org/log4j/1.2/index.html (새 창)
- security.netapp.com https://security.netapp.com/advisory/ntap-20220217-0006/ (새 창)
- oracle.com https://www.oracle.com/security-alerts/cpuapr2022.html (새 창)
- oracle.com https://www.oracle.com/security-alerts/cpujul2022.html (새 창)
- openwall.com http://www.openwall.com/lists/oss-security/2022/01/18/3 (새 창)