CVE-2025-23368: Org.wildfly.core:wildfly-elytron-integration: wildfly elytron brute force attack via cli
Impact
A flaw was found in Wildfly Elytron integration. The component does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame, making it more susceptible to brute force attacks via CLI.
Patches
The default behaviour has been changed in WildFly Core 31.0.3.Final, and 32.0.0.Beta3 - the first version is used by WildFly 39.0.1.Final and the second will be included in WildFly 40.
Workarounds
No direct workaround. Monitoring network traffic / blocking suspicious traffic may help.
References
https://www.cve.org/CVERecord?id=CVE-2025-23368 https://issues.redhat.com/browse/WFCORE-7192
Acknowledgements
We would like to thank Claudia Bartolini (TIM S.p.A), Marco Ventura (TIM S.p.A), and Massimiliano Brolli (TIM S.p.A) for reporting this issue.
Other sources
The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame, making it more susceptible to brute force attacks via CLI.
Network access to any of WildFly or JBoss EAP’s exposed ports which require either HTTP or SASL authentication.
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/org.wildfly.core:wildfly-elytron-integrationto a version that resolves this vulnerability.Fixed in 31.0.3.Final - Upgrade
Upgrade
maven/org.wildfly.core:wildfly-elytron-integrationto a version that resolves this vulnerability.Fixed in 32.0.0.Beta3 - Upgrade
Upgrade
Org.wildfly.core:wildfly-elytron-integrationto a version that resolves this vulnerability.Fixed in 31.0.3.Final - Upgrade
Upgrade
Org.wildfly.core:wildfly-elytron-integrationto a version that resolves this vulnerability.Fixed in 32.0.0.Beta3 - Compensating control
Monitor network traffic and block suspicious traffic targeting WildFly or JBoss EAP exposed ports that require HTTP or SASL authentication.
Event History
Frequently Asked Questions
What is the severity of CVE-2025-23368?
CVE-2025-23368 is considered a medium severity vulnerability due to its potential for exploitation through brute force attacks.
How do I fix CVE-2025-23368?
To fix CVE-2025-23368, implement rate limiting for authentication attempts in WildFly Elytron integration to prevent brute force attacks.
What versions of WildFly Elytron integration are affected by CVE-2025-23368?
CVE-2025-23368 affects versions of WildFly Elytron integration up to and including 27.0.0.Final.
Can CVE-2025-23368 lead to unauthorized access?
Yes, CVE-2025-23368 can lead to unauthorized access if an attacker successfully exploits the vulnerability through brute force methods.
Is there a workaround for CVE-2025-23368?
A possible workaround for CVE-2025-23368 is to manually configure security settings to limit authentication attempts until an official patch is applied.