regex injection leading to DoS
Vulnerability Description
User controlled `request.getHeader("Referer")`, `request.getRequestURL()` and `request.getQueryString()` are used to build and run a regex expression. The attacker doesn't have to use a browser and may send a specially crafted Referer header programmatically. Since the attacker controls the string and the regex pattern he may cause a ReDoS by regex catastrophic backtracking on the server side. This problem has been fixed in Roller 6.0.2.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2021-33580
Credits & Attribution
The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:
- Apache Roller would like to thank Ed Ra (https://github.com/edvraa) for reporting this.
References
More from Apache Software Foundation
View All →Affected Vendor
Apache Software Foundation
View all reports →