Affected Product: Stimulsoft Dashboards.PHP

Affected Versions: <2024.1.2

Fixed Version: 2024.1.3

CVE-Number: CVE-2024-24398

Severity: 8.6 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L)

Discovered by Ing. Simon Schönegger, BSc, MSc, DI Lukas Hammer, BSc

During security research, the researchers discovered that Stimulsoft Dashboards.PHP is prone to multiple vulnerabilities including arbitrary file write.

In order to exploit this vulnerability an attacker is only required to visit the Dashboards Application. This vulnerability is rated as unauthtenticated, since this product does not handle authentication on its own.

Proof of Concept

It was identified that the fileName parameter in the request to save the report on the server is prone to an arbitrary file write vulnerability.

Normally the file gets written to <webroot>/php/reports. However, if the attacker includes a path like ../arbitraryWrite.mrt the function to save the file includes this as <webroot>/php/reports/../arbitraryWrite.mrt which finally results in <webroot>/php/arbitraryWrite.mrt.

The file can be written to any location the webserver’s user has access to.

Vendor contact timeline

DateAction
2024/01/10Discovery of the vulnerability
2024/01/10Researchers inform vendor about the vulnerability
2024/01/19Vendor informs the researchers, that the vulnerability will be fixed with 2024.1.3
2024/01/19Stimulsoft Dashboards.PHP 2024.1.3 is released
2024/01/19Disclosure of the vulnerability to MITRE
2024/02/02MITRE assigns CVE-2024-24398