Cross-site Request Forgery (CSRF) Affecting org.hswebframework.web:hsweb-system-oauth2-client-web package, versions [,3.0.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.21% (59th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGHSWEBFRAMEWORKWEB-73566
  • published30 Dec 2018
  • disclosed30 Dec 2018
  • creditUnknown

Introduced: 30 Dec 2018

CVE-2018-20595  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade org.hswebframework.web:hsweb-system-oauth2-client-web to version 3.0.5 or higher.

Overview

org.hswebframework.web:hsweb-system-oauth2-client-web is a basic project for quickly setting up an enterprise back-end management system.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) due to a lack of a comparison between the state parameter in the request and the state parameter in the session after user authentication is successful.

CVSS Scores

version 3.1