Last active
January 1, 2022 21:15
-
-
Save jamesmacwhite/9dcc1ea2907ab146fbc4dfafdebe6080 to your computer and use it in GitHub Desktop.
APC PowerChute Business Edition 10.x Log4j CVE mitigation (CVE-2021- 44228 CVE-2021- 45046)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: CVE-2021-44228 and CVE-2021-45046 mitigation for APC PowerChute Business Edition 10.x | |
:: Reference: https://www.se.com/ww/en/download/document/SESB-2021-347-01/ | |
:: This batch script must be run as administrator and have 7-Zip installed. | |
@echo off | |
cd "C:\Program Files (x86)\APC\PowerChute Business Edition\agent\lib" | |
net stop apcpbeagent | |
"C:\Program Files\7-Zip\7z.exe" d log4jcore-2.14.1.jar JndiLookup.class -r | |
net start apcpbeagent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment