Description
The Modula Image Gallery plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the 'ajax_unzip_file' function in versions 2.13.1 to 2.13.2. This makes it possible for authenticated attackers, with Author-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php).
Problem types
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
2.13.1 (semver)
Timeline
| 2025-11-25: | Vendor Notified |
| 2025-12-02: | Disclosed |
Credits
ISMAILSHADOW
References
www.wordfence.com/...-713f-4aa8-b635-90c96f358bec?source=cve
plugins.trac.wordpress.org/...lass-modula-gallery-upload.php
plugins.trac.wordpress.org/...lass-modula-gallery-upload.php
plugins.trac.wordpress.org/...95701/modula-best-grid-gallery
github.com/...ommit/90c8eb982f71b31584d9be9359e3b594e03927d7
plugins.trac.wordpress.org/...07949/modula-best-grid-gallery