CVE-2023-6634 LearnPress <= 4.2.5.7 - Command Injection

High 8.1 Published Updated

Unauthenticated attackers can execute arbitrary commands via the get_content function, leading to remote code execution on sites using the LearnPress plugin.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-6634?

CVE-2023-6634 is a high-severity command injection vulnerability in thimpress LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, published on 11 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-77, CWE-88

Which versions are affected by CVE-2023-6634?

It affects 1 product.

Products include Thimpress Learnpress.

How do I fix CVE-2023-6634?

No fix has been published for CVE-2023-6634 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2023-6634 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-6634 exists.

Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-3jrv-ghj9-h744.

Is CVE-2023-6634 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free