vendor:
BlogEngine.NET
by:
Dustin Cobb
9.8
CVSS
CRITICAL
Directory Traversal
22
CWE
Product Name: BlogEngine.NET
Affected Version From: 3.3.6
Affected Version To: 3.3.6
Patch Exists: YES
Related CWE: CVE-2019-6714
CPE: a:blogengine.net:blogengine.net:3.3.6
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Windows 2016 Standard / IIS 10.0
2019
BlogEngine.NET <= 3.3.6 Directory Traversal RCE
Path traversal vulnerability leading to remote code execution. This vulnerability affects BlogEngine.NET versions 3.3.6 and below. This is caused by an unchecked "theme" parameter that is used to override the default theme for rendering blog pages. Attackers can set the TcpClient address and port within the method to their attack host, who has a reverse tcp listener waiting for a connection. The vulnerable code can be seen in the file /Custom/Controls/PostList.ascx.cs. The file must be uploaded as PostView.ascx and the vulnerability is triggered by accessing the base URL for the blog with a theme override specified like so: http://10.10.10.10/?theme=../../App_Data/files
Mitigation:
Ensure that the "theme" parameter is properly sanitized and validated before being used.