CVE-2018-18325 in dnnsoftware dotnetnuke
LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.
What the vulnerability is
DNN (aka DotNetNuke) 9.2 through 9.2.2 uses a weak encryption algorithm to protect input parameters. NOTE: this issue exists because of an incomplete fix for CVE-2018-15811.
Affected software: dnnsoftware dotnetnuke
Scores
- CVSS: 7.5 (high)
- EPSS: 74.55% chance of exploitation in the next 30 days
- CISA KEV: Known exploited, listed 2021-11-03
- Published: 2019-07-03
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
How to mitigate it
Upgrade DNN (DotNetNuke) to a current release to fix weak parameter encryption
Patch or upgrade. DNN 9.2.0 to 9.2.2 protects parameters with weak encryption. An attacker can use that to forge an encrypted DNNPersonalization cookie, which leads to remote code execution through deserialization. The fix in 9.2.2 for CVE-2018-15811 was incomplete (CVE-2018-18325), so upgrading to a current supported DNN release removes the weakness.
Applies to: DNN (DotNetNuke) Platform 9.2.0 through 9.2.2 (CVE-2018-15811 covers 9.2.0 to 9.2.1, CVE-2018-18325 the incomplete fix in 9.2.2).
- Find the DNN version of every site: log in as host/superuser and open Persona Bar > Settings > About (or check the file version of bin\DotNetNuke.dll in the site folder).
- Take a full backup of the site folder and the DNN database.
- Download the current DNN Platform upgrade package from https://github.com/dnnsoftware/Dnn.Platform/releases. Follow the Suggested Upgrade Path for intermediate versions when you are coming from 9.2.x.
- Stop the IIS site or put an app_offline.htm in place, extract the upgrade package over the site folder, then browse to /Install/Install.aspx?mode=upgrade and complete the upgrade.
- After the upgrade, change the machineKey validationKey and decryptionKey in web.config, because keys from the vulnerable install may have been exposed.
- Check the server for signs of earlier exploitation: unknown .aspx files in the site folder, new host/superuser accounts, and w3wp.exe starting cmd.exe or powershell.exe.
Sources:
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.