NormanWenzelWSS / WebGoat

WebGoat is a deliberately insecure application
https://owasp.org/www-project-webgoat/
Other
0 stars 1 forks source link

webgoat-server-8.2.3-SNAPSHOT.jar: 12 vulnerabilities (highest severity is: 10.0) #61

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-8.2.3-SNAPSHOT.jar

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

Path to vulnerable library: /webgoat-lessons/challenge/pom.xml,/webgoat-integration-tests/pom.xml,/webgoat-container/pom.xml,/webwolf/pom.xml,/webgoat-server/pom.xml,/webgoat-lessons/jwt/pom.xml

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (webgoat-server version) Remediation Possible**
CVE-2022-22965 Critical 10.0 spring-beans-5.3.14.jar Transitive N/A*
CVE-2022-1471 High 8.3 snakeyaml-1.29.jar Transitive N/A*
WS-2019-0490 High 8.1 jcommander-1.72.jar Transitive N/A*
CVE-2022-42004 High 7.5 jackson-databind-2.13.1.jar Transitive N/A*
CVE-2022-42003 High 7.5 jackson-databind-2.13.1.jar Transitive N/A*
CVE-2022-25857 High 7.5 snakeyaml-1.29.jar Transitive N/A*
CVE-2020-36518 High 7.5 jackson-databind-2.13.1.jar Transitive N/A*
CVE-2023-20863 Medium 6.5 spring-expression-5.3.14.jar Transitive N/A*
CVE-2023-20861 Medium 6.5 spring-expression-5.3.14.jar Transitive N/A*
CVE-2022-22950 Medium 6.5 spring-expression-5.3.14.jar Transitive N/A*
CVE-2022-22968 Medium 5.3 spring-context-5.3.14.jar Transitive N/A*
CVE-2022-22970 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

CVE-2022-22965 ### Vulnerable Library - spring-beans-5.3.14.jar

Spring Beans

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

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

Path to vulnerable library: /webgoat-integration-tests/pom.xml,/webwolf/pom.xml,/docker/pom.xml,/webgoat-container/pom.xml,/webgoat-server/pom.xml

Dependency Hierarchy: - webgoat-server-8.2.3-SNAPSHOT.jar (Root Library) - webgoat-container-8.2.3-SNAPSHOT.jar - spring-boot-starter-web-2.6.2.jar - spring-boot-starter-2.6.2.jar - spring-boot-2.6.2.jar - spring-context-5.3.14.jar - spring-aop-5.3.14.jar - :x: **spring-beans-5.3.14.jar** (Vulnerable Library)

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Found in base branch: develop

### 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 (10.0)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Changed - Impact Metrics: - Confidentiality Impact: Low - 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-2022-1471 ### Vulnerable Library - snakeyaml-1.29.jar

YAML 1.1 parser and emitter for Java

Library home page: http://www.snakeyaml.org

Path to dependency file: /webwolf/pom.xml

Path to vulnerable library: /webwolf/pom.xml,/docker/pom.xml,/webgoat-container/pom.xml,/webgoat-server/pom.xml,/webgoat-integration-tests/pom.xml

Dependency Hierarchy: - webgoat-server-8.2.3-SNAPSHOT.jar (Root Library) - webgoat-container-8.2.3-SNAPSHOT.jar - spring-boot-starter-web-2.6.2.jar - spring-boot-starter-2.6.2.jar - :x: **snakeyaml-1.29.jar** (Vulnerable Library)

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Found in base branch: develop

### Vulnerability Details

SnakeYaml's Constructor() class does not restrict types which can be instantiated during deserialization. Deserializing yaml content provided by an attacker can lead to remote code execution. We recommend using SnakeYaml's SafeConsturctor when parsing untrusted content to restrict deserialization. We recommend upgrading to version 2.0 and beyond.

Publish Date: 2022-12-01

URL: CVE-2022-1471

### CVSS 3 Score Details (8.3)

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: Low

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64634374

Release Date: 2022-12-01

Fix Resolution: org.yaml:snakeyaml:2.0

WS-2019-0490 ### Vulnerable Library - jcommander-1.72.jar

Command line parsing

Library home page: http://jcommander.org

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

Path to vulnerable library: /webgoat-container/pom.xml,/webgoat-integration-tests/pom.xml,/webgoat-server/pom.xml

Dependency Hierarchy: - webgoat-server-8.2.3-SNAPSHOT.jar (Root Library) - webgoat-container-8.2.3-SNAPSHOT.jar - asciidoctorj-2.5.2.jar - :x: **jcommander-1.72.jar** (Vulnerable Library)

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Found in base branch: develop

### Vulnerability Details

Inclusion of Functionality from Untrusted Control Sphere vulnerability found in jcommander before 1.75. jcommander resolving dependencies over HTTP instead of HTTPS.

Publish Date: 2019-02-19

URL: WS-2019-0490

### CVSS 3 Score Details (8.1)

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: High

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Release Date: 2019-02-19

Fix Resolution: com.beust:jcommander:1.75

CVE-2022-42004 ### Vulnerable Library - jackson-databind-2.13.1.jar

