ReachabilityOrg / WebGoat_8.1.0

Other
0 stars 2 forks source link

webgoat-server-v8.1.0.jar: 27 vulnerabilities (highest severity is: 9.8) reachable #17

Open dev-mend-for-github-com[bot] opened 1 year ago

dev-mend-for-github-com[bot] commented 1 year ago
Vulnerable Library - webgoat-server-v8.1.0.jar

Path to dependency file: /webgoat-integration-tests/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-core/5.2.2.RELEASE/spring-core-5.2.2.RELEASE.jar

Found in HEAD commit: d009fa7fce1dede0a3ec27d4e5deb31ab5da228b

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (webgoat-server-v8.1.0.jar version) Remediation Possible** Reachability
CVE-2022-22965 Critical 9.8 spring-beans-5.2.2.RELEASE.jar Transitive N/A*

Reachable

CVE-2021-22112 High 8.8 spring-security-web-5.2.1.RELEASE.jar Transitive N/A*

Reachable

CVE-2020-5398 High 7.5 spring-web-5.2.2.RELEASE.jar Transitive N/A*

Reachable

CVE-2020-25638 High 7.4 hibernate-core-5.4.9.Final.jar Transitive N/A*

Reachable

WS-2017-3767 Medium 6.6 spring-security-web-5.2.1.RELEASE.jar Transitive N/A*

Reachable

CVE-2023-20863 Medium 6.5 spring-expression-5.2.2.RELEASE.jar Transitive N/A*

Reachable

CVE-2023-20861 Medium 6.5 spring-expression-5.2.2.RELEASE.jar Transitive N/A*

Reachable

CVE-2022-22950 Medium 6.5 spring-expression-5.2.2.RELEASE.jar Transitive N/A*

Reachable

CVE-2020-5421 Medium 6.5 spring-web-5.2.2.RELEASE.jar Transitive N/A*

Reachable

CVE-2020-5408 Medium 6.5 spring-security-core-5.2.1.RELEASE.jar Transitive N/A*

Reachable

CVE-2019-14900 Medium 6.5 hibernate-core-5.4.9.Final.jar Transitive N/A*

Reachable

WS-2020-0293 Medium 5.9 spring-security-web-5.2.1.RELEASE.jar Transitive N/A*

Reachable

CVE-2022-22968 Medium 5.3 spring-context-5.2.2.RELEASE.jar Transitive N/A*

Reachable

CVE-2020-5397 Medium 5.3 detected in multiple dependencies Transitive N/A*

Reachable

CVE-2020-10693 Medium 5.3 hibernate-validator-6.0.18.Final.jar Transitive N/A*

Reachable

CVE-2022-22970 Medium 4.3 detected in multiple dependencies Transitive N/A*

Reachable

CVE-2021-22096 Medium 4.3 detected in multiple dependencies Transitive N/A*

Reachable

CVE-2020-10683 Critical 9.8 dom4j-2.1.1.jar Transitive N/A*

Unreachable

CVE-2016-1000027 Critical 9.8 spring-web-5.2.2.RELEASE.jar Transitive N/A*

Unreachable

CVE-2022-1471 High 8.3 snakeyaml-1.25.jar Transitive N/A*

Unreachable

CVE-2021-22118 High 7.8 spring-web-5.2.2.RELEASE.jar Transitive N/A*

Unreachable

CVE-2022-25857 High 7.5 snakeyaml-1.25.jar Transitive N/A*

Unreachable

CVE-2017-18640 High 7.5 snakeyaml-1.25.jar Transitive N/A*

Unreachable

WS-2016-7107 Medium 5.9 spring-security-web-5.2.1.RELEASE.jar Transitive N/A*

Unreachable

WS-2019-0490 High 8.1 jcommander-1.35.jar Transitive N/A*
CVE-2022-27772 High 7.8 spring-boot-2.2.2.RELEASE.jar Transitive N/A*
CVE-2021-22060 Medium 4.3 detected in multiple dependencies Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

