CVE-2019-12405: Github.com/apache/trafficcontrol Improper Authentication Vulnerability

CRITICAL
Advisory Identifier: GHSA-3f8r-4qwm-r7jf
CVSS 9.8
CWE-287
Published
Advisory Summary

CVE-2019-12405 is a CRITICAL (CVSS 9.8) improper authentication vulnerability (CWE-287: Improper Authentication) affecting Github.com/apache/trafficcontrol libraries in the Go ecosystem. The issue involves improper authentication in apache traffic control. Remediation is available by upgrading affected packages to version 3.0.2-RC1.

CVE-2019-12405 at a Glance

CVE Identifier CVE-2019-12405
GHSA Identifier GHSA-3f8r-4qwm-r7jf
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-287: Improper Authentication
Affected Product Github.com/apache/trafficcontrol
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 9.8

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

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
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-2019-12405

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

github.com/apache/trafficcontrol fixed: 3.0.2-RC1
Upgrade github.com/apache/trafficcontrol to 3.0.2-RC1
Verify Direct and Transitive Dependencies

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

inspect dependencies for github.com/apache/trafficcontrol

How to Check if You Are Affected

To determine whether your application is affected by CVE-2019-12405, inspect your project dependencies for Github.com/apache/trafficcontrol:

inspect dependencies for github.com/apache/trafficcontrol

Analyze the terminal output to locate any version of Github.com/apache/trafficcontrol in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.2-RC1), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Github.com/apache/trafficcontrol, 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

Improper authentication is possible in Apache Traffic Control versions 3.0.0 and 3.0.1 if LDAP is enabled for login in the Traffic Ops API component. Given a username for a user that can be authenticated via LDAP, it is possible to improperly authenticate as that user without that user's correct password.

CVE-2019-12405 Affected Github.com/apache/trafficcontrol Versions

1 component(s)
Fixed Versions:
3.0.2-RC1
Product / Package Ecosystem Affected Versions Fixed Version
github.com/apache/trafficcontrol
Go
≥ 3.0.0
< 3.0.2-RC1
3.0.2-RC1

References

Frequently Asked Questions

What is CVE-2019-12405?
CVE-2019-12405 is a security vulnerability in Github.com/apache/trafficcontrol involving Improper Authentication in Apache Traffic Control under CWE-287: Improper Authentication.
Which Github.com/apache/trafficcontrol versions are affected?
Affected versions include releases prior to 3.0.2-RC1 across affected packages: github.com/apache/trafficcontrol.
What version fixes CVE-2019-12405?
Upgrading to 3.0.2-RC1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/apache/trafficcontrol affected?
Yes, github.com/apache/trafficcontrol is affected in releases prior to 3.0.2-RC1. Upgrade your dependency to 3.0.2-RC1 or later.
What is the CVSS score of CVE-2019-12405?
CVE-2019-12405 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2019-12405?
CVE-2019-12405 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check Go dependencies for CVE-2019-12405?
Run the dependency tree command: 'inspect dependencies for github.com/apache/trafficcontrol'. 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-3f8r-4qwm-r7jf",
  "modified" : "2021-10-13T17:25:40Z",
  "published" : "2021-05-18T15:39:16Z",
  "aliases" : [ "CVE-2019-12405" ],
  "summary" : "Improper Authentication in Apache Traffic Control",
  "details" : "Improper authentication is possible in Apache Traffic Control versions 3.0.0 and 3.0.1 if LDAP is enabled for login in the Traffic Ops API component. Given a username for a user that can be authenticated via LDAP, it is possible to improperly authenticate as that user without that user's correct password.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/apache/trafficcontrol"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.0.2-RC1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.0.1"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-12405"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/trafficcontrol/commit/f780aff77a52d52a37b4d1cc3e8e801c0b557356"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/trafficcontrol"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/e128e9d382f3b0d074e2b597ac58e1d92139394509d81ddbc9e3700e@%3Cusers.trafficcontrol.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/r3c675031ac220b5eae64a9c84a03ee60045c6045738607dca4a96cb8@%3Ccommits.trafficcontrol.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rc8bfd7d4f71d61e9193efcd4699eccbab3c202ec1d75ed9d502f08bf@%3Ccommits.trafficcontrol.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://support.f5.com/csp/article/K84141859"
  }, {
    "type" : "WEB",
    "url" : "https://support.f5.com/csp/article/K84141859?utm_source=f5support&amp;utm_medium=RSS"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-05-17T21:00:28Z",
    "nvd_published_at" : "2019-09-09T17:15:00Z"
  }
}