CVE-2023-6634

LearnPress <= 4.2.5.7 - Command Injection

2024-01-03 00:00
hir0ot

Strategic Overview

Status
Patched in 4.2.5.8
Affected Version
<= 4.2.5.7
CVSS
8.1High
Weakness type
CWE-88 · Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
CVE
CVE-2023-6634
View all LearnPress – WordPress LMS Plugin for Create and Sell Online Courses vulnerabilities

At a glance

CVE-2023-6634 is a high-severity Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') vulnerability in the LearnPress WordPress plugin, affecting versions <= 4.2.5.7. It carries a CVSS score of 8.1 (reachable over the network; high confidentiality, integrity, availability impact). Exploitation requires no authentication. The issue is fixed in version 4.2.5.8; sites on affected versions should update now. Disclosed January 2024, reported by hir0ot.

Vulnerability Overview

The LearnPress plugin for WordPress is vulnerable to Command Injection in all versions up to, and including, 4.2.5.7 via the get_content function. This is due to the plugin making use of the call_user_func function with user input. This makes it possible for unauthenticated attackers to execute any public function with one parameter, which could result in remote code execution.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, and no privileges on the target site, and no interaction from a victim user. A successful exploit has high impact on confidentiality, integrity, availability — full site compromise territory.

CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.

Remediation

Update to version 4.2.5.8, or a newer patched version

How does WordSec protect against this?

The fix is the thing that ends this: LearnPress 4.2.5.8 closes this, and updating the plugin is the step that ends it.

  • Alerts

External References

Related records

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