Partial details (16 vulnerabilities) are displayed below due to a content size limitation in GitHub. To view information on the remaining vulnerabilities, navigate to the Mend Application.

CVE-2022-22965 ### Vulnerable Library - spring-beans-5.2.2.RELEASE.jar

Spring Beans

Library home page: https://github.com/spring-projects/spring-framework

Path to dependency file: /webgoat-server/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-beans/5.2.2.RELEASE/spring-beans-5.2.2.RELEASE.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-web-2.2.2.RELEASE.jar - spring-boot-starter-2.2.2.RELEASE.jar - spring-boot-2.2.2.RELEASE.jar - spring-context-5.2.2.RELEASE.jar - spring-aop-5.2.2.RELEASE.jar - :x: **spring-beans-5.2.2.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: d009fa7fce1dede0a3ec27d4e5deb31ab5da228b

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.beans.CachedIntrospectionResults (Application) -> org.springframework.boot.SpringApplication (Extension) -> ❌ org.owasp.webwolf.WebWolf (Vulnerable Component) ```

### Vulnerability Details

A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific exploit requires the application to run on Tomcat as a WAR deployment. If the application is deployed as a Spring Boot executable jar, i.e. the default, it is not vulnerable to the exploit. However, the nature of the vulnerability is more general, and there may be other ways to exploit it. Mend Note: Converted from WS-2022-0107, on 2022-11-07.

Publish Date: 2022-04-01

URL: CVE-2022-22965

### CVSS 3 Score Details (9.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://spring.io/blog/2022/03/31/spring-framework-rce-early-announcement

Release Date: 2022-04-01

Fix Resolution: org.springframework:spring-beans:5.2.20.RELEASE,5.3.18

CVE-2021-22112 ### Vulnerable Library - spring-security-web-5.2.1.RELEASE.jar

spring-security-web

Library home page: http://spring.io/spring-security

Path to dependency file: /webgoat-integration-tests/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-web/5.2.1.RELEASE/spring-security-web-5.2.1.RELEASE.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-security-2.2.2.RELEASE.jar - :x: **spring-security-web-5.2.1.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: d009fa7fce1dede0a3ec27d4e5deb31ab5da228b

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.security.web.context.HttpSessionSecurityContextRepository (Application) -> org.springframework.security.web.context.HttpSessionSecurityContextRepository$SaveToSessionRequestWrapper (Extension) -> org.eclipse.jetty.security.authentication.ClientCertAuthenticator (Extension) -> io.undertow.servlet.api.ServletContainer$Factory (Extension) ... -> io.undertow.servlet.spec.ServletContextImpl (Extension) -> io.undertow.servlet.spec.HttpServletResponseImpl (Extension) -> ❌ org.owasp.webgoat.idor.IDORViewOtherProfile (Vulnerable Component) ```

### Vulnerability Details

Spring Security 5.4.x prior to 5.4.4, 5.3.x prior to 5.3.8.RELEASE, 5.2.x prior to 5.2.9.RELEASE, and older unsupported versions can fail to save the SecurityContext if it is changed more than once in a single request.A malicious user cannot cause the bug to happen (it must be programmed in). However, if the application's intent is to only allow the user to run with elevated privileges in a small portion of the application, the bug can be leveraged to extend those privileges to the rest of the application.

Publish Date: 2021-02-23

URL: CVE-2021-22112

### CVSS 3 Score Details (8.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://tanzu.vmware.com/security/cve-2021-22112

Release Date: 2021-02-23

Fix Resolution: org.springframework.security:spring-security-web:5.2.9,5.3.8,5.4.4

CVE-2020-5398 ### Vulnerable Library - spring-web-5.2.2.RELEASE.jar

Spring Web

Library home page: https://github.com/spring-projects/spring-framework

