Skip to content

QID-38863 | Weak SSL/TLS Key Exchange - can't find a way to specify strong TLS/SSL exchange key - ECC curves #5211

@nsthakur7

Description

@nsthakur7

Description

Our vulnerability management tool - Qualys Scan reports a vulnerability > QID-38863 | Weak SSL/TLS Key Exchange. For the remediation, it suggests changing the SSL/TLS server configuration to only allow strong key exchanges.

Key exchanges used on the server should provide at least 112 bits of security, so the minimum key size to not flag this QID should be: 2048 bit key size for Diffie Hellman (DH) or RSA key exchanges 224 bit key size for Elliptic Curve Diffie Hellman (EDCH) key exchanges.

Issue

The problem is that the CouchDB config file (local.ini) only allows the specification of the cipher suites but does not have a config setting to specify ECC curves. We have specified strong TLS/SSL exchange keys at Windows Server Registry SChannel, but CouchDB doesn't load those ECC curves.

Here is the output of "SSLSCAN.exe 127.0.0.1:5984 (The weak TLS/SSL exchange keys are highlighted in RED)

unnamed

Steps to Reproduce

The sslscan tool list the cipher and exchange key loaded by couchdb.

sslscan.exe --tls12 127.0.0.1:5984

Expected Behaviour

  • Need a config setting in the [SSL] section, which allows to specify the Elliptic curve (ECC) keys to use. We want to specify strong key exchanges like secp224k1, secp224r1, secp256k1, secp256r1.
  • We cannot upgrade to TLS1.3 due to infrastructure limitations at the moment.
  • We want to disable the ECC curves highlighted in RED in the attached file
    unnamed

Kindly suggests how we can remediate this security vulnerability.

Your Environment

UAT environment

https://localhost:5984

  • CouchDB version used: 3.2.2
  • Browser name and version: Edge and Version 128.0.2739.54 (Official Build) (64-bit)
  • Operating system and version: Microsoft Windows Server 2016 Datacenter

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions