LWS Affiliation <= 2.2.6 - Unauthenticated Remote/Local File Inclusion

2023-07-24 00:00
Marco Wotschka

Strategic Overview

Status
Patched in 2.3
Affected PluginLWS Affiliation
Affected Version<= 2.2.6
CVSS9.8Critical
CVECVE-2023-32297
View all LWS Affiliation vulnerabilities

Vulnerability Overview

The LWS Affiliation plugin for WordPress is vulnerable to Remote/Local File Inclusion in versions up to, and including, 2.2.6 via the 'path' parameter. This allows unauthenticated attackers to include and execute arbitrary remote code on the server, provided that allow_url_include is enabled. Local File Inclusion is also possible, albeit less useful because it requires that the attacker be able to upload a malicious php file via FTP or some other means into a directory readable by the web server.

Technical Analysis

REMEDIATION: Update to version 2.3, or a newer patched version --- IDENTIFIER: CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')) The PHP application receives input from an upstream component, but it does not restrict or incorrectly restricts the input before its usage in require, include, or similar functions.

External References

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