LiveActive security incident?Get immediate response
CVE Record

CVE-2020-36658: In Apache::Session::LDAP before 0.5, validity of the X.509 certificate is not checked by default when conne...

In Apache::Session::LDAP before 0.5, validity of the X.509 certificate is not checked by default when connecting to remote LDAP backends, because the default configuration of the Net::LDAPS module for Perl is used. NOTE: this can, for example, be fixed in conjunction with the CVE-2020-16093 fix.

HighCVSS 8.1Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

This flaw means some Perl applications using Apache::Session::LDAP could trust an LDAPS server certificate without validating it. If an attacker can position themselves between the application and LDAP service, session data could be exposed or altered. Sources do not report active exploitation.

Executive priority

Treat as a high-priority dependency and configuration risk for systems that store sessions in LDAP. It is most urgent where the LDAP path crosses untrusted networks or supports sensitive authentication workflows.

Technical view

Apache::Session::LDAP before 0.5 used Net::LDAPS defaults that did not check X.509 certificate validity when connecting to remote LDAP backends. The issue is CWE-295 improper certificate validation with CVSS 8.1, reflecting potential confidentiality, integrity, and availability impact under high-complexity network conditions.

Likely exposure

Exposure is most likely in Perl applications using Apache::Session::LDAP before 0.5 with remote LDAPS-backed session storage. The source bundle provides no CPEs, so inventory must rely on package, dependency, and runtime configuration review.

Exploitation context

The bundle does not identify public exploitation, and KEV is false. Practical abuse appears to require the attacker to interfere with or impersonate the LDAPS connection path; this is plausible in compromised, hostile, or poorly segmented networks.

Researcher notes

Evidence is concise but consistent: the CVE description, upstream commit, and Debian advisory identify default certificate validation failure in Apache::Session::LDAP before 0.5. No public source in the bundle establishes exploitation in the wild.

Mitigation direction

  • Upgrade Apache::Session::LDAP to 0.5 or a vendor-patched package.
  • Apply Debian DLA 3284-1 updates where using libapache-session-ldap-perl.
  • Review vendor guidance tied to CVE-2020-16093 where relevant.
  • Ensure LDAPS certificate validation is explicitly enabled in configuration.
  • Prioritize systems handling authentication or session data.

Validation and detection

  • Inventory applications importing Apache::Session::LDAP or libapache-session-ldap-perl.
  • Check installed package or module versions against the before-0.5 affected range.
  • Review LDAPS settings for explicit certificate validation behavior.
  • Confirm patched builds include the referenced upstream fix.
  • Verify LDAP session backends use trusted certificates and expected hostnames.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-295: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2020-36658 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.1 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.1CVSS 3.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H2.25.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

8.1High
CVSS 3.1 vector shape for CVE-2020-36658Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-295 · source CWE mapping

Improper Certificate Validation

Improper Certificate Validation represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.