PT-2018-14206 · Hisi · Hisiphp
Published
2018-10-01
·
Updated
2018-11-16
·
CVE-2018-17826
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
HisiPHP version 1.0.8
Description
The issue allows for a CSRF attack via the "admin.php/admin/user/adduser.html" API endpoint to add an administrator account. An attacker can then use this account to execute arbitrary PHP code by modifying the allowable file-upload types in "app/common/model/AdminAnnex.php" to include .php, in addition to the default types (.jpg, .png, .gif, .jpeg, and .ico).
Recommendations
For HisiPHP version 1.0.8, consider disabling the "admin.php/admin/user/adduser.html" endpoint until a patch is available to prevent CSRF attacks, and restrict modifications to the file-upload types in "app/common/model/AdminAnnex.php" to prevent arbitrary PHP code execution.
Exploit
Fix
CSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Hisiphp