The information in this article applies to:
SUMMARY
Microsoft has released a patch for Microsoft Excel 97 that fixes a
vulnerability that could allow certain types of executables to be run
without a warning to the user. Q232652 XL97: Overview and History of Excel PatchesA legitimate Excel function, CALL, allows executables to be run from a worksheet and could be used to run executables of a malicious nature. A fully supported patch that disables this functionality is available. The patch works by disabling the CALL function on a worksheet, but does not disable the CALL function from within macros. Microsoft recommends that customers who need the CALL worksheet function evaluate the degree of risk that it poses to their systems and determine whether the best course of action is to apply the patch. The "Excel 97 SR-2 CALL Function Patch" is available at the following Microsoft Office Update Web site: http://officeupdate.microsoft.com/downloadDetails/xl97cfp.htmThe "Excel 97 SR-2 CALL Function Patch" is designed to update Microsoft Excel 97 Service Release 2 (SR-2). Microsoft does not currently have plans to provide a solution for the CALL vulnerability issue for earlier versions of Microsoft Excel. Because earlier versions of Excel do not provide full macro virus protection, disabling only the CALL worksheet function would not provide a significant level of safety as the CALL function can also be used in a macro. MORE INFORMATION
CALL is a legitimate, advanced function that calls an outside procedure in
a dynamic-link library (DLL) or code resource. The DLL or code resource
called could contain code to perform potentially damaging or malicious
behavior.
Note that the exclamation point (!) makes the formula volatile, recalculating any time the worksheet changes. In this example, the procedure named Test that is called can perform any type of operation including potentially damaging behavior. The CALL function simply executes this code which resides within the DLL. A custom DLL is not part of Excel nor is it contained in the workbook. The Call statement is used in a Visual Basic for Applications module sheet to call another macro located in the same workbook or transfer control to an intrinsic function, a dynamic-link library (DLL) procedure, or a procedure in a Macintosh code resource. This form of the Call statement cannot bypass the built-in macro virus protection. This example illustrates how the Call statement can transfer control to a Sub procedure.
Excel displays a warning before running macros, including those containing the Call statement, which allows you to decide whether or not to run them. However, Excel does not generate a warning before executing worksheet functions. Because the CALL function resides on the worksheet and not in a macro or module, you will not receive any warning when the workbook opens. The CALL function will then execute the intended procedure in a DLL or other code resource without warning. How Does the Patch Work?After you install the Excel 97 SR-2 CALL Function Patch, no prompts or alerts will appear notifying you of the patch. Everything will appear and function normally. However, when you use the CALL worksheet function or open a workbook that contains the CALL function, the result will always return the value FALSE. This indicates that the function is disabled and is not functional.How Can I Determine Whether the Patch Has Been Successfully Installed?When you run the Excel 97 SR-2 CALL Function Patch, it creates a log file named Xl8p4.log in the same folder that contains Excel. You can open this log file to determine whether you have successfully installed the patch. If installation is successful, the status message in the log file is similar to the following:
In addition, you can determine whether you have successfully installed the patch by following these steps:
Updating Excel.exe on Another Computer or Administrative InstallBy using setup switches, you can manually expand Xl8p4pkg.exe and force Xl8p4.exe to update a specific copy of Excel.exe; for example, you can update a copy of Excel.exe that is stored on a network server. To do this, follow these steps:
Running the Excel 97 SR-2 CALL Function Patch in Silent ModeYou can run the Excel 97 SR-2 CALL Function Patch in silent mode by using the /s switch when you run Xl8p4.exe. Note that you must run Xl8p4.exe from the command prompt (on the Start menu, click Run) to use these switches.For example, the following runs the patch in silent mode: path\xl8p4kg.exe /q /c:"xl8p4.exe /s"where path is the location of xl8p4.exe. REFERENCESFor more information about the CALL function, click Contents and Index
on the Help menu, click the Index tab in Excel 97 Help, type the
following text Calland then double-click the selected text to go to the "Call" topic. If you are unable to find the information you need, ask the Office Assistant. Additional query words: XL97
Keywords : kbpatch kbdta |
Last Reviewed: November 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |