exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

BMD BMDWeb 2.0 Cross Site Scripting

BMD BMDWeb 2.0 Cross Site Scripting
Posted Apr 22, 2021
Authored by Stefan Viehboeck | Site sec-consult.com

BMD BMDWeb 2.0 versions prior to 24.01.21 suffer from persistent cross site scripting vulnerabilities.

tags | exploit, vulnerability, xss
SHA-256 | 499c18c38e8687b39167ce9265f6c4cdf83a764a4642327eea6fa7a0feb38768

BMD BMDWeb 2.0 Cross Site Scripting

Change Mirror Download
SEC Consult Vulnerability Lab Security Advisory < 20210422-0 >
=======================================================================
title: Stored Cross Site Scripting (Outdated software library)
product: BMD BMDWeb 2.0
vulnerable version: BMD versions prior to 24.01.21
fixed version: 24.01.21 and 24.02.11 or higher
CVE number: -
impact: High
homepage: https://www.bmd.com/
found: 2021-02-11
by: Stefan Viehböck (Office Vienna)
SEC Consult Vulnerability Lab

An integrated part of SEC Consult, an Atos company
Europe | Asia | North America

https://www.sec-consult.com

=======================================================================

Vendor description:
-------------------
"BMD develops high-quality business software and is one of the leading software
manufacturers in Austria. But also many customers in Germany and Switzerland as
well as in the international European region rely on the software solutions developed
by BMD."

https://www.bmd.com/en/about-bmd/cdompany-profile.html


Business recommendation:
------------------------
The vendor provides a software update which should be installed immediately.

SEC Consult highly recommends to perform a thorough security review of the BMD Web
product conducted by security professionals to identify and resolve potential
further security issues.


Vulnerability overview/description:
-----------------------------------
1) Stored Cross Site Scripting (Outdated software library)
BMDWeb 2.0 uses DOMPurify version 1.0.10 (released in Feb 19, 2019) for sanitizing
untrusted user input. This outdated version suffers from many vulnerabilities that allow
bypasses of the sanitization logic.

A few examples:
- https://github.com/cure53/DOMPurify/issues/482
- https://research.securitum.com/dompurify-bypass-using-mxss/
- https://research.securitum.com/mutation-xss-via-mathml-mutation-dompurify-2-0-17-bypass/
- https://portswigger.net/research/bypassing-dompurify-again-with-mutation-xss

An attacker can execute arbitrary JavaScript code in the context of the victim's BMD
session, thus perform all actions in BMD, exfiltrate information, etc.

Note for DOMPurify users:
DOMPurify should be updated regularly. The project provides a mailing list with the
latest security information.

Further information: https://github.com/cure53/DOMPurify#security-mailing-list

Additionally, input validation is another measure against Stored Cross Site Scripting.


Proof of concept:
-----------------
1) Stored Cross Site Scripting (Outdated software library)
The following XSS vector can be used in all kinds of BMD user input fields, e.g.
time recording comment, service entry comment, etc.

<math><mtext><table><mglyph><style><![CDATA[</style><img title="]]></mglyph><img&Tab;src=1&Tab;onerror=alert(0)>">

This JavaScript code will then automatically get executed when the site which contains
the payload is visited by the victim.


Vulnerable / tested versions:
-----------------------------
The vulnerability has been found in BMD 23.45.32 (Build 1004581) which was the
latest version at the time of discovery.


Vendor contact timeline:
------------------------
2021-02-22: Contacting vendor
2021-02-22: Conference call to discuss vulnerability.
2021-03-02: Vendor publishes patch.
2021-04-22: Coordinated release of security advisory.


Solution:
---------
Install BMD 24.01.21 or 24.02.11 or higher versions which are available to all customers
with support contract.


Workaround:
-----------
None


Advisory URL:
-------------
https://sec-consult.com/vulnerability-lab/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

SEC Consult Vulnerability Lab

SEC Consult, an Atos company
Europe | Asia | North America

About SEC Consult Vulnerability Lab
The SEC Consult Vulnerability Lab is an integrated part of SEC Consult, an
Atos company. It ensures the continued knowledge gain of SEC Consult in the
field of network and application security to stay ahead of the attacker. The
SEC Consult Vulnerability Lab supports high-quality penetration testing and
the evaluation of new offensive and defensive technologies for our customers.
Hence our customers obtain the most current information about vulnerabilities
and valid recommendation about the risk profile of new technologies.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Interested to work with the experts of SEC Consult?
Send us your application https://sec-consult.com/career/

Interested in improving your cyber security with the experts of SEC Consult?
Contact our local offices https://sec-consult.com/contact/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Mail: research at sec-consult dot com
Web: https://www.sec-consult.com
Blog: http://blog.sec-consult.com
Twitter: https://twitter.com/sec_consult

EOF Stefan Viehböck / @2021

Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    0 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    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