CVE-2017-9822: DotNetNuke.Core Remote Code Execution Vulnerability

HIGH
Advisory Identifier: GHSA-x2rg-fmcv-crq5
CVSS 8.8
CWE-20
Published
Advisory Summary

CVE-2017-9822 is a HIGH (CVSS 8.8) remote code execution vulnerability (CWE-20: Improper Input Validation) affecting DotNetNuke.Core libraries in the NuGet ecosystem. The issue involves dnn (aka dotnetnuke) has remote code execution via a cookie. Remediation is available by upgrading affected packages to version 9.1.1.

CVE-2017-9822 at a Glance

CVE Identifier CVE-2017-9822
GHSA Identifier GHSA-x2rg-fmcv-crq5
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-20: Improper Input Validation
Affected Product DotNetNuke.Core
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.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
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-2017-9822

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

DotNetNuke.Core fixed: 9.1.1
Upgrade DotNetNuke.Core to 9.1.1
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 DotNetNuke.Core

How to Check if You Are Affected

To determine whether your application is affected by CVE-2017-9822, inspect your project dependencies for DotNetNuke.Core:

inspect dependencies for DotNetNuke.Core

Analyze the terminal output to locate any version of DotNetNuke.Core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.1.1), 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In DotNetNuke.Core, 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

DNN (aka DotNetNuke) before 9.1.1 has Remote Code Execution via a cookie, aka "2017-08 (Critical) Possible remote code execution on DNN sites."

CVE-2017-9822 Affected DotNetNuke.Core Versions

1 component(s)
Fixed Versions:
9.1.1
Product / Package Ecosystem Affected Versions Fixed Version
DotNetNuke.Core
NuGet
< 9.1.1
9.1.1

References

Frequently Asked Questions

What is CVE-2017-9822?
CVE-2017-9822 is a security vulnerability in DotNetNuke.Core involving DNN (aka DotNetNuke) has Remote Code Execution via a cookie under CWE-20: Improper Input Validation.
Which DotNetNuke.Core versions are affected?
Affected versions include releases prior to 9.1.1 across affected packages: DotNetNuke.Core.
What version fixes CVE-2017-9822?
Upgrading to 9.1.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is DotNetNuke.Core affected?
Yes, DotNetNuke.Core is affected in releases prior to 9.1.1. Upgrade your dependency to 9.1.1 or later.
What is the CVSS score of CVE-2017-9822?
CVE-2017-9822 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2017-9822?
CVE-2017-9822 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check NuGet dependencies for CVE-2017-9822?
Run the dependency tree command: 'inspect dependencies for DotNetNuke.Core'. 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-x2rg-fmcv-crq5",
  "modified" : "2022-04-26T18:58:37Z",
  "published" : "2018-10-16T19:34:22Z",
  "aliases" : [ "CVE-2017-9822" ],
  "summary" : "DNN (aka DotNetNuke) has Remote Code Execution via a cookie",
  "details" : "DNN (aka DotNetNuke) before 9.1.1 has Remote Code Execution via a cookie, aka \"2017-08 (Critical) Possible remote code execution on DNN sites.\"",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "DotNetNuke.Core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "9.1.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-9822"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-x2rg-fmcv-crq5"
  }, {
    "type" : "WEB",
    "url" : "http://packetstormsecurity.com/files/157080/DotNetNuke-Cookie-Deserialization-Remote-Code-Execution.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.dnnsoftware.com/community/security/security-center"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/102213"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T22:01:47Z",
    "nvd_published_at" : null
  }
}