SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 67319: DataFlux® Data Management Server 2.9 REST APIs contain a cross-site request forgery (CSRF) vulnerability

DetailsHotfixAboutRate It

Severity: Medium

Description: DataFlux Data Management Server 2.9 REST APIs contain a CSRF vulnerability.

Potential Impact: An attacker might cause information to be submitted to a vulnerable application on behalf of a valid user.

Click the Hot Fix tab in this note to access the hot fix for this issue.

*An additional patch is required for DataFlux Secure. To obtain the DataFlux Secure patch, contact SAS Technical Support and reference this SAS Note. 

Instructions for Enabling CSRF protection for DataFlux Data Management Server:

After applying any relevant patches for this issue, complete the following steps to enable CSRF protection:

1.  Navigate to the etc directory of the root install location.

2.  Edit the dmserver.cfg file and add the following configuration option to enable CSRF protection as shown below:

# CSRF protection
DMSERVER/REST/CSRF_PROTECTION=yes

3.  Restart the DataFlux Data Management Server service in order to load the changes.

4.  Once CSRF protection is enabled for DataFlux Data Management Server, update all API calls using authorization to include a valid eTag in the header. It is important to note that all requests missing a valid eTag will fail with HTTP 401 (Unauthorized). For details on this topic, see the DataFlux Data Management Server 2.9: REST API Reference located in the \doc\rest_api\ directory of the root install. After opening the Default.htm file in a browser, enter "Cross-Site Request Forgery Protection" in the search.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
DatafluxDataFlux Data Management ServerMicrosoft® Windows® for x642.9
Microsoft Windows 8 Enterprise 32-bit2.9
Microsoft Windows 8 Enterprise x642.9
Microsoft Windows 8 Pro 32-bit2.9
Microsoft Windows 8 Pro x642.9
Microsoft Windows 8.1 Enterprise 32-bit2.9
Microsoft Windows 8.1 Enterprise x642.9
Microsoft Windows 8.1 Pro 32-bit2.9
Microsoft Windows 8.1 Pro x642.9
Microsoft Windows 102.9
Microsoft Windows 95/982.9
Microsoft Windows 2000 Advanced Server2.9
Microsoft Windows 2000 Datacenter Server2.9
Microsoft Windows 2000 Server2.9
Microsoft Windows 2000 Professional2.9
Microsoft Windows NT Workstation2.9
Microsoft Windows Server 2003 Datacenter Edition2.9
Microsoft Windows Server 2003 Enterprise Edition2.9
Microsoft Windows Server 2003 Standard Edition2.9
Microsoft Windows Server 2003 for x642.9
Microsoft Windows Server 20082.9
Microsoft Windows Server 2008 R22.9
Microsoft Windows Server 2008 for x642.9
Microsoft Windows Server 2012 Datacenter2.9
Microsoft Windows Server 2012 R2 Datacenter2.9
Microsoft Windows Server 2012 R2 Std2.9
Microsoft Windows Server 2012 Std2.9
Microsoft Windows Server 20162.9
Microsoft Windows Server 20192.9
Microsoft Windows XP Professional2.9
Windows 7 Enterprise 32 bit2.9
Windows 7 Enterprise x642.9
Windows 7 Home Premium 32 bit2.9
Windows 7 Home Premium x642.9
Windows 7 Professional 32 bit2.9
Windows 7 Professional x642.9
Windows 7 Ultimate 32 bit2.9
Windows 7 Ultimate x642.9
Windows Millennium Edition (Me)2.9
Windows Vista2.9
Windows Vista for x642.9
64-bit Enabled AIX2.9
64-bit Enabled Solaris2.9
HP-UX IPF2.9
Linux for x642.9
Solaris for x642.9
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.