WordPress security changelog
CRITICAL CVE-2024-4098 Modified

Shariff Wrapper: Filesystem traversal

Shariff Wrapper is affected by filesystem traversal. The vulnerable path is reachable without authentication. A crafted path can escape the intended directory and reach files or directories elsewhere on the server.

CVE / CNA score 9.8 CVSS 3.1 · security@wordfence.com
NVD score Pending NVD has not published its own CVSS assessment.
Component
Shariff Wrapper
Plugin slug
shariff
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Jun 20, 2024
Weakness
CWE-22 — Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CWE-552 — Files or Directories Accessible to External Parties

This CVE was published Jun 20, 2024 and is one of 5 known issues for this plugin.

Update, patch or deactivate.

Update Shariff Wrapper to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

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.

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary and upstream sources