Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jamesmacwhite/9dcc1ea2907ab146fbc4dfafdebe6080 to your computer and use it in GitHub Desktop.
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)
:: 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