PT-2022-21790 · WordPress · Learnpress
Ndqkhanh
+1
·
Published
2022-10-31
·
Updated
2022-11-01
·
CVE-2022-3360
CVSS v3.1
8.1
High
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
LearnPress WordPress plugin versions prior to 4.1.7.2
Description
The issue arises from the unserialization of user input in a REST API endpoint, which is accessible to unauthenticated users. This could lead to PHP Object Injection when a suitable gadget is present, resulting in remote code execution (RCE). To exploit this, attackers must have knowledge of the site secrets, enabling them to generate a valid hash via the
wp hash() function.Recommendations
For versions prior to 4.1.7.2, update to version 4.1.7.2 or later to resolve the issue. As a temporary workaround, consider restricting access to the REST API endpoint to minimize the risk of exploitation.
Exploit
Fix
RCE
Deserialization of Untrusted Data
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Learnpress