[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SYSS-2015-066] perfact::mpa - Cross-Site Scripting

Hash: SHA512

Advisory ID: SYSS-2015-066
Product: perfact::mpa
Manufacturer: PerFact Innovation GmbH & Co. KG
Affected Version(s): Custom versions using PerFact DB_Utils (Toolkit) < v3.2
Tested Version(s): Custom version with PerFact DB_Utils (Toolkit) < v3.2
Vulnerability Type: Cross-Site Scripting (CWE-79)
Risk Level: High
Solution Status: Fixed
Manufacturer Notification: 2015-12-18
Solution Date: 2016-01-18
Public Disclosure: 2016-02-29
CVE Reference: Not yet assigned
Authors of Advisory: Matthias Deeg and Sven Freund (SySS GmbH)



The software solution perfact::mpa is a software architecture that, for
instance, is used to build web applications for the secure and reliable
remote maintenance of machines via the Internet (see [1]).

According to the manufacturer, remote control software built with
perfact::mpa impresses through the following features:

* location-independent and central monitoring,
* maintenance and error management,
* authorized remote access, and
* integrated documentation of incidents and services.

Due to improper input validation, the web application perfact::mpa is
vulnerable to persistent cross-site scripting attacks.


Vulnerability Details:

The SySS GmbH found out that different functions of the web application
perfact::mpa are prone to persistent cross-site scripting attacks due to
insufficient user input validation.

This kind of attack enables an attacker to persistently store attack
vectors in form of arbitrary code, for instance JavaScript code, in the
web application database, which may be executed in the context of other

1) Persistent Cross-Site Scripting via uploaded HTML files

The SySS GmbH also found out that the file upload functionality for
file attachments to remote sessions allows the upload of HTML documents
containing JavaScript code which enables an attacker to perform
persistent cross-site scripting attacks.

2) Persistent Cross-Site Scripting via export report functionality

Further examples for persistent cross-site scripting vulnerabilities
were identified in the export report functionality (stored report) of
many views providing this option that could be exploited via different

According to test results of the SySS GmbH, all report views generated
by the export report functionality are prone to persistent cross-site
scripting attacks, if an attacker can control any of the displayed
information, for example a description parameter.


Proof of Concept (PoC):

1) Persistent Cross-Site Scripting via uploaded HTML files

An authenticated user can upload an HTML file containing arbitrary
JavaScript code as an attachment to a remote session.

If this attached file is opened by another user within the perfact::mpa
web application, the attacker-controlled JavaScript is executed in the
context of the victim.

2) Persistent Cross-Site Scripting via export report functionality

If an attacker can control any of the displayed information of a stored
report, she or he is able to execute JavaScript code in the context of
other users that are viewing this report.

For example, the following simple attack vector can be used as user 
description value of a user account:


The following output is an excerpt of the resulting HTML source code of
the stored report generated by the export report functionality
containing the injected JavaScript code:

<td class="export_as_text">Test<script>alert(1)</script></td>



According to information by the PerFact Innovation GmbH & Co. KG, the
described security issue has been fixed in PerFact DB_Utils (toolkit)
software version 3.2.

Please contact the manufacturer for further information or support.


Disclosure Timeline:

2015-12-18: Vulnerability reported to manufacturer
2016-01-18: Response from manufacturer with detailed information about
            the reported security vulnerability and its solution status
2016-02-05: E-mail to manufacturer according two open questions
2016-02-05: Response from manufacturer with further information
2016-02-29: Public release of security advisory



[1] Product Web Site for perfact::mpa
[2] SySS Security Advisory SYSS-2015-066
[3] SySS Responsible Disclosure Policy



This security vulnerability was found by Matthias Deeg and Sven Freund
of the SySS GmbH.

E-Mail: matthias.deeg (at) syss.de
Public Key: https://www.syss.de/fileadmin/dokumente/Materialien/PGPKeys/Matthias_Deeg.asc
Key fingerprint = D1F0 A035 F06C E675 CDB9 0514 D9A4 BF6A 34AD 4DAB

E-Mail: sven.freund (at) syss.de
Public Key: https://www.syss.de/fileadmin/dokumente/Materialien/PGPKeys/Sven_Freund.asc
Key fingerprint = DCDB 7627 C1E3 9CE8 62DF 2666 8A5F A853 415D 46DC



The information provided in this security advisory is provided "as is" 
and without warranty of any kind. Details of this security advisory may 
be updated in order to provide as accurate information as possible. The
latest version of this security advisory is available on the SySS Web 



Creative Commons - Attribution (by) - Version 3.0
URL: http://creativecommons.org/licenses/by/3.0/deed.en