Path to dependency file: /webgoat-integration-tests/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-web/5.2.2.RELEASE/spring-web-5.2.2.RELEASE.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-web-2.2.2.RELEASE.jar - spring-boot-starter-json-2.2.2.RELEASE.jar - :x: **spring-web-5.2.2.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: d009fa7fce1dede0a3ec27d4e5deb31ab5da228b

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.http.ContentDisposition (Application) -> org.springframework.http.ReadOnlyHttpHeaders (Extension) -> ❌ org.owasp.webgoat.password_reset.ResetLinkAssignmentForgotPassword (Vulnerable Component) ```

### Vulnerability Details

In Spring Framework, versions 5.2.x prior to 5.2.3, versions 5.1.x prior to 5.1.13, and versions 5.0.x prior to 5.0.16, an application is vulnerable to a reflected file download (RFD) attack when it sets a "Content-Disposition" header in the response where the filename attribute is derived from user supplied input.

Publish Date: 2020-01-16

URL: CVE-2020-5398

### CVSS 3 Score Details (7.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://pivotal.io/security/cve-2020-5398

Release Date: 2020-01-17

Fix Resolution: org.springframework:spring-web:5.0.16.RELEASE,org.springframework:spring-web:5.1.13.RELEASE,org.springframework:spring-web:5.2.3.RELEASE

CVE-2020-25638 ### Vulnerable Library - hibernate-core-5.4.9.Final.jar

Hibernate's core ORM functionality

Library home page: http://hibernate.org/orm

Path to dependency file: /webgoat-container/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/hibernate/hibernate-core/5.4.9.Final/hibernate-core-5.4.9.Final.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-data-jpa-2.2.2.RELEASE.jar - :x: **hibernate-core-5.4.9.Final.jar** (Vulnerable Library)

Found in HEAD commit: d009fa7fce1dede0a3ec27d4e5deb31ab5da228b

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.hibernate.hql.internal.ast.tree.DotNode (Application) -> org.hibernate.hql.internal.ast.util.ASTReferencedTablesPrinter (Extension) -> org.hibernate.hql.internal.ast.util.TokenPrinters (Extension) -> org.hibernate.type.spi.TypeConfiguration (Extension) ... -> org.hibernate.dialect.AbstractHANADialect (Extension) -> org.hibernate.dialect.AbstractHANADialect$MaterializedNClob (Extension) -> ❌ org.owasp.webgoat.sql_injection.advanced.SqlInjectionChallenge (Vulnerable Component) ```

### Vulnerability Details

A flaw was found in hibernate-core in versions prior to and including 5.4.23.Final. A SQL injection in the implementation of the JPA Criteria API can permit unsanitized literals when a literal is used in the SQL comments of the query. This flaw could allow an attacker to access unauthorized information or possibly conduct further attacks. The highest threat from this vulnerability is to data confidentiality and integrity.

Publish Date: 2020-12-02

URL: CVE-2020-25638

### CVSS 3 Score Details (7.4)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: None

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://in.relation.to/2020/11/19/hibernate-orm-5424-final-release/

Release Date: 2020-12-02

Fix Resolution: org.hibernate:hibernate-core:5.3.20.Final,5.4.24.Final

WS-2017-3767 ### Vulnerable Library - spring-security-web-5.2.1.RELEASE.jar

spring-security-web

Library home page: http://spring.io/spring-security

