当前位置:网站首页>CVE-2020-27986 (Sonarqube sensitive information leak) vulnerability fix
CVE-2020-27986 (Sonarqube sensitive information leak) vulnerability fix
2022-08-02 13:42:00 【Architecture Art AA】
I. Vulnerability Repair Instructions
The fix for sonarqube's vulnerability CVE-2020-27986.
SonarQube 8.4.2.36762 allows remote attackers to discover cleartext SMTP, SVN and GitLab credentials via the api/settings/values URI.Note: According to reports, the vendor's stance on SMTP and SVN is that "it is the responsibility of the administrator to configure it".
The vulnerability was disclosed in October 2020. Recently, many foreign media broke the news of multi-origin code leakage incidents, involving SonarQubeCode Audit Platform.
Second, the vulnerability attack recurrence
Direct access can see a lot of unauthorized API information
http://192.168.11.100:9000/api/settings/values
You can also get interface information
http://192.168.11.100:9000/api/webservices/list
3. Bug fixes
Affected versions of this vulnerability
SonarQube < 8.6
Secure version
SonarQube >=8.6
Fix 1: If the sonarqube version is lower than 8.6, please upgrade the version
Actually, the sonarqube of our environment is 9.3, which is also scanned for vulnerabilities
Consideration is a problem with our sonarqube settings
Find the answer on the security settings page of the sonarqube official website
https://docs.sonarqube.org/latest/instance-administration/security/
It turned out to be convenient for R&D access, sonarqube closed the Force user authentication function
See the description above, if disabled, it will allow anonymous users to access the sonarqube UI or get project data through the web api.
Enable Sonarqube's Force user authentication function to prohibit unauthorized users from accessing SQ.
边栏推荐
猜你喜欢
随机推荐
ttl电平与rs232电平转换电路(232电平定义)
嵌入式系统驱动初级【2】——字符设备驱动基础上_基础框架
SQL函数 UCASE
基于flask商城的管理员功能
【C语言】手撕循环结构 —— for语句
二进制中1的个数
FreeBSD bnxt以太网驱动源码阅读记录三:
Taurus.MVC V3.0.3 microservice open source framework released: Make the evolution of .NET architecture easier in large concurrency.
【622. 设计循环队列】
SQL函数 TRUNCATE
Win11怎么修改关机界面颜色?Win11修改关机界面颜色的方法
【typescript】使用antd中RangePicker组件实现时间限制 当前时间的前一年(365天)
WPF效果第一百九十三篇之登录实现
Markdown怎么加入emoji
LeetCode(剑指 Offer)- 53 - II. 0~n-1中缺失的数字
requestparam注解接的收的是什么格式(玄机赋注解)
攻防世界----unfinish
目前想通过提取本地excel文件创建数据表,在sql语句这出了一些问题
【C语言】手撕循环结构 —— while语句
80篇国产数据库实操文档汇总(含TiDB、达梦、openGauss等)