The Shariff Wrapper plugin for WordPress is vulnerable to Local File Inclusion in versions up to, and including, 4.6.13 via the shariff3uu_fetch_sharecounts function. This allows unauthenticated 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.
The vulnerability occurs in the shariff3uu_fetch_sharecounts function, which does not properly validate file paths, leading to a path traversal vulnerability (CWE-22) and unauthorized access to server files (CWE-552). An attacker can specify any file on the server, and the application will load and execute it as PHP code. In a scenario with file upload capability (e.g., images), an attacker can first upload a crafted file containing PHP code, and then force its execution through the Local File Inclusion mechanism.
An unauthenticated attacker can execute arbitrary PHP code on the server, which in practice means complete takeover of the application and server, bypassing access control mechanisms, and stealing sensitive data.
The Shariff Wrapper plugin should be updated to a version higher than 4.6.13. A patch is available in the WordPress repository under changeset 3103137. Until the update is applied, it is recommended to deactivate the plugin.
Shariff Wrapper plugin for WordPress in versions up to and including 4.6.13.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDatenverwurstungszentrale Shariff Wrapper
APPDatenverwurstungszentrale< 4.6.14
Related vulnerabilities
The Shariff Wrapper plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'sharif...
The Shariff Wrapper plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'sharif...
The Shariff Wrapper plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'sharif...
The Shariff Wrapper plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'sharif...
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Jan-Pete...