The Vigil@nce team watches public vulnerabilities impacting your computers, and then offers security solutions, a vigilance database and tools to fix them.

Vulnerability of Spring Framework: code execution via Reflected File Download

Synthesis of the vulnerability 

An attacker can trigger a Reflected File Download with Spring Framework, in order to invite the victim to run malicious code.
Impacted systems: Debian, Fedora, Spring Framework, SAS Add-in for Microsoft Office, SAS Analytics Pro, Base SAS Software, SAS BI Server, SAS Enterprise Guide, SAS Grid Computing, SAS Management Console, SAS OLAP Server, SAS SAS/ACCESS, SAS SAS/AF, SAS SAS/CONNECT, SAS SAS/EIS, SAS SAS/ETS, SAS SAS/FSP, SAS SAS/GRAPH, SAS SAS/IML, SAS SAS/INSIGHT, SAS SAS/OR, SAS SAS/STAT, SAS SAS/Web Report Studio.
Severity of this alert: 1/4.
Creation date: 16/10/2015.
Références of this alert: CST-7122, CST-7123, CST-7124, CST-7125, CST-7126, CST-7127, CST-7128, CST-7129, CST-7130, CST-7131, CVE-2015-5211, DLA-1853-1, FEDORA-2015-693035254a, FEDORA-2015-9295d75400, VIGILANCE-VUL-18125.

Description of the vulnerability 

An attack of type RFD (Reflected File Download) applies on a web site with the following characteristics:
 - acceptation of urls ending with ";/file.extension" (where the extension is "bat" for example)
 - generation of a Content-Type header corresponding to a document to be saved as a file, or an empty Content-Type header
 - generation of the page body using parameters from the url (?para=content)
When these conditions are met, an attacker can invite the victim to click on a link such as:
  http://example.com/;file.bat?para=calc.exe
The victim is thus convinced to download a file coming from exemple.com, whereas his web browser with save the "file.bat" file containing the "calc.exe" line. Then, if the victim runs file.bat, the calculator is launched.

However, the HttpMessageConverter class of Spring Framework meets the conditions of a RFD attack.

An attacker can therefore trigger a Reflected File Download with Spring Framework, in order to invite the victim to run malicious code.
Full bulletin, software filtering, emails, fixes, ... (Request your free trial)

This weakness announce impacts software or systems such as Debian, Fedora, Spring Framework, SAS Add-in for Microsoft Office, SAS Analytics Pro, Base SAS Software, SAS BI Server, SAS Enterprise Guide, SAS Grid Computing, SAS Management Console, SAS OLAP Server, SAS SAS/ACCESS, SAS SAS/AF, SAS SAS/CONNECT, SAS SAS/EIS, SAS SAS/ETS, SAS SAS/FSP, SAS SAS/GRAPH, SAS SAS/IML, SAS SAS/INSIGHT, SAS SAS/OR, SAS SAS/STAT, SAS SAS/Web Report Studio.

Our Vigil@nce team determined that the severity of this vulnerability alert is low.

The trust level is of type confirmed by the editor, with an origin of document.

An attacker with a expert ability can exploit this computer threat announce.

Solutions for this threat 

Spring Framework: version 4.2.2.
The version 4.2.2 is fixed:
  http://projects.spring.io/spring-framework

Spring Framework: version 4.1.8.
The version 4.1.8 is fixed:
  http://projects.spring.io/spring-framework

Spring Framework: version 3.2.15.
The version 3.2.15 is fixed:
  http://projects.spring.io/spring-framework

Debian 8: new libspring-java packages.
New packages are available:
  Debian 8: libspring-java 3.0.6.RELEASE-17+deb8u1

Fedora: new springframework packages.
New packages are available:
  Fedora 21: springframework 3.2.15-1.fc21
  Fedora 22: springframework 3.2.15-1.fc22

Liferay Portal: version 7.1.3 CE GA 4.
The version 7.1.3 CE GA 4 is fixed.

SAS: version 9.4M6 TS1M6 11-19-2019.
The version 9.4M6 TS1M6 11-19-2019 is fixed:
  http://ftp.sas.com/techsup/download/hotfix/HF2/SAS_Security_Updates.html

SAS: version 9.4M6 TS1M6 3-11-2019.
The version 9.4M6 is fixed:
  https://support.sas.com/
Full bulletin, software filtering, emails, fixes, ... (Request your free trial)

Computer vulnerabilities tracking service 

Vigil@nce provides a cybersecurity database. The Vigil@nce computer vulnerability tracking service alerts your teams of vulnerabilities or threats impacting your information system.