PT-2021-9871 · Phpok · Phpok
Gh0Stf
·
Published
2021-02-08
·
Updated
2021-02-10
·
CVE-2020-16629
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
PhpOK version 5.4.137
Description
The issue allows for SQL injection, enabling the injection of attachment data through SQL. This can then be used to call the attachment replacement function through the "api.php" endpoint to write a PHP file to a target path.
Recommendations
For PhpOK version 5.4.137, consider restricting access to the "api.php" endpoint until a patch is available. As a temporary workaround, avoid using the attachment replacement function to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Phpok