PT-2018-14811 · Mindoc · Mindoc
Impakhoo
·
Published
2018-11-08
·
Updated
2019-10-03
·
CVE-2018-19114
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
MinDoc versions prior to 1.0.3
Description
An issue allows attackers to gain privileges by uploading an image file with specific contents that represent an admin session. The attacker can then send a Cookie header with a
mindoc id value containing the relative pathname of the uploaded file. This can be achieved by manipulating the mindoc id to include a pathname such as aa/../../uploads/blog/201811/attach #.jpg, where # is a hex value displayed in the upload field of a manage/blogs/edit screen.Recommendations
For MinDoc versions prior to 1.0.3, update to version 1.0.3 or later to resolve the issue. As a temporary workaround, consider restricting access to the image upload feature and validating the
mindoc id values to prevent malicious path manipulation. Avoid using the mindoc id parameter in the affected API endpoint until the issue is resolved.Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Mindoc