Newspack Blocks <= 3.0.8 - Authenticated (Contributor+) Arbitrary Directory Deletion

2024-06-28 00:00
Rafie Muhammad

Strategic Overview

Status
Patched in 3.0.9
Affected PluginNewspack Blocks
Affected Version<= 3.0.8
CVSS6.5Medium
CVECVE-2024-37423
View all Newspack Blocks vulnerabilities

Vulnerability Overview

The Newspack Blocks plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the remove_iframe_archive() function in all versions up to, and including, 3.0.8. This makes it possible for authenticated attackers, with contributor-level access and above, to delete arbitrary directories on the server.

Technical Analysis

REMEDIATION: Update to version 3.0.9, or a newer patched version --- IDENTIFIER: CWE-22 (Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

External References

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