General data-binding functionality for Jackson: works on core streaming API

Library home page: http://github.com/FasterXML/jackson

Path to dependency file: /webgoat-lessons/challenge/pom.xml

Path to vulnerable library: /webgoat-lessons/challenge/pom.xml,/webgoat-integration-tests/pom.xml,/webgoat-container/pom.xml,/webwolf/pom.xml,/webgoat-server/pom.xml,/webgoat-lessons/jwt/pom.xml

Dependency Hierarchy: - webgoat-server-8.2.3-SNAPSHOT.jar (Root Library) - webgoat-container-8.2.3-SNAPSHOT.jar - spring-boot-starter-web-2.6.2.jar - spring-boot-starter-json-2.6.2.jar - :x: **jackson-databind-2.13.1.jar** (Vulnerable Library)

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Found in base branch: develop

### Vulnerability Details

In FasterXML jackson-databind before 2.13.4, resource exhaustion can occur because of a lack of a check in BeanDeserializer._deserializeFromArray to prevent use of deeply nested arrays. An application is vulnerable only with certain customized choices for deserialization.

Publish Date: 2022-10-02

URL: CVE-2022-42004

### CVSS 3 Score Details (7.5)

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: None - Availability Impact: High

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Release Date: 2022-10-02

Fix Resolution: com.fasterxml.jackson.core:jackson-databind:2.13.4

CVE-2022-42003 ### Vulnerable Library - jackson-databind-2.13.1.jar

General data-binding functionality for Jackson: works on core streaming API

Library home page: http://github.com/FasterXML/jackson

Path to dependency file: /webgoat-lessons/challenge/pom.xml

Path to vulnerable library: /webgoat-lessons/challenge/pom.xml,/webgoat-integration-tests/pom.xml,/webgoat-container/pom.xml,/webwolf/pom.xml,/webgoat-server/pom.xml,/webgoat-lessons/jwt/pom.xml

Dependency Hierarchy: - webgoat-server-8.2.3-SNAPSHOT.jar (Root Library) - webgoat-container-8.2.3-SNAPSHOT.jar - spring-boot-starter-web-2.6.2.jar - spring-boot-starter-json-2.6.2.jar - :x: **jackson-databind-2.13.1.jar** (Vulnerable Library)

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Found in base branch: develop

### Vulnerability Details

In FasterXML jackson-databind before versions 2.13.4.1 and 2.12.17.1, resource exhaustion can occur because of a lack of a check in primitive value deserializers to avoid deep wrapper array nesting, when the UNWRAP_SINGLE_VALUE_ARRAYS feature is enabled.

Publish Date: 2022-10-02

URL: CVE-2022-42003

### CVSS 3 Score Details (7.5)

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: None - Availability Impact: High

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Release Date: 2022-10-02

Fix Resolution: com.fasterxml.jackson.core:jackson-databind:2.12.7.1,2.13.4.1

CVE-2022-25857 ### Vulnerable Library - snakeyaml-1.29.jar

YAML 1.1 parser and emitter for Java

Library home page: http://www.snakeyaml.org

Path to dependency file: /webwolf/pom.xml

Path to vulnerable library: /webwolf/pom.xml,/docker/pom.xml,/webgoat-container/pom.xml,/webgoat-server/pom.xml,/webgoat-integration-tests/pom.xml

Dependency Hierarchy: - webgoat-server-8.2.3-SNAPSHOT.jar (Root Library) - webgoat-container-8.2.3-SNAPSHOT.jar - spring-boot-starter-web-2.6.2.jar - spring-boot-starter-2.6.2.jar - :x: **snakeyaml-1.29.jar** (Vulnerable Library)

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Found in base branch: develop

### Vulnerability Details

The package org.yaml:snakeyaml from 0 and before 1.31 are vulnerable to Denial of Service (DoS) due missing to nested depth limitation for collections.

Publish Date: 2022-08-30

URL: CVE-2022-25857

### CVSS 3 Score Details (7.5)

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: None - Availability Impact: High

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: test

Release Date: 2022-08-30

Fix Resolution: test

CVE-2020-36518 ### Vulnerable Library - jackson-databind-2.13.1.jar

General data-binding functionality for Jackson: works on core streaming API

Library home page: http://github.com/FasterXML/jackson

Path to dependency file: /webgoat-lessons/challenge/pom.xml

Path to vulnerable library: /webgoat-lessons/challenge/pom.xml,/webgoat-integration-tests/pom.xml,/webgoat-container/pom.xml,/webwolf/pom.xml,/webgoat-server/pom.xml,/webgoat-lessons/jwt/pom.xml

Dependency Hierarchy: - webgoat-server-8.2.3-SNAPSHOT.jar (Root Library) - webgoat-container-8.2.3-SNAPSHOT.jar - spring-boot-starter-web-2.6.2.jar - spring-boot-starter-json-2.6.2.jar - :x: **jackson-databind-2.13.1.jar** (Vulnerable Library)

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Found in base branch: develop

### Vulnerability Details

