Lukashinsch Spring Boot Actuator Logview 路径遍历漏洞

admin 2023-12-01 17:13:54 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 Lukashinsch Spring Boot Actuator Logview 路径遍历漏洞

CVE编号

CVE-2021-21234

利用情况

暂无

补丁情况

官方补丁

披露时间

2021-01-06
漏洞描述
spring-boot-actuator-logview in a library that adds a simple logfile viewer as spring boot actuator endpoint. It is maven package "eu.hinsch:spring-boot-actuator-logview". In spring-boot-actuator-logview before version 0.2.13 there is a directory traversal vulnerability. The nature of this library is to expose a log file directory via admin (spring boot actuator) HTTP endpoints. Both the filename to view and a base folder (relative to the logging folder root) can be specified via request parameters. While the filename parameter was checked to prevent directory traversal exploits (so that `filename=../somefile` would not work), the base folder parameter was not sufficiently checked, so that `filename=somefile&base=../` could access a file outside the logging base directory). The vulnerability has been patched in release 0.2.13. Any users of 0.2.12 should be able to update without any issues as there are no other changes in that release. There is no workaround to fix the vulnerability other than updating or removing the dependency. However, removing read access of the user the application is run with to any directory not required for running the application can limit the impact. Additionally, access to the logview endpoint can be limited by deploying the application behind a reverse proxy.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/lukashinsch/spring-boot-actuator-logview/commit/1c76e1ec35...
https://github.com/lukashinsch/spring-boot-actuator-logview/commit/760acbb939...
https://github.com/lukashinsch/spring-boot-actuator-logview/security/advisori...
https://search.maven.org/artifact/eu.hinsch/spring-boot-actuator-logview
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 spring-boot-actuator-logview_project spring-boot-actuator-logview * Up to (including) 0.2.12
阿里云评分 6.4
  • 攻击路径 本地
  • 攻击复杂度 复杂
  • 权限要求 普通权限
  • 影响范围 越权影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-22 对路径名的限制不恰当(路径遍历)
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0