Skip to content
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

Code Security Finding: Unvalidated/Open Redirect (CWE-601, Low Severity) in OpenRedirectServlet.java:64 #89

Open
2 tasks
joshn-whitesource-app bot opened this issue Feb 15, 2024 · 0 comments
Labels
Mend: code security findings Code security findings detected by Mend

Comments

@joshn-whitesource-app
Copy link
Contributor

joshn-whitesource-app bot commented Feb 15, 2024

Code Security Finding

This finding was first detected on 2023-12-06 01:34pm GMT and is still present in the last scan performed on 2024-02-15 10:26pm GMT:

SeverityVulnerability TypeCWEFileData Flows
LowUnvalidated/Open Redirect

CWE-601

OpenRedirectServlet.java:64

2
Vulnerable Code

} else {
/* account lock count +1 */
incrementLoginFailedCount(userid);
session.setAttribute("authNMsg", getErrMsg("msg.authentication.fail", locale));
res.sendRedirect("/openredirect/login" + loginQueryString);

2 Data Flow/s detected
View Data Flow 1
View Data Flow 2
Secure Code Warrior Training Material

● Training

   ▪ Secure Code Warrior Unvalidated/Open Redirect Training

● Videos

   ▪ Secure Code Warrior Unvalidated/Open Redirect Video

● Further Reading

   ▪ OWASP Unvalidated Redirects and Forwards Cheat Sheet

🏴 Suppress Finding
  • ... as False Alarm
  • ... as Acceptable Risk
@joshn-whitesource-app joshn-whitesource-app bot added the Mend: code security findings Code security findings detected by Mend label Feb 15, 2024
@joshn-whitesource-app joshn-whitesource-app bot changed the title Code Security Finding: Unvalidated/Open Redirect (CWE-601, Low Severity) in OpenRedirectServlet.java:64 Code Security Finding: Unvalidated/Open Redirect (CWE-601, Low Severity) in OpenRedirectServlet.java:39 Feb 15, 2024
@joshn-whitesource-app joshn-whitesource-app bot changed the title Code Security Finding: Unvalidated/Open Redirect (CWE-601, Low Severity) in OpenRedirectServlet.java:39 Code Security Finding: Unvalidated/Open Redirect (CWE-601, Low Severity) in OpenRedirectServlet.java:64 Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: code security findings Code security findings detected by Mend
Projects
None yet
Development

No branches or pull requests

0 participants