This script will find if Confluence is installed and if the vulnerability library still present.
Summary of Vulnerability
Atlassian has been made aware of current active exploitation of a critical severity unauthenticated remote code execution vulnerability in Confluence Data Center and Server. Further details about the vulnerability are being withheld until a fix is available.
We expect that security fixes for supported versions of Confluence will begin to be available for customer download within 24 hours (estimated time, by EOD June 3 PDT).
Remediation and Workaround found in here: https://confluence.atlassian.com/doc/confluence-security-advisory-2022-06-02-1130377146.html