A flaw was found in wildfly-core. A remote attacker, authenticated as a 'deployer' account, can import and deploy a malicious archive file from an untrusted source. This is achieved by leveraging WildFly libraries to craft a Java project that allows an HTTP POST request to upload and deploy the malicious archive. This could lead to further exploitation, such as arbitrary file read vulnerabilities.
To mitigate this vulnerability, restrict access to the 'deployer' account to only authorized and trusted administrators. Implement strong authentication policies for this account and consider limiting its permissions to prevent the deployment of untrusted applications. Ensure that the WildFly management interfaces are not exposed to untrusted networks and that only verified and signed applications are permitted for deployment. If the 'deployer' role is not strictly necessary, consider disabling or removing it. Changes to WildFly configuration may require a service restart to take effect.