当前位置:网站首页>Serious hazard warning! Log4j execution vulnerability is exposed!
Serious hazard warning! Log4j execution vulnerability is exposed!
2022-06-26 05:12:00 【Another cloud shot】
12 month 10 Early morning ,Apache Open source project Log4j2 Details of the remote code execution vulnerability are disclosed , The vulnerability threat level is : serious .
Log4j2 It's based on Java The logging tool for . It rewrites Log4j frame , Introduced a number of rich features , Allows users to control the destination of log information delivery to the console 、 file 、GUI Components etc. . At the same time, by defining the level of each log information , It enables users to control the log generation process more carefully .
Log4j It is the most widely used in the world java One of the logging frameworks . The vulnerability also affects many of the world's most widely used open source components , Such as Apache Struts2、Apache Solr、Apache Druid、Apache Flink etc. . Because the vulnerability is exploited in a simple way , Once an attacker exploits the vulnerability , You can execute arbitrary code on the target server , Cause great harm to the attacker .
Vulnerability details
This vulnerability is mainly Log4j2 The contents of lookup Function exists JNDI Inject holes , This function can help developers read the configuration in the corresponding environment through some protocols . The vulnerability trigger method is very simple , As long as the content of the log contains keywords ${, Then the contents contained in this can be replaced as variables , The attacker does not need any privileges , Can execute any command .
The version affected by this vulnerability is :Apache Log4j 2.x <= 2.14.1
At the same time, if you use the following applications , Will also be affected by this vulnerability :
Spring-Boot-strater-log4j2
Apache Struts2
Apache Solr
Apache Flink
Apache Druid
ElasticSearch
flume
dubbo
logstash
kafka
Bug repair
At present, the manufacturer has released a new version log4j-2.15.0-rc2, This version has fixed the vulnerability . I hope you can upgrade to the new version as soon as possible .
The official link :https://github.com/apache/logging-log4j2/releases/tag/log4j-2.15.0-rc2
If it is not convenient for you to upgrade the version for the time being , You can also carry out emergency treatment through the following methods , And complete the version upgrade as soon as it is convenient :
modify jvm Parameters -Dlog4j2.formatMsgNoLookups=true
Modify the configuration log4j2.formatMsgNoLookups=True
Set the system environment variable FORMAT_MESSAGES_PATTERN_DISABLE_LOOKUPS Set to true
Whether it was the year before last Apach Shiro Of cookie Persistence parameters rememberMe There are loopholes in the encryption algorithm , Or last year 5 Of the month Fastjson Remote Code Execution Vulnerability notification . It seems that there are always various problems in network security , But finding and fixing the vulnerability itself is an upgrade to security . The safe way to stop will soon be broken , Only continuous updating and upgrading is the real network security .
Recommended reading
边栏推荐
- PHP one sentence Trojan horse
- LSTM in tensorflow_ Layers actual combat
- Final review of brain and cognitive science
- 程序人生
- Procedural life
- cartographer_fast_correlative_scan_matcher_2d分支定界粗匹配
- Install the tp6.0 framework under windows, picture and text. Thinkphp6.0 installation tutorial
- [unity3d] collider assembly
- How to select the data transmission format of instant messaging application
- Computer Vision Tools Chain
猜你喜欢
Second day of deep learning and tensorfow
localStorage浏览器本地储存,解决游客不登录的情况下限制提交表单次数。
[unity3d] rigid body component
A beginner's entry is enough: develop mobile IM from zero
一个从坟墓里爬出的公司
Dbeaver installation and configuration of offline driver
Zuul 实现动态路由
86. (cesium chapter) cesium overlay surface receiving shadow effect (gltf model)
cartographer_optimization_problem_2d
【Latex】错误类型总结(持更)
随机推荐
ECCV 2020 double champion team, take you to conquer target detection on the 7th
FastAdmin Apache下设置伪静态
Datetime data type - min() get the earliest date and date_ Range() creates a date range, timestamp() creates a timestamp, and tz() changes the time zone
zencart新建的URL怎么重写伪静态
The beautiful scenery is natural, and the wonderful pen is obtained by chance -- how is the "wonderful pen" refined?
Learn from small samples and run to the sea of stars
tensorlow:cifar100_ train
【Latex】错误类型总结(持更)
localStorage浏览器本地储存,解决游客不登录的情况下限制提交表单次数。
Excellent learning ability is your only sustainable competitive advantage
[greedy college] Figure neural network advanced training camp
Douban top250
Vie procédurale
[unity3d] rigid body component
Generalized linear model (logistic regression, Poisson regression)
LeetCode 19. Delete the penultimate node of the linked list
PHP one sentence Trojan horse
Create a binary response variable using the cut sub box operation
Technical past: tcp/ip protocol that has changed the world (precious pictures, caution for mobile phones)
Technical problems to be faced in mobile terminal im development