Path to dependency file: /webgoat-integration-tests/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-web/5.2.1.RELEASE/spring-security-web-5.2.1.RELEASE.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-security-2.2.2.RELEASE.jar - :x: **spring-security-web-5.2.1.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: d009fa7fce1dede0a3ec27d4e5deb31ab5da228b

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.security.web.authentication.switchuser.SwitchUserFilter (Application) -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration (Extension) -> ❌ org.owasp.webgoat.WebSecurityConfig (Vulnerable Component) ```

### Vulnerability Details

Cross-Site Request Forgery (CSRF) vulnerability was found in spring-security before 4.2.15, 5.0.15, 5.1.9, 5.2.3, and 5.3.1. SwitchUserFilter responds to all HTTP methods, making it vulnerable to CSRF attacks.

Publish Date: 2017-01-03

URL: WS-2017-3767

### CVSS 3 Score Details (6.6)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: Low

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Release Date: 2017-01-03

Fix Resolution: org.springframework.security:spring-security-web:4.2.15,5.0.15,5.1.9,5.2.3,5.3.1

CVE-2023-20863 ### Vulnerable Library - spring-expression-5.2.2.RELEASE.jar

Spring Expression Language (SpEL)

Library home page: https://github.com/spring-projects/spring-framework

Path to dependency file: /webwolf/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-expression/5.2.2.RELEASE/spring-expression-5.2.2.RELEASE.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-web-2.2.2.RELEASE.jar - spring-boot-starter-2.2.2.RELEASE.jar - spring-boot-2.2.2.RELEASE.jar - spring-context-5.2.2.RELEASE.jar - :x: **spring-expression-5.2.2.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: d009fa7fce1dede0a3ec27d4e5deb31ab5da228b

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.expression.spel.SpelMessage (Application) -> org.springframework.expression.spel.support.StandardTypeComparator (Extension) -> org.springframework.expression.spel.support.StandardEvaluationContext (Extension) -> org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler (Extension) -> org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer (Extension) -> ❌ org.owasp.webgoat.WebSecurityConfig (Vulnerable Component) ```

### Vulnerability Details

In spring framework versions prior to 5.2.24 release+ ,5.3.27+ and 6.0.8+ , it is possible for a user to provide a specially crafted SpEL expression that may cause a denial-of-service (DoS) condition.

Publish Date: 2023-04-13

URL: CVE-2023-20863

### CVSS 3 Score Details (6.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://spring.io/security/cve-2023-20863

Release Date: 2023-04-13

Fix Resolution: org.springframework:spring-expression - 5.2.24.RELEASE,5.3.27,6.0.8

CVE-2023-20861 ### Vulnerable Library - spring-expression-5.2.2.RELEASE.jar

Spring Expression Language (SpEL)

Library home page: https://github.com/spring-projects/spring-framework

Path to dependency file: /webwolf/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-expression/5.2.2.RELEASE/spring-expression-5.2.2.RELEASE.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-web-2.2.2.RELEASE.jar - spring-boot-starter-2.2.2.RELEASE.jar - spring-boot-2.2.2.RELEASE.jar - spring-context-5.2.2.RELEASE.jar - :x: **spring-expression-5.2.2.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: d009fa7fce1dede0a3ec27d4e5deb31ab5da228b

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.expression.spel.ast.OperatorMatches (Application) -> org.springframework.expression.spel.standard.InternalSpelExpressionParser (Extension) -> org.springframework.expression.spel.standard.SpelExpressionParser (Extension) -> org.springframework.context.event.EventListenerMethodProcessor (Extension) ... -> org.springframework.context.annotation.AnnotatedBeanDefinitionReader (Extension) -> org.springframework.boot.web.reactive.context.AnnotationConfigReactiveWebApplicationContext (Extension) -> ❌ org.owasp.webgoat.WebSecurityConfig (Vulnerable Component) ```

### Vulnerability Details

In Spring Framework versions 6.0.0 - 6.0.6, 5.3.0 - 5.3.25, 5.2.0.RELEASE - 5.2.22.RELEASE, and older unsupported versions, it is possible for a user to provide a specially crafted SpEL expression that may cause a denial-of-service (DoS) condition.

Publish Date: 2023-03-23

URL: CVE-2023-20861

### CVSS 3 Score Details (6.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://spring.io/security/cve-2023-20861

Release Date: 2023-03-23

Fix Resolution: org.springframework:spring-expression:x5.2.23.RELEASE,5.3.26,6.0.7

CVE-2022-22950 ### Vulnerable Library - spring-expression-5.2.2.RELEASE.jar

Spring Expression Language (SpEL)

Library home page: https://github.com/spring-projects/spring-framework

Path to dependency file: /webwolf/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-expression/5.2.2.RELEASE/spring-expression-5.2.2.RELEASE.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-web-2.2.2.RELEASE.jar - spring-boot-starter-2.2.2.RELEASE.jar - spring-boot-2.2.2.RELEASE.jar - spring-context-5.2.2.RELEASE.jar - :x: **spring-expression-5.2.2.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: d009fa7fce1dede0a3ec27d4e5deb31ab5da228b

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.expression.spel.SpelMessage (Application) -> org.springframework.expression.spel.support.StandardTypeComparator (Extension) -> org.springframework.expression.spel.support.StandardEvaluationContext (Extension) -> org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler (Extension) -> org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer (Extension) -> ❌ org.owasp.webgoat.WebSecurityConfig (Vulnerable Component) ```

