当前位置:网站首页>Cve-2020-10199 recurrence of nexus repository manager3 remote command execution vulnerability
Cve-2020-10199 recurrence of nexus repository manager3 remote command execution vulnerability
2022-07-19 04:59:00 【wavesky111】
One 、 Summary of vulnerability
nexus The full name is Nexus Repository Manager, yes Sonatype One of the company's products . It is a powerful Warehouse Manager , It greatly simplifies the maintenance of internal warehouses and the access to external warehouses . It is mainly used to build the company's internal maven Private clothes . But its function is not just to create maven Private warehouse is so simple , It can also be used as nuget、docker、npm、bower、pypi、rubygems、git lfs、yum、go、apt And so on , Very powerful .—— Big guy link :https://zhuanlan.zhihu.com/p/353955349
Two 、 Affects version
Nexus Repository Manager OSS/Pro 3.x <= 3.21.1
3、 ... and 、 Loophole principle
stay Nexus Repository Manager OSS/Pro 3.21.1 And previous versions , Due to improper safety handling of certain functions , Result in an authorized attacker , Malicious... Can be constructed remotely HTTP request , Execute arbitrary malicious code on the server 、 Implemented unsafe EL expression , So as to obtain the system permission .
CVE-2020-10199 The vulnerability of requires ordinary user rights to trigger , and CVE-2020-10204 You need administrator privileges .
Add :EL expression ——el Expression language ,Java Unified expression language ( English :Unified Expression Language, abbreviation JUEL) Is a special purpose programming language , Mainly in the Java Web Applications are used to embed expressions into web page . stay JSP Model objects are accessed through EL Expression syntax to express . all EL The format of expressions is in “${}” Express . for example ,${ userinfo} Represents getting variables userinfo Value .
Four 、 Loophole recurrence environment
Kali Linux + Vulfocus
Infiltration machine :Kali Linux
Drone aircraft :Vulfocus
5、 ... and 、 The experimental steps
1. Open the mirror environment , Access page


2. Using the account id:admin password:admin Login account

3.brup Capture packets and construct the following packets , perform 6*6*6( At this time, the virtual machine is too too laggy , Restart , So the port and environment have been changed )
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
|

4. Carry out 6*6*6 Modify to create a Nexus file
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
|

5. Listen on the specified port , Execute bounce shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
|

6. You can see the previously created Nexus Document and flag

6、 ... and 、 Repair method
According to official and new documents , Upgrade to the latest version ——https://help.sonatype.com/repomanager3
7、 ... and 、 Written later
The significance of the recurrence of this vulnerability is mainly another idea , After all, the scope is not particularly wide . Of course, what is more important is for linux Deep learning of 、 Understand and use , Prepare to open a new linux Learning column ~
https://mp.weixin.qq.com/s/CAtsX3yP81mULbMDTo0J1A—— A boss sorted out the principle of the vulnerability recurrence process and the explanation of the super bottom , Great , Quoted here for convenience of learning
边栏推荐
猜你喜欢

浅聊全局过滤器
[email protected] : `node install. Problems of js`"/>solve [email protected] : `node install. Problems of js`

Database learning notes (I) retrieval data

毕设:基于Vue+Socket+Redis的分布式高并发防疫健康管理系统

es的一些概念

一文了解定时任务

MYSQL数据库表A数据同步到表B

String string special interception processing according to symbols

DSL查询文档

String字符串根据符号进行特殊截取处理
随机推荐
无限极分类
Differences between substr and substring in JS
拥抱声明式UI
MYSQL两个查询条件取并集然后进行查询
浅聊全局过滤器
天道酬勤,保持热爱
Embrace declarative UI
Introduction to redis
Quickly master Mipi development strategy
fastjson、jackjson、gson区别和注意点
Construction and application of knowledge map de (VII): large scale knowledge map pre training
项目组暑假总结01
Base64与文件互转
三种高并发方式实现i++
ThinkPHP official website tutorial
junit4和junit5区别
Mysql database table a data synchronization to table b
关于当前响应已经调用了方法getOutputStream()
Using circular statements to make login programs
Blessing for the elderly popular short video wechat applet source code download support traffic master