Prevent files / folders access <= 2.5.1 - Authenticated (Administrator+) Arbitrary File Upload in mo_media_restrict_page

7.2
Unrestricted Upload of File with Dangerous Type
CVE CVE-2023-4238
CVSS 7.2 (High)
Publicly Published August 28, 2023
Last Updated September 8, 2023
Researcher Dmitrii Ignatyev - CleanTalk Inc

Description

The Prevent files / folders access plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the mo_media_restrict_page function in versions up to, and including, 2.5.1. This makes it possible for authenticated attackers, with administrator-level privileges and above, to upload arbitrary files on the affected site's server which may make remote code execution possible.

References

Share

1 affected software package

Software Type Plugin
Software Slug prevent-file-access (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.5.2, or a newer patched version
Affected Version
  • <= 2.5.1
Patched Version
  • 2.5.2

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation