regex injection leading to DoS
CVE-2021-33580
7.5HIGH
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 Version(s)
Apache Roller Apache Roller < 6.0.2
References
CVSS V3.1
Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Apache Roller would like to thank Ed Ra (https://github.com/edvraa) for reporting this.