CVE-2023-6223

LearnPress <= 4.2.5.7 - Insecure Direct Object Reference to Information Disclosure

2024-01-02 00:00
lttn

Strategic Overview

Status
Patched in 4.2.5.8
Affected Version
<= 4.2.5.7
CVSS
4.3Medium
Weakness type
CWE-639 · Authorization Bypass Through User-Controlled Key
CVE
CVE-2023-6223
View all LearnPress – WordPress LMS Plugin for Create and Sell Online Courses vulnerabilities

At a glance

CVE-2023-6223 is a medium-severity Authorization Bypass Through User-Controlled Key vulnerability in the LearnPress WordPress plugin, affecting versions <= 4.2.5.7. It carries a CVSS score of 4.3 (reachable over the network; low attack complexity). The issue is fixed in version 4.2.5.8; sites on affected versions should update now. Disclosed January 2024, reported by lttn.

Vulnerability Overview

The LearnPress plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 4.2.5.7 via the /wp-json/lp/v1/profile/course-tab REST API due to missing validation on the 'userID' user controlled key. This makes it possible for authenticated attackers, with subscriber-level access and above, to retrieve the details of another user's course progress.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user.

CWE-639: Authorization Bypass Through User-Controlled Key

LearnPress <= 4.2.5.7 carries this weakness at userID, and reaching it takes a caller who can reach the endpoint. Authorization bypass through a user-controlled key, often called insecure direct object reference, means the application looks up a record by an identifier from the request without checking that the caller owns it.

Changing a number in the request is enough to read or modify other users' records, which on commerce and membership sites means customer data. For LearnPress the fix is 4.2.5.8: builds <= 4.2.5.7 are affected, anything from 4.2.5.8 onward is not.

Remediation

Update to version 4.2.5.8, or a newer patched version

How does WordSec protect against this?

Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. None of that substitutes for the fix: LearnPress 4.2.5.8 closes this, and updating the plugin is the step that ends it.

  • Login Security
  • Alerts

External References

Related records

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C