En

Spring系列官网安全更新(2020-01-16)

来源:Spring系列官网 发布日期:2020-01-16 阅读次数:1087 评论:0

基本信息

发布日期:2020-01-16(官方当地时间)

更新类型:安全更新

更新版本:未知

感知时间:2020-01-17 05:00:03

风险等级:高危

情报贡献:TSRC

更新标题

CVE-2020-5398: RFD Attack via “Content-Disposition” Header Sourced from Request Input by Spring MVC or Spring WebFlux Application

更新详情

CVE-2020-5398: RFD Attack via “Content-Disposition” Header Sourced from Request Input by Spring MVC or Spring WebFlux Application
SeverityHighVendorSpring by PivotalVersions AffectedDescriptionIn Spring Framework, versions 5.2.x prior to 5.2.3, versions 5.1.x prior to 5.1.13, and versions 5.0.x prior to 5.0.16, an application is vulnerable to a reflected file download (RFD) attack when it sets a “Content-Disposition” header in the response
where the filename attribute is derived from user supplied input.

Specifically, an application is vulnerable when all of the following are true:

The header is prepared with org.springframework.http.ContentDisposition.
The filename is set via one of:

ContentDisposition.Builder#filename(String), or
ContentDisposition.Builder#filename(String, US_ASCII)




The value for the filename is derived from user supplied input.
The user supplied input is not sanitized by the application.
The downloaded content of the response is injected with malicious commands by the attacker (see RFD paper reference for details).

An application is not vulnerable if any of the following is true:

The application does not set a “Content-Disposition” response header.
The header is not prepared with org.springframework.http.ContentDisposition.
The filename is set via one of:

ContentDisposition.Builder#filename(String, UTF_8), or
ContentDisposition.Builder#filename(String, ISO_8859_1)

The filename is not derived from user supplied input.
The filename is derived from user supplied input but sanitized by the application.
Affected Pivotal Products and VersionsSpring Framework5.2.0 to 5.2.25.1.0 to 5.1.125.0.0 to 5.0.15MitigationUsers of affected versions should apply the following mitigation. 5.2.x users should upgrade to 5.2.3. 5.1.x users should upgrade to 5.1.13. 5.0.x users should upgrade to 5.0.16. No other steps are necessary. Releases that have fixed this issue include:Spring Framework5.2.35.1.135.0.16CreditThis issue was identified and responsibly reported by Roman Shalymov from EPAM.Referenceshttps://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/reflected-file-download-a-new-web-attack-vector/https://github.com/spring-projects/spring-framework/issues/24220History2020-01-16: Initial vulnerability report published.

软件描述

Spring框架是一个开放源代码的J2EE应用程序框架,由Rod Johnson发起,是针对bean的生命周期进行管理的轻量级容器(lightweight container)。

CVE编号

TSRC分析

暂无

业界资讯

暂无

评论

提交评论 您输入的评论有误,请重新输入