PT-2017-13407 · Tianchoy · Tianchoy/Blog
Published
2017-09-12
·
Updated
2017-09-26
·
CVE-2017-14346
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
tianchoy/blog versions prior to 2017-09-12
Description
The issue allows unrestricted file upload and PHP code execution. This can be achieved by using specific content types such as
image/jpeg, image/pjpeg, image/png, or image/gif for a .php file.Recommendations
For versions prior to 2017-09-12, restrict file uploads to only necessary file types and validate the uploaded files to prevent PHP code execution. As a temporary workaround, consider disabling the file upload functionality in
upload.php until a proper fix is applied.Exploit
Fix
Unrestricted File Upload
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Tianchoy/Blog