Newspack Blocks <= 3.0.8 - Authenticated (Contributor+) Arbitrary Directory Deletion
Strategic Overview
<= 3.0.8CVE-2024-37423Vulnerability 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