### Vulnerability Details

n Spring Framework versions 5.3.0 - 5.3.16 and older unsupported versions, it is possible for a user to provide a specially crafted SpEL expression that may cause a denial of service condition.

Publish Date: 2022-04-01

URL: CVE-2022-22950

### CVSS 3 Score Details (6.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://tanzu.vmware.com/security/cve-2022-22950

Release Date: 2022-04-01

Fix Resolution: org.springframework:spring-expression:5.2.20,5.3.17

CVE-2020-5421 ### Vulnerable Library - spring-web-5.2.2.RELEASE.jar

Spring Web

Library home page: https://github.com/spring-projects/spring-framework

Path to dependency file: /webgoat-integration-tests/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-web/5.2.2.RELEASE/spring-web-5.2.2.RELEASE.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-web-2.2.2.RELEASE.jar - spring-boot-starter-json-2.2.2.RELEASE.jar - :x: **spring-web-5.2.2.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: d009fa7fce1dede0a3ec27d4e5deb31ab5da228b

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.web.util.WebUtils (Application) -> org.springframework.web.util.UrlPathHelper (Extension) -> org.springframework.web.filter.ForwardedHeaderFilter$ForwardedHeaderExtractingRequest (Extension) -> ch.qos.logback.classic.gaffer.GafferUtil (Extension) ... -> org.slf4j.impl.StaticLoggerBinder (Extension) -> org.slf4j.LoggerFactory (Extension) -> ❌ org.owasp.webwolf.FileServer (Vulnerable Component) ```

### Vulnerability Details

In Spring Framework versions 5.2.0 - 5.2.8, 5.1.0 - 5.1.17, 5.0.0 - 5.0.18, 4.3.0 - 4.3.28, and older unsupported versions, the protections against RFD attacks from CVE-2015-5211 may be bypassed depending on the browser used through the use of a jsessionid path parameter.

Publish Date: 2020-09-17

URL: CVE-2020-5421

### CVSS 3 Score Details (6.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: Low - User Interaction: Required - Scope: Changed - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: High - Availability Impact: None

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://tanzu.vmware.com/security/cve-2020-5421

Release Date: 2020-09-19

Fix Resolution: org.springframework:spring-web:4.3.29,5.0.19,5.1.18,5.2.9

CVE-2020-5408 ### Vulnerable Library - spring-security-core-5.2.1.RELEASE.jar

spring-security-core

Library home page: http://spring.io/spring-security

Path to dependency file: /webwolf/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.2.1.RELEASE/spring-security-core-5.2.1.RELEASE.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-security-2.2.2.RELEASE.jar - spring-security-config-5.2.1.RELEASE.jar - :x: **spring-security-core-5.2.1.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: d009fa7fce1dede0a3ec27d4e5deb31ab5da228b

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder (Application) -> org.springframework.security.crypto.factory.PasswordEncoderFactories (Extension) -> org.springframework.security.core.userdetails.User (Extension) -> ❌ org.owasp.webgoat.users.WebGoatUser (Vulnerable Component) ```

