-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SECURITY] Denial of service because of unsafe regex processing #23
Comments
Thank u for feedback . |
Hi, is there any update on this? |
Mitre assigned CVE-2021-37262 ID for the issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have tried to contact you by zcool321@sina.com and created #22 asking for the contact. Nobody replied.
The JFinal_cms is vulnerable to regex injection that may lead to Denial of Service.
User controlled
path
andcontextPath
are used to build and run a regex expression (first argument to replaceFirst):jfinal_cms/src/main/java/com/jflyfox/modules/filemanager/FileManager.java
Lines 929 to 949 in 1a96532
Since the attacker controls the string and the regex pattern he may cause a ReDoS by regex catastrophic backtracking on the server side.
The text was updated successfully, but these errors were encountered: