Vulnerabilities

5 via 8 paths

Dependencies

101

Source

GitHub

Commit

ff25fcd9

Find, fix and prevent vulnerabilities in your code.

Issue type
  • 5
  • 2
Severity
  • 1
  • 5
  • 1
Status
  • 7
  • 0
  • 0

high severity

Improper Authorization

  • Vulnerable module: com.hazelcast:hazelcast
  • Introduced through: com.hazelcast:hazelcast@4.2.8

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp#ff25fcd9f5e9c7d6ceaaa62e779aeb45faec6db6 com.hazelcast:hazelcast@4.2.8
    Remediation: Upgrade to com.hazelcast:hazelcast@5.2.5.

Overview

com.hazelcast:hazelcast is a clustering and highly scalable data distribution platform.

Affected versions of this package are vulnerable to Improper Authorization due to missing permission checks on the Hazelcast client protocol. Authenticated users can access data stored in the cluster by exploiting this oversight.

Remediation

Upgrade com.hazelcast:hazelcast to version 5.2.5, 5.3.5 or higher.

References

medium severity

Improper Access Control

  • Vulnerable module: com.hazelcast:hazelcast
  • Introduced through: com.hazelcast:hazelcast@4.2.8

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp#ff25fcd9f5e9c7d6ceaaa62e779aeb45faec6db6 com.hazelcast:hazelcast@4.2.8
    Remediation: Upgrade to com.hazelcast:hazelcast@5.2.5.

Overview

com.hazelcast:hazelcast is a clustering and highly scalable data distribution platform.

Affected versions of this package are vulnerable to Improper Access Control due to inadequate permission checking, within the SQL mapping for the CSV File Source connector. This could enable unauthorized clients to access data from files stored on a member's filesystem.

Workaround

This vulnerability can be avoided by disabling the Hazelcast Jet processing engine in Hazelcast member configuration - which will result in SQL and Jet jobs not working.

Remediation

Upgrade com.hazelcast:hazelcast to version 5.2.5, 5.3.5 or higher.

References

medium severity

Insufficiently Protected Credentials

  • Vulnerable module: com.hazelcast:hazelcast
  • Introduced through: com.hazelcast:hazelcast@4.2.8

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp#ff25fcd9f5e9c7d6ceaaa62e779aeb45faec6db6 com.hazelcast:hazelcast@4.2.8
    Remediation: Upgrade to com.hazelcast:hazelcast@5.1.6.

Overview

com.hazelcast:hazelcast is a clustering and highly scalable data distribution platform.

Affected versions of this package are vulnerable to Insufficiently Protected Credentials via the ConfigXmlGenerator component due to improper password masking in the member configurations. Exploiting this vulnerability allows Hazelcast Management Center users to view members' secrets.

Remediation

Upgrade com.hazelcast:hazelcast to version 5.1.6, 5.3.0 or higher.

References

medium severity
new

External Initialization of Trusted Variables or Data Stores

  • Vulnerable module: ch.qos.logback:logback-core
  • Introduced through: ch.qos.logback:logback-classic@1.5.18

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp#ff25fcd9f5e9c7d6ceaaa62e779aeb45faec6db6 ch.qos.logback:logback-classic@1.5.18 ch.qos.logback:logback-core@1.5.18
    Remediation: Upgrade to ch.qos.logback:logback-classic@1.5.19.

Overview

ch.qos.logback:logback-core is a logback-core module.

Affected versions of this package are vulnerable to External Initialization of Trusted Variables or Data Stores via the conditional processing of the logback.xml configuration file when both the Janino library and Spring Framework are present on the class path. An attacker can execute arbitrary code by compromising an existing configuration file or injecting a malicious environment variable before program execution. This is only exploitable if the attacker has write access to a configuration file or can set a malicious environment variable.

Remediation

Upgrade ch.qos.logback:logback-core to version 1.5.19 or higher.

References

medium severity

Dual license: EPL-1.0, LGPL-2.1

  • Module: ch.qos.logback:logback-classic
  • Introduced through: ch.qos.logback:logback-classic@1.5.18

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp#ff25fcd9f5e9c7d6ceaaa62e779aeb45faec6db6 ch.qos.logback:logback-classic@1.5.18

Dual license: EPL-1.0, LGPL-2.1

medium severity

Dual license: EPL-1.0, LGPL-2.1

  • Module: ch.qos.logback:logback-core
  • Introduced through: ch.qos.logback:logback-classic@1.5.18

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp#ff25fcd9f5e9c7d6ceaaa62e779aeb45faec6db6 ch.qos.logback:logback-classic@1.5.18 ch.qos.logback:logback-core@1.5.18

