NI has discovered a reflected cross-site scripting (XSS) vulnerability in a NI Web Server component installed with several NI products. An attacker could exploit this vulnerability by getting a user to open a specially crafted URL which executes arbitrary JavaScript code. Refer to the table below for a list of affected NI products.
This vulnerability is designated as CVE-2022-27237.
NI recommends that users upgrade the affected software products to fix against this issue. Refer to the Affected Products section below.
NI strongly recommends updating the affected products; however, if updating is not possible, the following workarounds can be used as a temporary measure.
Systems with the affected products are only vulnerable to this issue if the NI Web Server is enabled. If the system does not require the NI Web Server, it can be disabled through the NI Web Server Configuration application.
• If the NI Web Server wasn’t previously enabled, you will see an NI Web Server Guided Setup screen upon launching the application, and no further action is required. Otherwise, continue with the steps to disable the NI Web Server.
If the NI Web Server is required for your system, the following file should be modified:
• Note: If this file does not exist, your system is not susceptible to the vulnerability. No further action is required.
<script>
var authRedirectUri = '<!--#echo encoding=base64 var=AUTH_REDIR_URI -->';
var redirect = `${window.location.origin}/#login?external=${atob(authRedirectUri)}`;
window.location.href = redirect;
</script>>
Product Version | Mitigation |
---|---|
SystemLink 2020 R4 (20.6) SystemLink 2021 R1 (21.0) SystemLink 2021 R2 (21.1) | |
FlexLogger 2021 R2 FlexLogger 2021 R3 FlexLogger 2021 R4 | |
LabVIEW 2021 | |
LabVIEW 2021 Community Edition | |
G Web Development Software 2021 | |
G Web Development Software 2021 - Community Edition | |
Static Test Software Suite 1.1 |
CVE-2022-27237 - 8.8 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
At NI, we view the security of our products as an important part of our commitment to our customers. Go to ni.com/security to stay informed and act upon security alerts and issues.