REDHAT-BUG-2577539: Medium severity vulnerability
A flaw was found in Hawtio. The FlightRecordingDownloadFacade servlet filter uses a regular expression with an unbounded leading greedy quantifier (.) executed via non-anchored Matcher.find() on every GET request under /jolokia/ and /proxy/. A crafted long request URI with no matching literal causes quadratic backtracking, pinning the handling thread at full CPU.
Affected Software
Frequently Asked Questions
Which requests can trigger the issue?
The vulnerable regular expression is evaluated on every GET request under the /jolokia/* and /proxy/* paths. A long crafted request URI that does not contain the expected literal can cause quadratic backtracking.
What does an attacker need to exploit it?
An attacker needs to send a crafted long GET request URI to an affected /jolokia/* or /proxy/* endpoint. Successful triggering pins the request-handling thread at full CPU.
What is the likely operational impact?
Repeated or concurrent crafted requests could consume request-handling threads and CPU, potentially reducing availability for legitimate requests served by the affected paths.