CriticalCVE-2017-9822

    DotNetNuke (DNN) Remote Code Execution Vulnerability (CVE-2017-9822)

    Published In CISA KEV since Sources: CVE.org, OSV

    What is affected, what to do

    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."

    The vulnerability is being actively exploited; treat it as a priority. CISA lists it as used in ransomware campaigns. Update dotnetnuke to version 9.1.1. Immediate actions, mitigation and detection rules are in the runbook below.

    Affected
    • DotNetNuke CMS Fixed in 9.1.1 eq DotNetNuke CMS Fixed in 9.1.1..DotNetNuke CMS Fixed in 9.1.1

    Not sure whether and how you are affected? Ask a question about this vulnerability

    Metrics

    8.8

    Priority

    XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.

    Source: NVD, CVSS v3

    8.8

    CVSS v3

    Severity High on the scale from 0 to 10.

    Source: CVE.org, OSV

    94.8 %

    EPSS score

    High — model estimates ≥ 50% chance of real-world exploitation within 30 days.

    Source: FIRST EPSS, percentile 99.86

    Show all metrics
    Severity
    Critical
    Priority (0–325)

    The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?

    Read in glossary
    248.78 Methodology
    Exploit maturity

    An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.

    Read in glossary
    actively exploited
    XIEM Effective CVSS

    XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.

    Read in glossary
    8.8 Methodology
    CVSS v3

    CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.

    Read in glossary
    8.8
    EPSS score

    The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.

    Read in glossary
    94.8 %
    High — model estimates ≥ 50% chance of real-world exploitation within 30 days.
    EPSS percentile

    The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.

    Read in glossary
    99.86
    Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
    KEV status

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary
    Actively exploited
    Published
    In CISA KEV since

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary
    CISA assessment (SSVC)
    Exploitation: active · not automatable · Technical impact: total
    Source: CISA Vulnrichment, as of 7 February 2025
    CWE

    CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.

    Read in glossary
    CWE-94

    Response and mitigation

    Why act now?

    Prioritisation rationale

    This flaw is network-reachable with a very low barrier and yields full code execution as the IIS app pool identity. Public exploit modules have been available for years, which explains its very high exploitation likelihood. CISA explicitly flags it as used in ransomware campaigns. A compromised DNN server is a classic beachhead for webshells, credential theft and subsequent encryption of the internal estate. Typical victims are neglected corporate, municipal and association portals still running old DNN builds. Treat every internet-facing instance below 9.1.1 as critical and fix it immediately. Internal-only instances are high priority but can follow afterwards.

    1. Runbook step 1

      Immediate response (0-24 h)

      • Inventory: Find every DNN/DotNetNuke instance, including legacy microsites, agency-hosted sites and staging. Check the version via /Install/Version.txt, the admin UI or the assembly version of DotNetNuke.dll in bin. Anything before 9.1.1 is vulnerable, including NuGet dotnetnuke.core 6.0.0 through 7.2.x.
      • Patch: Upgrade to at least DNN 9.1.1. Further deserialization bypasses of the 9.1.1 fix were disclosed later, so go straight to the currently supported DNN Platform release. Look up the exact version in the vendor advisory. Back up the database and file system first.
      • Isolate unpatchable instances: Take instances you cannot patch quickly off the internet. Alternatively, front them with a reverse proxy that strips the DNNPersonalization cookie (see Mitigation).
      • Hunt before you patch: Sweep the web root for new or modified .aspx, .ashx and .asmx files, especially under /Portals/ and /DesktopModules/. Treat any webshell as an incident: image the host rather than just cleaning it.
      • Rotate secrets on suspicion: Regenerate the machineKey (validationKey/decryptionKey) in web.config. Change the SQL credentials in the connection string. Reset the DNN host and admin account passwords.
    2. Runbook step 2

      Mitigation layers

      • WAF/reverse proxy: Strip the DNNPersonalization cookie at the edge, or block requests where its value contains XML type hints. Patterns to match: type=, ObjectDataProvider, ExpandedWrapper, System.Windows.Data, XamlReader, System.Diagnostics.Process. Example ModSecurity rule: SecRule REQUEST_COOKIES:DNNPersonalization "@rx (?i)(ObjectDataProvider|ExpandedWrapper|XamlReader|System\.Diagnostics)" "deny,id:1009822".
      • IPS/network: Enable a Suricata signature on http.cookie matching DNNPersonalization plus ObjectDataProvider. Most commercial rulesets already ship CVE-2017-9822 signatures. Switch those rules to drop rather than alert.
      • Segmentation: Egress-filter the IIS web servers so they can only reach required destinations (database, update sources). This kills payload staging and reverse shells. Do not allow direct DMZ-to-Active Directory paths.
      • Endpoint hardening: Run the IIS app pool as a dedicated ApplicationPoolIdentity with no local admin rights. Limit web-root write permissions to the paths DNN strictly needs. Use an ASR rule or EDR policy to block child processes of w3wp.exe (cmd, powershell, rundll32, certutil).
      • Database least privilege: Restrict the DNN SQL login to db_owner on its own database only, never sysadmin. Disable xp_cmdshell.
    3. Runbook step 3

      Detection rules

      • IIS access logs: Enable the W3C cs(Cookie) field, which is off by default. Then hunt for requests whose cookie contains DNNPersonalization= together with <profile> and type=. These usually target non-existent pages, because the 404 handler is what parses the cookie. SPL: index=iis cs_Cookie="*DNNPersonalization*" (cs_Cookie="*ObjectDataProvider*" OR cs_Cookie="*ExpandedWrapper*").
      • Process ancestry (Sysmon EID 1 / Security 4688): Alert when w3wp.exe spawns cmd.exe, powershell.exe, certutil.exe, bitsadmin.exe or whoami.exe. KQL: DeviceProcessEvents | where InitiatingProcessFileName =~ "w3wp.exe" and FileName in~ ("cmd.exe","powershell.exe","certutil.exe","whoami.exe").
      • File creation (Sysmon EID 11): Alert when w3wp.exe writes .aspx, .ashx, .asmx or .config files into the DNN web root. Sigma shape: Image|endswith: '\w3wp.exe' and TargetFilename|endswith: ['.aspx','.ashx'].
      • Network telemetry (Zeek/Suricata): Watch for new outbound connections from the web server to unfamiliar external IPs, such as reverse shells or payload downloads, shortly after suspicious 404 bursts.
      • Ransomware precursors: After web exploitation, watch for LSASS access (Sysmon EID 10) and new local accounts (EID 4720). Also watch for lateral movement originating from the web server (EID 4624 logon type 3/10 on downstream hosts).

    Detection rules

    No NEOSEC detection rule is available for this vulnerability yet.

    Classification under NIS2 and CRA

    Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.

    NIS2

    NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.

    Read in glossary
    Actively exploited: treat the vulnerability as a priority in vulnerability handling under Art. 21(2)(e) NIS2. If it is exploited in your environment, check the reporting obligation under Art. 23 (early warning within 24 hours).
    CRA

    The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.

    Read in glossary
    Since 11.09.2026, manufacturers of affected products with digital elements must report actively exploited vulnerabilities under Art. 14 CRA, with an early warning within 24 hours via ENISA's single reporting platform.
    ISO/IEC 27001

    ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.

    Read in glossary
    Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.

    Description

    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."

    Source: NVD (NIST), OSV (Open Source Vulnerabilities), cvelistv5, CISA KEV Catalog, CVE.org (MITRE)

    Affected products

    The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.

    Affected products
    Affected versionsFixed in
    DotNetNukeDotNetNuke CMS Fixed in 9.1.1
    • DotNetNuke CMS Fixed in 9.1.1
    • —
    dnnsoftwaredotnetnuke
    • < 9.1.1
    • 9.1.1
    nugetdotnetnuke.core
    • 8.0.2.4
    • 7.4.1.280
    • 7.1.0
    • 6.0.0
    • 9.0.1.142
    • 7.0.0
    • 8.0.1.239
    • 7.3.0.499
    • 8.0.3.5
    • 9.1.0.367
    • 7.3.1.20
    • 7.0.6.121
    • 7.4.0.353
    • 9.0.0.1002
    • 8.0.4.226
    • 7.4.2.216
    • 8.0.0.809
    • 7.1.2
    • 7.2.0.613
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —

    Vendors and products

    Weakness classes (CWE)

    • CWE-94Improper Control of Generation of Code ('Code Injection')

      Base

      The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

      Entry at MITRE CWE-94

    Public exploit references

    Publicly reported proof-of-concepts, exploit modules and detection templates for this vulnerability. NEOSEC links to the original sources only and does not provide any exploit code.

    Public exploit references
    CISA KEV CatalogCISA Known Exploited Vulnerability (opens in a new tab)cisa.govactively exploited
    Packet StormDotNetNuke Cookie Deserialization Remote Code Execution (opens in a new tab)packetstormsecurity.comPoC (publicly reported)reported, not verified—

    References & sources

    • NVD (NIST)vuln/detail/CVE-2017-9822advisory
    • GitHub Security Advisoriesadvisories/GHSA-x2rg-fmcv-crq5advisory
    • packetstormsecurity.comfiles/157080/DotNetNuke-Cookie-Deserialization-Remote-Code-Exec…web, x_refsource_MISC, Exploit, Third-party advisory, Vulnerability database
    • dnnsoftware.comcommunity/security/security-centerweb, x_refsource_CONFIRM, Product, Vendor advisory
    • securityfocus.com102213web, Vulnerability database, x_refsource_BID, Broken link, Third-party advisory, Vulnerability database
    • cisa.govknown-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9822government-resource, US government resource
    Embed badge

    Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.

    Badge preview for CVE-2017-9822
    <a href="https://intel.neosec.eu/en/cve/CVE-2017-9822"><img src="https://intel.neosec.eu/badge/cve/CVE-2017-9822.svg?lang=en" alt="CVE-2017-9822 – NEOSEC Intel" height="20"></a>