### Vulnerability Details

Spring Security versions 5.3.x prior to 5.3.2, 5.2.x prior to 5.2.4, 5.1.x prior to 5.1.10, 5.0.x prior to 5.0.16 and 4.2.x prior to 4.2.16 use a fixed null initialization vector with CBC Mode in the implementation of the queryable text encryptor. A malicious user with access to the data that has been encrypted using such an encryptor may be able to derive the unencrypted values using a dictionary attack.

Publish Date: 2020-05-13

URL: CVE-2020-5408

### CVSS 3 Score Details (6.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: None - Availability Impact: None

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-5408

Release Date: 2020-05-14

Fix Resolution: org.springframework.security:spring-security-crypto:4.2.16,5.0.16,5.1.10,5.2.4,5.3.2,org.springframework.security:spring-security-core:4.2.16,5.0.16,5.1.10,5.2.4,5.3.2

CVE-2019-14900 ### Vulnerable Library - hibernate-core-5.4.9.Final.jar

Hibernate's core ORM functionality

Library home page: http://hibernate.org/orm

Path to dependency file: /webgoat-container/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/hibernate/hibernate-core/5.4.9.Final/hibernate-core-5.4.9.Final.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-data-jpa-2.2.2.RELEASE.jar - :x: **hibernate-core-5.4.9.Final.jar** (Vulnerable Library)

Found in HEAD commit: d009fa7fce1dede0a3ec27d4e5deb31ab5da228b

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.hibernate.query.criteria.internal.expression.LiteralExpression (Application) -> org.hibernate.internal.AbstractSessionImpl (Extension) -> org.hibernate.hql.spi.id.persistent.Helper (Extension) -> org.hibernate.hql.spi.id.persistent.PersistentTableBulkIdStrategy (Extension) ... -> org.hibernate.dialect.AbstractHANADialect (Extension) -> org.hibernate.dialect.AbstractHANADialect$MaterializedNClob (Extension) -> ❌ org.owasp.webgoat.sql_injection.advanced.SqlInjectionChallenge (Vulnerable Component) ```

### Vulnerability Details

A flaw was found in Hibernate ORM in versions before 5.3.18, 5.4.18 and 5.5.0.Beta1. A SQL injection in the implementation of the JPA Criteria API can permit unsanitized literals when a literal is used in the SELECT or GROUP BY parts of the query. This flaw could allow an attacker to access unauthorized information or possibly conduct further attacks.

Publish Date: 2020-07-06

URL: CVE-2019-14900

### CVSS 3 Score Details (6.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: None - Availability Impact: None

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-14900

Release Date: 2020-07-06

Fix Resolution: org.hibernate:hibernate-core:5.4.18.Final

WS-2020-0293 ### Vulnerable Library - spring-security-web-5.2.1.RELEASE.jar

spring-security-web

Library home page: http://spring.io/spring-security

Path to dependency file: /webgoat-integration-tests/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-web/5.2.1.RELEASE/spring-security-web-5.2.1.RELEASE.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-security-2.2.2.RELEASE.jar - :x: **spring-security-web-5.2.1.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: d009fa7fce1dede0a3ec27d4e5deb31ab5da228b

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.security.web.csrf.CsrfFilter (Application) -> org.springframework.security.config.annotation.web.configurers.CsrfConfigurer (Extension) -> ❌ org.owasp.webgoat.WebSecurityConfig (Vulnerable Component) ```

### Vulnerability Details

Spring Security before 5.2.9, 5.3.7, and 5.4.3 vulnerable to side-channel attacks. Vulnerable versions of Spring Security don't use constant time comparisons for CSRF tokens.

Publish Date: 2020-12-17

URL: WS-2020-0293

### CVSS 3 Score Details (5.9)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: None - Availability Impact: None

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Release Date: 2020-12-17

