CVE-2020-15813: Graylog parent Improper Certificate Validation Vulnerability

HIGH
Advisory Identifier: GHSA-3gg9-f3vh-866f
CVSS 8.1
CWE-295
Published
Advisory Summary

CVE-2020-15813 is a HIGH (CVSS 8.1) improper certificate validation vulnerability (CWE-295: Improper Certificate Validation) affecting Graylog parent libraries in the Maven ecosystem. The issue involves improper certificate validation in graylog. Remediation is available by upgrading affected packages to version 3.3.3.

CVE-2020-15813 at a Glance

CVE Identifier CVE-2020-15813
GHSA Identifier GHSA-3gg9-f3vh-866f
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-295: Improper Certificate Validation
Affected Product Graylog parent
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2020-15813

To remediate this vulnerability, upgrade all affected Graylog parent dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.graylog:graylog-parent fixed: 3.3.3
<dependency>
    <groupId>org.graylog</groupId>
    <artifactId>graylog-parent</artifactId>
    <version>3.3.3</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.graylog

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2020-15813, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.graylog

Analyze the terminal output to locate any version of Graylog parent in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.3.3), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.graylog command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-295: Improper Certificate Validation, where the product does not validate, or incorrectly validates, a certificate. In Graylog parent, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Graylog before 3.3.3 lacks SSL Certificate Validation for LDAP servers. It allows use of an external user/group database stored in LDAP. The connection configuration allows the usage of unencrypted, SSL- or TLS-secured connections. Unfortunately, the Graylog client code (in all versions that support LDAP) does not implement proper certificate validation (regardless of whether the "Allow self-signed certificates" option is used). Therefore, any attacker with the ability to intercept network traffic between a Graylog server and an LDAP server is able to redirect traffic to a different LDAP server (unnoticed by the Graylog server due to the lack of certificate validation), effectively bypassing Graylog's authentication mechanism.

CVE-2020-15813 Affected Graylog parent Versions

1 component(s)
Fixed Versions:
3.3.3
Product / Package Ecosystem Affected Versions Fixed Version
org.graylog:graylog-parent
Maven
< 3.3.3
3.3.3

References

Frequently Asked Questions

What is CVE-2020-15813?
CVE-2020-15813 is a security vulnerability in Graylog parent involving Improper Certificate Validation in Graylog under CWE-295: Improper Certificate Validation.
Which Graylog parent versions are affected?
Affected versions include releases prior to 3.3.3 across affected packages: org.graylog:graylog-parent.
What version fixes CVE-2020-15813?
Upgrading to 3.3.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is graylog-parent affected?
Yes, org.graylog:graylog-parent is affected in releases prior to 3.3.3. Upgrade your dependency to 3.3.3 or later.
What is the CVSS score of CVE-2020-15813?
CVE-2020-15813 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2020-15813?
CVE-2020-15813 is classified under CWE-295: Improper Certificate Validation (The product does not validate, or incorrectly validates, a certificate.).
How can I check Maven dependencies for CVE-2020-15813?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.graylog'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-3gg9-f3vh-866f",
  "modified" : "2021-05-10T21:16:56Z",
  "published" : "2022-02-10T22:39:58Z",
  "aliases" : [ "CVE-2020-15813" ],
  "summary" : "Improper Certificate Validation in Graylog",
  "details" : "Graylog before 3.3.3 lacks SSL Certificate Validation for LDAP servers. It allows use of an external user/group database stored in LDAP. The connection configuration allows the usage of unencrypted, SSL- or TLS-secured connections. Unfortunately, the Graylog client code (in all versions that support LDAP) does not implement proper certificate validation (regardless of whether the \"Allow self-signed certificates\" option is used). Therefore, any attacker with the ability to intercept network traffic between a Graylog server and an LDAP server is able to redirect traffic to a different LDAP server (unnoticed by the Graylog server due to the lack of certificate validation), effectively bypassing Graylog's authentication mechanism.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.graylog:graylog-parent"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.3.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-15813"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Graylog2/graylog2-server/issues/5906"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Graylog2/graylog2-server/pull/8569"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-295" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-05-10T21:16:56Z",
    "nvd_published_at" : "2020-07-17T19:15:00Z"
  }
}