PT-2019-19890

CVE-2019-9842

·

Published

2019-06-14

·

Updated

2019-06-19

Description by

CVSS 3.1
7.2
High
MetricsAV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions madskristensen MiniBlog through 2018-05-18
Description The issue allows remote attackers to execute arbitrary ASPX code via an IMG element with a data: URL. This is because the SaveFilesToDisk function in app code/handlers/PostHandler.cs writes a decoded base64 string to a file without validating the extension.
Recommendations For madskristensen MiniBlog through 2018-05-18, consider validating file extensions before writing decoded base64 strings to disk to prevent arbitrary ASPX code execution. As a temporary workaround, restrict the ability to upload or save files with potentially dangerous extensions.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