DTOO146 - Excel - Trust access for VBA must be disallowed.


VSTO projects require access to the Visual Basic for Applications project system in Excel, PowerPoint, and Word, even though the projects do not use Visual Basic for Applications. Design-time support of controls in both Visual Basic and C# projects depends on the Visual Basic for Applications project system in Word and Excel. By default, Excel, Word, and PowerPoint do not allow automation clients to have programmatic access to VBA projects. Users can enable this by selecting the Trust access to the VBA project object model in the Macro Settings section of the Trust Center. However, doing so allows macros in any documents the user opens to access the core Visual Basic objects, methods, and properties, which represents a potential security hazard.


Set the policy value for User Configuration -> Administrative Templates -> Microsoft Excel 2010 -> Excel Options -> Security -> Trust Center 'Trust access to Visual Basic Project' to 'Disabled'.

See Also


Item Details


References: 800-53|CM-7a., CAT|II, CCI|CCI-000381, Rule-ID|SV-33444r1_rule, STIG-ID|DTOO146, Vuln-ID|V-17522

Plugin: Windows

Control ID: c3c15c5ce29c9e2e176e462bc7257c080b7f67eaef7f856429906764fc26c374