Summary
The LearnPress plugin for WordPress, in all versions up to and including 4.5.0, is vulnerable to PHP Object Injection due to deserialization of untrusted data (CWE-502). An authenticated attacker with custom-level access or higher can store a serialized payload in the JSON column of the lp_courses table via the cb_save_course AJAX handler. Deserialization is then triggered when any anonymous visitor views the page, with no further action by the attacker.
CVSS 7.5 (High): network attack, requires a low-privileged login, no user interaction, but high attack complexity. The plugin itself contains no known POP chain, so there is no impact unless another plugin or theme with a POP chain is installed. If one is present, the attacker may delete arbitrary files, retrieve sensitive data or execute code, with full impact on confidentiality, integrity and availability.
The vulnerability is not in the CISA KEV catalog; EPSS is about 0.66%.
Who is affected
Organizations running WordPress sites with LearnPress version 4.5.0 or earlier, especially those with multiple users allowed to edit courses.
What to do
- Update LearnPress to a version newer than 4.5.0; references point to 4.5.1, but confirm the fixed version in the vendor's official advisory (ThimPress/Wordfence).
- Check the installed LearnPress version on all sites in WordPress admin (Plugins).
- Until patched, restrict and review user accounts with course creation/editing rights (custom level and above).
- Review other installed plugins and themes and remove unnecessary ones to reduce the chance of an exploitable POP chain.
- Inspect course data in the lp_courses table for unexpected serialized PHP objects and monitor logs for cb_save_course AJAX requests.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Network (from the internet)
- Attack complexity
- High
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
- CWE-502 Deserialization of Untrusted Data
References
- www.wordfence.com/threat-intel/vulnerabilities/id/90f6264f-380f-4ebb-bfc7-63b1d9682778?sou
- plugins.trac.wordpress.org/browser/learnpress/tags/4.4.15/inc/Models/CourseModel.php#L876
- plugins.trac.wordpress.org/browser/learnpress/tags/4.4.15/inc/Models/CourseModel.php#L882
- plugins.trac.wordpress.org/browser/learnpress/tags/4.4.15/inc/Ajax/CourseBuilder/CBEditCou
- plugins.trac.wordpress.org/browser/learnpress/tags/4.4.15/inc/Ajax/CourseBuilder/CBEditCou
- plugins.trac.wordpress.org/browser/learnpress/tags/4.4.15/inc/Ajax/CourseBuilder/CourseBui
- plugins.trac.wordpress.org/browser/learnpress/tags/4.4.15/inc/TemplateHooks/Course/SingleC
- plugins.svn.wordpress.org/learnpress/tags/4.5.1/
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.