jackson-databind before 2.13.0 allows a Java StackOverflow exception and denial of service via a large depth of nested objects. Mend Note: After conducting further research, Mend has determined that all versions of com.fasterxml.jackson.core:jackson-databind up to version 2.13.2 are vulnerable to CVE-2020-36518.

Publish Date: 2022-03-11

URL: CVE-2020-36518

### CVSS 3 Score Details (7.5)

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: None - Availability Impact: High

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Release Date: 2022-03-11

Fix Resolution: com.fasterxml.jackson.core:jackson-databind:2.12.6.1,2.13.2.1

CVE-2023-20863 ### Vulnerable Library - spring-expression-5.3.14.jar

Spring Expression Language (SpEL)

Path to dependency file: /docker/pom.xml

Path to vulnerable library: /docker/pom.xml,/webgoat-container/pom.xml,/webgoat-integration-tests/pom.xml,/webgoat-server/pom.xml,/webwolf/pom.xml

Dependency Hierarchy: - webgoat-server-8.2.3-SNAPSHOT.jar (Root Library) - webgoat-container-8.2.3-SNAPSHOT.jar - spring-boot-starter-web-2.6.2.jar - spring-boot-starter-2.6.2.jar - spring-boot-2.6.2.jar - spring-context-5.3.14.jar - :x: **spring-expression-5.3.14.jar** (Vulnerable Library)

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Found in base branch: develop

### 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.3.14.jar

Spring Expression Language (SpEL)

Path to dependency file: /docker/pom.xml

Path to vulnerable library: /docker/pom.xml,/webgoat-container/pom.xml,/webgoat-integration-tests/pom.xml,/webgoat-server/pom.xml,/webwolf/pom.xml

Dependency Hierarchy: - webgoat-server-8.2.3-SNAPSHOT.jar (Root Library) - webgoat-container-8.2.3-SNAPSHOT.jar - spring-boot-starter-web-2.6.2.jar - spring-boot-starter-2.6.2.jar - spring-boot-2.6.2.jar - spring-context-5.3.14.jar - :x: **spring-expression-5.3.14.jar** (Vulnerable Library)

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Found in base branch: develop

### 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.3.14.jar

Spring Expression Language (SpEL)

Path to dependency file: /docker/pom.xml

Path to vulnerable library: /docker/pom.xml,/webgoat-container/pom.xml,/webgoat-integration-tests/pom.xml,/webgoat-server/pom.xml,/webwolf/pom.xml

Dependency Hierarchy: - webgoat-server-8.2.3-SNAPSHOT.jar (Root Library) - webgoat-container-8.2.3-SNAPSHOT.jar - spring-boot-starter-web-2.6.2.jar - spring-boot-starter-2.6.2.jar - spring-boot-2.6.2.jar - spring-context-5.3.14.jar - :x: **spring-expression-5.3.14.jar** (Vulnerable Library)

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Found in base branch: develop

### 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-2022-22968 ### Vulnerable Library - spring-context-5.3.14.jar

Spring Context

Path to dependency file: /docker/pom.xml

Path to vulnerable library: /docker/pom.xml,/webgoat-container/pom.xml,/webgoat-server/pom.xml,/webgoat-integration-tests/pom.xml,/webwolf/pom.xml

Dependency Hierarchy: - webgoat-server-8.2.3-SNAPSHOT.jar (Root Library) - webgoat-container-8.2.3-SNAPSHOT.jar - spring-boot-starter-web-2.6.2.jar - spring-boot-starter-2.6.2.jar - spring-boot-2.6.2.jar - :x: **spring-context-5.3.14.jar** (Vulnerable Library)

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Found in base branch: develop

### 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-2022-22970 ### Vulnerable Libraries - spring-beans-5.3.14.jar, spring-core-5.3.14.jar

### spring-beans-5.3.14.jar

Spring Beans

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

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

Path to vulnerable library: /webgoat-integration-tests/pom.xml,/webwolf/pom.xml,/docker/pom.xml,/webgoat-container/pom.xml,/webgoat-server/pom.xml

Dependency Hierarchy: - webgoat-server-8.2.3-SNAPSHOT.jar (Root Library) - webgoat-container-8.2.3-SNAPSHOT.jar - spring-boot-starter-web-2.6.2.jar - spring-boot-starter-2.6.2.jar - spring-boot-2.6.2.jar - spring-context-5.3.14.jar - spring-aop-5.3.14.jar - :x: **spring-beans-5.3.14.jar** (Vulnerable Library) ### spring-core-5.3.14.jar

Spring Core

Path to dependency file: /docker/pom.xml

Path to vulnerable library: /docker/pom.xml,/webgoat-integration-tests/pom.xml,/webwolf/pom.xml,/webgoat-server/pom.xml,/webgoat-container/pom.xml

Dependency Hierarchy: - webgoat-server-8.2.3-SNAPSHOT.jar (Root Library) - webgoat-container-8.2.3-SNAPSHOT.jar - spring-boot-starter-web-2.6.2.jar - spring-boot-starter-2.6.2.jar - spring-boot-2.6.2.jar - :x: **spring-core-5.3.14.jar** (Vulnerable Library)

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Found in base branch: develop

### 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