Skip to content
Medium 5.5

cassandra-jdbc-wrapper: Authentication Token Exposed in Logs

CVE-2026-73504 First seen on SecPulse

Affected packages

PackageAffected → Fixed
ing-bankcassandra-jdbc-wrapper —
Mavencom.ing.data:cassandra-jdbc-wrapper
< 4.16.4→ 4.16.4
Original description The description as published by the source.

Summary

The fix for AIKIDO-2024-10565 (plaintext password logging) introduced two
redaction helpers — DriverUtil.toStringWithoutSensitiveValues() and
DriverUtil.redactSensitiveValuesInJdbcUrl() — but both helpers only redact
the "password" property/parameter (JdbcUrlUtil.TAG_PASSWORD). The equally
sensitive "token" property (JdbcUrlUtil.TAG_TOKEN), used for DataStax
Astra and other token-based Cassandra authentication, is completely unredacted
by both helpers. Applications using token-based authentication with DEBUG
logging enabled will therefore log the live authentication token in plaintext
via SessionHolder's calls to these same two helpers — the exact same
exposure pattern that the original fix was intended to prevent.

Details

File: src/main/java/com/ing/data/cassandra/jdbc/utils/DriverUtil.java

// toStringWithoutSensitiveValues (lines 341-347) -- only redacts "password"
public static String toStringWithoutSensitiveValues(final Properties properties) {
    final Properties withRedactedSensitiveValues = (Properties) properties.clone();
    if (withRedactedSensitiveValues.containsKey(TAG_PASSWORD)) {
        withRedactedSensitiveValues.setProperty(TAG_PASSWORD, "***");
    }
    return withRedactedSensitiveValues.toString();
}

// redactSensitiveValuesInJdbcUrl (lines 355-378) -- only redacts "password"
final String redactedQuery = Arrays.stream(...)
    .map(param -> {
        if (param…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details