Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery <= 4.4.1 - Authenticated (Custom+) Remote Code Execution via XML-RPC…
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
The Photo Gallery (NextGEN Gallery) plugin for WordPress is affected, and a logged-in user with elevated custom-level access can exploit it to run arbitrary code on the affected web server. This could let an attacker take full control of the site and its data.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original description
The Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 4.4.1 via the render_image function. This is due to unrestricted mass assignment of caller-supplied meta_data keys onto the image model combined with missing realpath containment in path construction and a bypassable signature check on the public image delivery route. This makes it possible for authenticated attackers, with custom-level access and above, to execute code on the server. Exploitation requires the authenticated attacker to own at least one NextGEN gallery — a condition that can be satisfied by any Subscriber who was ever granted the 'NextGEN Manage gallery' capability, and that access is retained indefinitely due to the stored gallery-author equality fallback in _can_manage_gallery() even after the capability is revoked.
Timeline
- CVE published
- First seen by cve.now
Affected versions
- smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery
through 4.4.1
References 8
plugins.trac.wordpress.org
- browser/nextgen-gallery/tags/4.3.0/src/DataStorage/Manager.php#L2373
- browser/nextgen-gallery/tags/4.3.0/src/XMLRPC/Controller.php#L289
- browser/nextgen-gallery/tags/4.3.0/src/DataStorage/Manager.php#L1226
- browser/nextgen-gallery/tags/4.3.0/src/DynamicThumbnails/Controller.php#L33
- browser/nextgen-gallery/tags/4.3.0/src/XMLRPC/Controller.php#L69
- browser/nextgen-gallery/tags/4.3.0/src/DataStorage/Manager.php#L2951
- changeset/3699076/nextgen-gallery/trunk/src/DataStorage/Manager.php