Dual license: EPL-1.0, LGPL-2.1

low severity

Information Exposure

  • Vulnerable module: org.jetbrains.kotlin:kotlin-stdlib
  • Introduced through: com.slack.api:slack-api-client@1.45.4

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp#ff25fcd9f5e9c7d6ceaaa62e779aeb45faec6db6 com.slack.api:slack-api-client@1.45.4 com.squareup.okhttp3:okhttp@4.12.0 org.jetbrains.kotlin:kotlin-stdlib-jdk8@1.8.21 org.jetbrains.kotlin:kotlin-stdlib@1.8.21
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp#ff25fcd9f5e9c7d6ceaaa62e779aeb45faec6db6 com.slack.api:slack-api-client@1.45.4 com.squareup.okhttp3:okhttp@4.12.0 org.jetbrains.kotlin:kotlin-stdlib-jdk8@1.8.21 org.jetbrains.kotlin:kotlin-stdlib-jdk7@1.8.21 org.jetbrains.kotlin:kotlin-stdlib@1.8.21
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp#ff25fcd9f5e9c7d6ceaaa62e779aeb45faec6db6 com.slack.api:slack-api-client@1.45.4 com.squareup.okhttp3:okhttp@4.12.0 com.squareup.okio:okio@3.6.0 com.squareup.okio:okio-jvm@3.6.0 org.jetbrains.kotlin:kotlin-stdlib-jdk8@1.8.21 org.jetbrains.kotlin:kotlin-stdlib@1.8.21
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp#ff25fcd9f5e9c7d6ceaaa62e779aeb45faec6db6 com.slack.api:slack-api-client@1.45.4 com.squareup.okhttp3:okhttp@4.12.0 com.squareup.okio:okio@3.6.0 com.squareup.okio:okio-jvm@3.6.0 org.jetbrains.kotlin:kotlin-stdlib-jdk8@1.8.21 org.jetbrains.kotlin:kotlin-stdlib-jdk7@1.8.21 org.jetbrains.kotlin:kotlin-stdlib@1.8.21

Overview

org.jetbrains.kotlin:kotlin-stdlib is a Kotlin Standard Library for JVM.

Affected versions of this package are vulnerable to Information Exposure. A Kotlin application using createTempDir or createTempFile and placing sensitive information within either of these locations would be leaking this information in a read-only way to other users also on this system.

Note: As of version 1.4.21, the vulnerable functions have been marked as deprecated. Due to still being usable, this advisory is kept as "unfixed".

PoC by JLLeitschuh

package org.jlleitschuh.sandbox

import org.junit.jupiter.api.Test
import java.io.BufferedReader
import java.io.File
import java.io.IOException
import java.io.InputStreamReader
import java.nio.file.Files

class KotlinTempDirectoryPermissionCheck {
    @Test
    fun `kotlin check default directory permissions`() {
        val dir = createTempDir()
        runLS(dir.parentFile, dir) // Prints drwxr-xr-x
    }

    @Test
    fun `Files check default directory permissions`() {
        val dir = Files.createTempDirectory("random-directory")
        runLS(dir.toFile().parentFile, dir.toFile()) // Prints drwx------
    }

    @Test
    fun `kotlin check default file permissions`() {
        val file = createTempFile()
        runLS(file.parentFile, file) // Prints -rw-r--r--
    }

    @Test
    fun `Files check default file permissions`() {
        val file = Files.createTempFile("random-file", ".txt")
        runLS(file.toFile().parentFile, file.toFile()) // Prints -rw-------
    }

    private fun runLS(file: File, lookingFor: File) {
        val processBuilder = ProcessBuilder()
        processBuilder.command("ls", "-l", file.absolutePath)
        try {
            val process = processBuilder.start()
            val output = StringBuilder()
            val reader = BufferedReader(
                InputStreamReader(process.inputStream)
            )
            reader.lines().forEach { line ->
                if (line.contains("total")) {
                    output.append(line).append('\n')
                }
                if (line.contains(lookingFor.name)) {
                    output.append(line).append('\n')
                }
            }
            val exitVal = process.waitFor()
            if (exitVal == 0) {
                println("Success!")
                println(output)
            } else {
                //abnormal...
            }
        } catch (e: IOException) {
            e.printStackTrace()
        } catch (e: InterruptedException) {
            e.printStackTrace()
        }
    }
}

Remediation

Upgrade org.jetbrains.kotlin:kotlin-stdlib to version 2.1.0 or higher.

References