CVE-2008-6540: DotNetNuke.Core DotNetNuke Default Machine Key Exposure Vulnerability

MODERATE
Advisory Identifier: GHSA-grw3-hjjm-5cjm
CWE-453
Published
Advisory Summary

CVE-2008-6540 is a MODERATE dotnetnuke default machine key exposure vulnerability (CWE-453: Insecure Default Variable Initialization) affecting DotNetNuke.Core libraries in the NuGet ecosystem. The issue involves dotnetnuke default machine key exposure. Remediation is available by upgrading affected packages to version 4.8.2.

CVE-2008-6540 at a Glance

CVE Identifier CVE-2008-6540
GHSA Identifier GHSA-grw3-hjjm-5cjm
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-453: Insecure Default Variable Initialization
Affected Product DotNetNuke.Core
Package Ecosystem NuGet
Published Date
Last Updated

How to Fix CVE-2008-6540

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: 4.8.2
Upgrade DotNetNuke.Core to 4.8.2
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-2008-6540, 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 4.8.2), 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-453: Insecure Default Variable Initialization, where the product, by default, initializes an internal variable with an insecure or less secure value than is possible. 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

DotNetNuke before 4.8.2, during installation or upgrade, does not warn the administrator when the default (1) ValidationKey and (2) DecryptionKey values cannot be modified in the web.config file, which allows remote attackers to bypass intended access restrictions by using the default keys.

CVE-2008-6540 Affected DotNetNuke.Core Versions

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

References

Frequently Asked Questions

What is CVE-2008-6540?
CVE-2008-6540 is a security vulnerability in DotNetNuke.Core involving DotNetNuke Default Machine Key Exposure under CWE-453: Insecure Default Variable Initialization.
Which DotNetNuke.Core versions are affected?
Affected versions include releases prior to 4.8.2 across affected packages: DotNetNuke.Core.
What version fixes CVE-2008-6540?
Upgrading to 4.8.2 (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 4.8.2. Upgrade your dependency to 4.8.2 or later.
What CWE is associated with CVE-2008-6540?
CVE-2008-6540 is classified under CWE-453: Insecure Default Variable Initialization (The product, by default, initializes an internal variable with an insecure or less secure value than is possible.).
How can I check NuGet dependencies for CVE-2008-6540?
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-grw3-hjjm-5cjm",
  "modified" : "2023-09-22T22:27:09Z",
  "published" : "2022-05-14T02:38:47Z",
  "aliases" : [ "CVE-2008-6540" ],
  "summary" : "DotNetNuke Default Machine Key Exposure",
  "details" : "DotNetNuke before 4.8.2, during installation or upgrade, does not warn the administrator when the default (1) ValidationKey and (2) DecryptionKey values cannot be modified in the web.config file, which allows remote attackers to bypass intended access restrictions by using the default keys.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "DotNetNuke.Core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.8.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2008-6540"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/41399"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/dnnsoftware/Dnn.Platform"
  }, {
    "type" : "WEB",
    "url" : "http://osvdb.org/43720"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/29488"
  }, {
    "type" : "WEB",
    "url" : "http://www.dotnetnuke.com/News/SecurityBulletins/SecurityBulletinno12/tabid/1148/Default.aspx"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/489957/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/28391"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-453" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-09-22T22:27:09Z",
    "nvd_published_at" : "2009-03-30T01:30:00Z"
  }
}