Fix Resolution: org.springframework.security:spring-security-web:5.2.9,5.3.7,5.4.3

CVE-2022-22968 ### Vulnerable Library - spring-context-5.2.2.RELEASE.jar

Spring Context

Library home page: https://github.com/spring-projects/spring-framework

Path to dependency file: /webgoat-integration-tests/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-context/5.2.2.RELEASE/spring-context-5.2.2.RELEASE.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-web-2.2.2.RELEASE.jar - spring-boot-starter-2.2.2.RELEASE.jar - spring-boot-2.2.2.RELEASE.jar - :x: **spring-context-5.2.2.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: d009fa7fce1dede0a3ec27d4e5deb31ab5da228b

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.validation.DataBinder (Application) -> org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap (Extension) -> ❌ org.owasp.webgoat.password_reset.ResetLinkAssignment (Vulnerable Component) ```

### Vulnerability Details

In Spring Framework versions 5.3.0 - 5.3.18, 5.2.0 - 5.2.20, and older unsupported versions, the patterns for disallowedFields on a DataBinder are case sensitive which means a field is not effectively protected unless it is listed with both upper and lower case for the first character of the field, including upper and lower case for the first character of all nested fields within the property path.

Publish Date: 2022-04-14

URL: CVE-2022-22968

### CVSS 3 Score Details (5.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: Low - Availability Impact: None

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://tanzu.vmware.com/security/cve-2022-22968

Release Date: 2022-04-14

Fix Resolution: org.springframework:spring-context:5.2.21,5.3.19

CVE-2020-5397 ### Vulnerable Libraries - spring-webmvc-5.2.2.RELEASE.jar, spring-web-5.2.2.RELEASE.jar

### spring-webmvc-5.2.2.RELEASE.jar

Spring Web MVC

Library home page: https://github.com/spring-projects/spring-framework

Path to dependency file: /webgoat-integration-tests/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-webmvc/5.2.2.RELEASE/spring-webmvc-5.2.2.RELEASE.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-web-2.2.2.RELEASE.jar - :x: **spring-webmvc-5.2.2.RELEASE.jar** (Vulnerable Library) ### spring-web-5.2.2.RELEASE.jar

Spring Web

Library home page: https://github.com/spring-projects/spring-framework

Path to dependency file: /webgoat-integration-tests/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-web/5.2.2.RELEASE/spring-web-5.2.2.RELEASE.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-web-2.2.2.RELEASE.jar - spring-boot-starter-json-2.2.2.RELEASE.jar - :x: **spring-web-5.2.2.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: d009fa7fce1dede0a3ec27d4e5deb31ab5da228b

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.web.servlet.handler.AbstractHandlerMapping (Application) -> org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry (Extension) -> ❌ org.owasp.webgoat.MvcConfiguration (Vulnerable Component) ```

### Vulnerability Details

Spring Framework, versions 5.2.x prior to 5.2.3 are vulnerable to CSRF attacks through CORS preflight requests that target Spring MVC (spring-webmvc module) or Spring WebFlux (spring-webflux module) endpoints. Only non-authenticated endpoints are vulnerable because preflight requests should not include credentials and therefore requests should fail authentication. However a notable exception to this are Chrome based browsers when using client certificates for authentication since Chrome sends TLS client certificates in CORS preflight requests in violation of spec requirements. No HTTP body can be sent or received as a result of this attack.

Publish Date: 2020-01-16

URL: CVE-2020-5397

### CVSS 3 Score Details (5.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: Low - Availability Impact: None

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://pivotal.io/security/cve-2020-5397

Release Date: 2020-01-17

Fix Resolution: 5.2.3

CVE-2020-10693 ### Vulnerable Library - hibernate-validator-6.0.18.Final.jar

Hibernate's Bean Validation (JSR-380) reference implementation.

Library home page: http://hibernate.org/validator

