Vulnerabilities in pkg:nuget/Auth0-ASPNET-Owin

PACKAGE
Advisory Identifier: GHSA-mmhr-3jr7-qj2p
Advisory Summary

CVE-2018-15121 is a HIGH (CVSS 8.8) auth0-aspnet and auth0-aspnet-owin vulnerable to vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Auth0 ASPNET Owin libraries in the NuGet ecosystem. The issue involves auth0-aspnet and auth0-aspnet-owin vulnerable to cross-site request forgery. Remediation is available in the latest vendor maintenance releases.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:nuget/Auth0-ASPNET-Owin

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:nuget/Auth0-ASPNET-Owin. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-mmhr-3jr7-qj2p CVE-2018-15121 HIGH Auth0-ASPNET and Auth0-ASPNET-Owin vulnerable to Cross-Site Request Forgery

CVE-2018-15121 at a Glance

CVE Identifier CVE-2018-15121
GHSA Identifier GHSA-mmhr-3jr7-qj2p
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-352: Cross-Site Request Forgery (CSRF)
Affected Product Auth0 ASPNET Owin
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 8.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/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 Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2018-15121

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

Auth0-ASPNET-Owin fixed: Latest secure release
Upgrade Auth0-ASPNET-Owin to Latest secure release
auth0-aspnet fixed: Latest secure release
Upgrade auth0-aspnet to Latest secure release
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 Auth0-ASPNET-Owin

How to Check if You Are Affected

To determine whether your application is affected by CVE-2018-15121, inspect your project dependencies for Auth0 ASPNET Owin:

inspect dependencies for Auth0-ASPNET-Owin

Analyze the terminal output to locate any version of Auth0 ASPNET Owin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. In Auth0 ASPNET Owin, 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

An issue was discovered in Auth0 auth0-aspnet and auth0-aspnet-owin. Affected packages do not use or validate the state parameter of the OAuth 2.0 and OpenID Connect protocols. This leaves applications vulnerable to CSRF attacks during authentication and authorization operations.

CVE-2018-15121 Affected Auth0 ASPNET Owin Versions

2 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
Auth0-ASPNET-Owin
NuGet
≤ 2.3.2
auth0-aspnet
NuGet
≤ 2.1.1

References

Frequently Asked Questions

What is CVE-2018-15121?
CVE-2018-15121 is a security vulnerability in Auth0 ASPNET Owin involving Auth0-ASPNET and Auth0-ASPNET-Owin vulnerable to Cross-Site Request Forgery under CWE-352: Cross-Site Request Forgery (CSRF).
Which Auth0 ASPNET Owin versions are affected?
Affected versions include releases prior to current release patches across affected packages: Auth0-ASPNET-Owin, auth0-aspnet.
What version fixes CVE-2018-15121?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is Auth0-ASPNET-Owin affected?
Yes, Auth0-ASPNET-Owin is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
Is auth0-aspnet affected?
Yes, auth0-aspnet is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2018-15121?
CVE-2018-15121 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2018-15121?
CVE-2018-15121 is classified under CWE-352: Cross-Site Request Forgery (CSRF) (The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.).
How can I check NuGet dependencies for CVE-2018-15121?
Run the dependency tree command: 'inspect dependencies for Auth0-ASPNET-Owin'. 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-mmhr-3jr7-qj2p",
  "modified" : "2023-05-24T14:56:44Z",
  "published" : "2022-05-14T02:01:18Z",
  "aliases" : [ "CVE-2018-15121" ],
  "summary" : "Auth0-ASPNET and Auth0-ASPNET-Owin vulnerable to Cross-Site Request Forgery",
  "details" : "An issue was discovered in Auth0 auth0-aspnet and auth0-aspnet-owin. Affected packages do not use or validate the state parameter of the OAuth 2.0 and OpenID Connect protocols. This leaves applications vulnerable to CSRF attacks during authentication and authorization operations.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Auth0-ASPNET-Owin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "2.3.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "auth0-aspnet"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "2.1.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-15121"
  }, {
    "type" : "WEB",
    "url" : "https://auth0.com/docs/security/bulletins/cve-2018-15121"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/auth0/auth0-aspnet-owin"
  }, {
    "type" : "WEB",
    "url" : "https://www.nuget.org/packages/Auth0-ASPNET-Owin"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-352" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-05-24T14:56:44Z",
    "nvd_published_at" : "2018-08-29T03:29:00Z"
  }
}