CVE-2022-47615

LearnPress <= 4.1.7.3.2 - Unauthenticated Local File Inclusion

criticalImproper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
9.8
CVSS Score
9.8
CVSS Score
critical
Severity
4.2.0
Patched in
368d
Time to patch

Description

The LearnPress plugin for WordPress is vulnerable to Local File Inclusion in versions up to, and including, 4.1.7.3.2 via the lp/v1/courses/archive-course rest API endpoint. This allows unauthenticated-level attackers to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.

CVSS Vector Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
High
Confidentiality
High
Integrity
High
Availability

Technical Details

Affected versions<=4.1.7.3.2
PublishedJanuary 20, 2023
Last updatedJanuary 22, 2024
Affected pluginlearnpress

Check if your site is affected.

Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.