Path to dependency file: /webgoat-container/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/hibernate/validator/hibernate-validator/6.0.18.Final/hibernate-validator-6.0.18.Final.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-web-2.2.2.RELEASE.jar - spring-boot-starter-validation-2.2.2.RELEASE.jar - :x: **hibernate-validator-6.0.18.Final.jar** (Vulnerable Library)

Found in HEAD commit: d009fa7fce1dede0a3ec27d4e5deb31ab5da228b

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.hibernate.validator.internal.engine.messageinterpolation.parser.MessageState (Application) -> org.hibernate.validator.internal.engine.messageinterpolation.parser.TokenCollector (Extension) -> org.hibernate.validator.messageinterpolation.AbstractMessageInterpolator (Extension) -> org.springframework.boot.autoconfigure.validation.ValidatorAdapter (Extension) ... -> org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration (Extension) -> org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$OptionalPathExtensionContentNegotiationStrategy (Extension) -> ❌ org.owasp.webgoat.WebSecurityConfig (Vulnerable Component) ```

### Vulnerability Details

A flaw was found in Hibernate Validator version 6.1.2.Final. A bug in the message interpolation processor enables invalid EL expressions to be evaluated as if they were valid. This flaw allows attackers to bypass input sanitation (escaping, stripping) controls that developers may have put in place when handling user-controlled data in error messages.

Publish Date: 2020-05-06

URL: CVE-2020-10693

### CVSS 3 Score Details (5.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: Low - Availability Impact: None

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://hibernate.atlassian.net/projects/HV/issues/HV-1774

Release Date: 2020-05-06

Fix Resolution: org.hibernate.validator:hibernate-validator:6.0.20.Final,org.hibernate.validator:hibernate-validator:6.1.5.Final,org.hibernate.validator:hibernate-validator:7.0.0.Alpha2

CVE-2022-22970 ### Vulnerable Libraries - spring-beans-5.2.2.RELEASE.jar, spring-core-5.2.2.RELEASE.jar

### spring-beans-5.2.2.RELEASE.jar

Spring Beans

Library home page: https://github.com/spring-projects/spring-framework

Path to dependency file: /webgoat-server/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-beans/5.2.2.RELEASE/spring-beans-5.2.2.RELEASE.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-web-2.2.2.RELEASE.jar - spring-boot-starter-2.2.2.RELEASE.jar - spring-boot-2.2.2.RELEASE.jar - spring-context-5.2.2.RELEASE.jar - spring-aop-5.2.2.RELEASE.jar - :x: **spring-beans-5.2.2.RELEASE.jar** (Vulnerable Library) ### spring-core-5.2.2.RELEASE.jar

Spring Core

Library home page: https://github.com/spring-projects/spring-framework

Path to dependency file: /webgoat-server/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-core/5.2.2.RELEASE/spring-core-5.2.2.RELEASE.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-web-2.2.2.RELEASE.jar - spring-boot-starter-2.2.2.RELEASE.jar - spring-boot-2.2.2.RELEASE.jar - :x: **spring-core-5.2.2.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: d009fa7fce1dede0a3ec27d4e5deb31ab5da228b

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.beans.CachedIntrospectionResults (Application) -> org.springframework.boot.SpringApplication (Extension) -> ❌ org.owasp.webwolf.WebWolf (Vulnerable Component) ```

### Vulnerability Details

In spring framework versions prior to 5.3.20+ , 5.2.22+ and old unsupported versions, applications that handle file uploads are vulnerable to DoS attack if they rely on data binding to set a MultipartFile or javax.servlet.Part to a field in a model object.

Publish Date: 2022-05-12

URL: CVE-2022-22970

### CVSS 3 Score Details (4.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Adjacent - Attack Complexity: High - Privileges Required: Low - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: Low

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://tanzu.vmware.com/security/cve-2022-22970

Release Date: 2022-05-12

Fix Resolution: org.springframework:spring-beans:5.2.22,5.3.20;org.springframework:spring-core:5.2.22,5.3.20