Technical Notes |
|
This technical note describes a security vulnerability in Verastream Integration Broker (VIB). Please evaluate your exposure and apply the recommended workarounds.
This security vulnerability results from the behavior of the Windows CreateProcess() and CreateProcessAsUser() APIs when they are called in a certain way. If there are one or more spaces in the path name of the process being created, then under certain conditions, Windows could launch an executable whose name matches the process name when truncated at a space in the path name.
To exploit this vulnerability, some other attack would be needed to get a malicious executable file installed in the correct location with the correct name.
This vulnerability has been found to exist in Windows applications from numerous vendors. Additional information can be found on the iDefense Advisory web site, http://www.idefense.com/intelligence/vulnerabilities/display.php?id=340, or on the French Security Incident Response Team web site, http://www.frsirt.com/english/reference/901.
VCP server registrations (saved in PARDIR/snregtab.dat) are not vulnerable, as these executable command lines are always quoted.
The Edit Partitioning Tables (Partitioning Table Maintenance) administrative tool is used to create distributed services (such as Data Server). To avoid the vulnerability, use quotes when entering a local directory containing spaces.
Partitioning server registrations are saved in PARDIR/dpclient.dat of the server system. The default Windows installation does not use any partitioning server registrations.
If you define a printer of type "v" (temporary file), your command (device) should be enclosed in quotes if it contains spaces.
Note: The PRINTER object is deprecated, originally for use in character-based and GUI application development. Printers of type "v" are normally not used on Windows, and none are created by the default Windows installation.
VSL programmers using the functions PROGRAM BASE, PROGRAM_SILENT BASE, or PROGRAM_NOWAIT BASE should make sure paths containing spaces are quoted.
Note: In version 9.8 and earlier, if you are opening a document file (starting an application associated with the file extension), the quoted command may fail or execute slowly. To avoid this problem, do one of the following:
This vulnerability exists in version 9.8 and earlier. The product online help opens an external web browser, by default based on the system HTML file type association. To work around the vulnerability:
HTMLBROWSECMD=<HTML> |
HTMLBROWSECMD="C:\Program Files\Internet Explorer\IEXPLORE.EXE" "<HTML>" |
This vulnerability exists in version 9.8 and earlier. The HTML preview of query results opens an external web browser. To workaround the vulnerability, edit the sn.ini as directed in the previous section.
This vulnerability exists in version 9.8 and earlier. The Master-Detail Wizard is used to generate a VSL application for displaying and editing database tables that have a one-to-many relationship. In step 7 (Finish tab) of the wizard there is an option to start the application through the system association of the .lgc file extension. This option is labeled: "Exit and execute the default MS-Registry command for VSL files (i.e., Open)."
To avoid the vulnerability in version 9.8, save the .lgc file in a path without spaces, or do not use this option (manually execute the application separately after exiting the wizard).
This vulnerability exists in version 9.8 and earlier. To workaround this issue in version 9.8, install VIB in a path that does not contain a space character. This issue is fixed in version 9.9.
This vulnerability exists in version 9.8 and earlier. To work around the vulnerability:
SNTRCEXE=%SNPRODUCTROOTDIR%\bin\novatrc -w |
SNTRCEXE="%SNPRODUCTROOTDIR%\bin\novatrc" -w |
Attachmate posts notifications of security vulnerabilities on our support site. Check http://support.attachmate.com/ for updates about Verastream products.