This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.
Description
Multiple Roboticsware products provided by Roboticsware PTE. LTD. register Windows services with unquoted file paths. A user with the write permission on the root directory of the system drive may execute arbitrary code with SYSTEM privilege.
A vulnerability exists in multiple Roboticsware products due to the registration of Windows services with unquoted file paths. This issue affects FA-Panel6, BA-Panel6, PA-Panel6, and FA-Server6, all through and including Rev17. A user with write permissions on the root directory of the system drive could exploit this vulnerability to execute arbitrary code with SYSTEM privileges.
Users are advised to apply the patch provided by Roboticsware. After installing the patch, download the 'opc_security_patch.zip' file from the Roboticsware download page, extract it, and run the 'opc_security_patch.bat' file as an administrator. If applying the patch is not feasible, the registry can be edited manually to enclose the ImagePath values of the OpcEnum and CategoryManager services in quotes, ensuring they point to the correct executable paths.
Download the "opc_security_patch.zip" file and execute the "opc_security_patch.bat" file with Administrator privileges.
Workaround:low effort
Manually edit the registry:
1. Open the Registry Editor (regedit) with Administrator privileges.
2. Navigate to the following keys:
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OpcEnum
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CategoryManager
3. Double-click the "ImagePath" value for each and change it to the following:
- OpcEnum:
- Before: C:\Program Files (x86)\Common Files\Roboticsware\Ver6\opc\OpcEnum.exe
- After: "C:\Program Files (x86)\Common Files\Roboticsware\Ver6\opc\OpcEnum.exe"
- CategoryManager:
- Before: C:\Program Files\Common Files\Roboticsware\Ver6\opc\OpcCategoryManager.exe
- After: "C:\Program Files\Common Files\Roboticsware\Ver6\opc\OpcCategoryManager.exe"
4. Verify the changes by executing the following commands:
- reg query "HKLM\SYSTEM\CurrentControlSet\Services\OpcEnum" /v ImagePath
- reg query "HKLM\SYSTEM\CurrentControlSet\Services\CategoryManager" /v ImagePath
The "ImagePath" should now be enclosed in quotes.
Download the "opc_security_patch.zip" file and execute the "opc_security_patch.bat" file with Administrator privileges.
Workaround:low effort
Manually edit the registry:
1. Open the Registry Editor (regedit) with Administrator privileges.
2. Navigate to the following keys:
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OpcEnum
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CategoryManager
3. Double-click the "ImagePath" value for each and change it to the following:
- OpcEnum:
- Before: C:\Program Files (x86)\Common Files\Roboticsware\Ver6\opc\OpcEnum.exe
- After: "C:\Program Files (x86)\Common Files\Roboticsware\Ver6\opc\OpcEnum.exe"
- CategoryManager:
- Before: C:\Program Files\Common Files\Roboticsware\Ver6\opc\OpcCategoryManager.exe
- After: "C:\Program Files\Common Files\Roboticsware\Ver6\opc\OpcCategoryManager.exe"
4. Verify the changes by executing the following commands:
- reg query "HKLM\SYSTEM\CurrentControlSet\Services\OpcEnum" /v ImagePath
- reg query "HKLM\SYSTEM\CurrentControlSet\Services\CategoryManager" /v ImagePath
The "ImagePath" should now be enclosed in quotes.
Download the "opc_security_patch.zip" file and execute the "opc_security_patch.bat" file with Administrator privileges.
Workaround:low effort
Manually edit the registry:
1. Open the Registry Editor (regedit) with Administrator privileges.
2. Navigate to the following keys:
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OpcEnum
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CategoryManager
3. Double-click the "ImagePath" value for each and change it to the following:
- OpcEnum:
- Before: C:\Program Files (x86)\Common Files\Roboticsware\Ver6\opc\OpcEnum.exe
- After: "C:\Program Files (x86)\Common Files\Roboticsware\Ver6\opc\OpcEnum.exe"
- CategoryManager:
- Before: C:\Program Files\Common Files\Roboticsware\Ver6\opc\OpcCategoryManager.exe
- After: "C:\Program Files\Common Files\Roboticsware\Ver6\opc\OpcCategoryManager.exe"
4. Verify the changes by executing the following commands:
- reg query "HKLM\SYSTEM\CurrentControlSet\Services\OpcEnum" /v ImagePath
- reg query "HKLM\SYSTEM\CurrentControlSet\Services\CategoryManager" /v ImagePath
The "ImagePath" should now be enclosed in quotes.
Download the "opc_security_patch.zip" file and execute the "opc_security_patch.bat" file with Administrator privileges.
Workaround:low effort
Manually edit the registry:
1. Open the Registry Editor (regedit) with Administrator privileges.
2. Navigate to the following keys:
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OpcEnum
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CategoryManager
3. Double-click the "ImagePath" value for each and change it to the following:
- OpcEnum:
- Before: C:\Program Files (x86)\Common Files\Roboticsware\Ver6\opc\OpcEnum.exe
- After: "C:\Program Files (x86)\Common Files\Roboticsware\Ver6\opc\OpcEnum.exe"
- CategoryManager:
- Before: C:\Program Files\Common Files\Roboticsware\Ver6\opc\OpcCategoryManager.exe
- After: "C:\Program Files\Common Files\Roboticsware\Ver6\opc\OpcCategoryManager.exe"
4. Verify the changes by executing the following commands:
- reg query "HKLM\SYSTEM\CurrentControlSet\Services\OpcEnum" /v ImagePath
- reg query "HKLM\SYSTEM\CurrentControlSet\Services\CategoryManager" /v ImagePath
The "ImagePath" should now be enclosed in quotes.