Skip to main content

CVE-2024-5483: LearnPress LMS Information Disclosure Flaw

CVE-2024-5483 is an information disclosure vulnerability in LearnPress WordPress LMS Plugin that allows unauthenticated attackers to extract user information including emails. This article covers technical details, affected versions, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-5483 Overview

CVE-2024-5483 is a sensitive information exposure vulnerability in the LearnPress – WordPress LMS Plugin. The flaw affects all versions up to and including 4.2.6.8. The root cause is an incorrect implementation of the get_items_permissions_check function in the plugin's JWT REST API users controller. Unauthenticated attackers can query the vulnerable endpoint to extract basic information about registered website users, including their email addresses. The issue is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.

Critical Impact

Unauthenticated remote attackers can enumerate user accounts and harvest email addresses from any WordPress site running LearnPress 4.2.6.8 or earlier, enabling downstream phishing and credential-stuffing campaigns.

Affected Products

  • ThimPress LearnPress – WordPress LMS Plugin, all versions up to and including 4.2.6.8
  • WordPress sites with the LearnPress JWT REST API endpoints exposed
  • Deployments using the class-lp-rest-users-v1-controller.php users controller

Discovery Timeline

  • 2024-06-05 - CVE-2024-5483 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-5483

Vulnerability Analysis

The vulnerability resides in LearnPress's JWT REST API implementation, specifically in the users controller located at inc/jwt/rest-api/version1/class-lp-rest-users-v1-controller.php. The get_items_permissions_check function is responsible for authorizing REST requests that list user objects. In vulnerable releases, this permission check does not properly validate the caller's identity or capability before returning user records.

As a result, an unauthenticated HTTP request to the plugin's users endpoint returns user objects containing fields such as email addresses. This exposes personally identifiable information that WordPress's core REST API normally restricts to authorized administrators.

The issue is limited to information confidentiality. It does not permit modification of data or code execution. However, the harvested email addresses and user metadata provide direct input to targeted phishing, password spraying, and account takeover activity against site users and instructors.

Root Cause

The get_items_permissions_check callback returns a permissive result instead of enforcing a capability check such as list_users. This bypasses the intended WordPress authorization model and allows anonymous callers to reach a data path meant for privileged users. See the vulnerable source in the WordPress plugin repository for the affected code.

Attack Vector

Exploitation is remote and unauthenticated over HTTP or HTTPS. An attacker sends a crafted GET request to the LearnPress JWT users REST route on any vulnerable site. The server responds with user records containing sensitive fields. No user interaction, credentials, or elevated privileges are required. The EPSS score is 1.008% with a percentile of 61.62, reflecting a moderate likelihood of exploitation activity. Technical details are available in the Wordfence vulnerability report.

Detection Methods for CVE-2024-5483

Indicators of Compromise

  • Anonymous HTTP GET requests to /wp-json/lp/v1/users or related LearnPress JWT REST routes from unknown source IP addresses.
  • Repeated or paginated REST API calls to the LearnPress users endpoint indicating enumeration.
  • Web server access logs showing high-volume requests to wp-json paths with no prior authentication activity from the same client.

Detection Strategies

  • Inventory WordPress installations and identify sites running the LearnPress plugin at version 4.2.6.8 or earlier.
  • Deploy web application firewall rules that block unauthenticated access to LearnPress user-listing REST routes.
  • Correlate REST API access logs with authentication events to flag anonymous callers reaching user-listing endpoints.

Monitoring Recommendations

  • Alert on spikes in wp-json/lp/* request volume from a single IP address or ASN.
  • Monitor for outbound phishing campaigns targeting harvested user email addresses.
  • Enable extended logging on WordPress REST API endpoints to retain request paths, response sizes, and client identifiers.

How to Mitigate CVE-2024-5483

Immediate Actions Required

  • Upgrade the LearnPress plugin to a version newer than 4.2.6.8 on all WordPress instances.
  • Restrict access to the WordPress REST API from untrusted networks until the patch is verified in production.
  • Review recent access logs for the affected REST endpoints and identify any prior enumeration attempts.

Patch Information

ThimPress addressed the flaw in releases after 4.2.6.8 by adding proper capability checks in get_items_permissions_check. Administrators should update through the WordPress plugin manager and confirm the installed version reports higher than 4.2.6.8. Review the fix context in the LearnPress source repository.

Workarounds

  • Deploy WAF rules that deny unauthenticated requests to /wp-json/lp/v1/users and related LearnPress JWT routes.
  • Disable the LearnPress JWT REST API integration until an upgrade can be applied.
  • Restrict REST API access to authenticated users using a security plugin or custom rest_authentication_errors filter.
bash
# Example: block unauthenticated LearnPress users REST route at the web server
location ~* /wp-json/lp/v1/users {
    if ($http_authorization = "") { return 401; }
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.