CVE-2021-33580
N/A
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Apache Software Foundation | Apache Roller | Apache Roller < 6.0.2 | affected |
Weaknesses
- CWE-400: CWE-400 Uncontrolled Resource Consumption
Workarounds
This problem has been fixed in Roller 6.0.2. If you are not able to upgrade then you can "work around" the problem.
If Banned-Words Referrer processing is enabled and you are concerned about this type of attack then disable it.
In the Roller properties, set this property site.bannedwordslist.enable.referrers=false
ADP Enrichment
CVE Program Container
Additional References
- https://lists.apache.org/thread.html/r9d967d80af941717573e531db2c7353a90bfd0886e9b5d5d79f75506%40%3Cuser.roller.apache.org%3E
- http://www.openwall.com/lists/oss-security/2021/08/18/1
References
- https://lists.apache.org/thread.html/r9d967d80af941717573e531db2c7353a90bfd0886e9b5d5d79f75506%40%3Cuser.roller.apache.org%3E
- http://www.openwall.com/lists/oss-security/2021/08/18/1
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.