CVE-2024-13906 Details
Description
The Gallery by BestWebSoft – Customizable Image and Photo Galleries for WordPress plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 4.7.3 via deserialization of untrusted input in the 'import_gallery_from_csv' function. This makes it possible for authenticated attackers, with Administrator-level access and above, to inject a PHP Object. No known POP chain is present in the vulnerable software, which means this vulnerability has no impact unless another plugin or theme containing a POP chain is installed on the site. If a POP chain is present via an additional plugin or theme installed on the target system, it may allow the attacker to perform actions like delete arbitrary files, retrieve sensitive data, or execute code depending on the POP chain present.
A PHP Object Injection vulnerability has been identified in the Gallery by BestWebSoft – Customizable Image and Photo Galleries for WordPress plugin, affecting all versions through 4.7.3. The vulnerability arises from the deserialization of untrusted input in the 'import_gallery_from_csv' function, allowing authenticated attackers with Administrator-level access to inject PHP objects. While the vulnerable plugin itself does not have a known Property-Oriented Programming (POP) chain, the impact could be significant if another plugin or theme with a POP chain is installed, potentially enabling actions such as deleting files, accessing sensitive data, or executing code, depending on the specific POP chain available.
Users are advised to update the Gallery by BestWebSoft WordPress plugin to version 4.7.4 or a newer patched version.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 7, 2025CISA-ADP
Assessed Mar 7, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://plugins.trac.wordpress.org/browser/gallery-plugin/tags/4.7.3/gallery-plugin.php#L292 | [email protected] | Broken LinkSource CodeVendor |
| https://plugins.trac.wordpress.org/changeset/3249573/ | [email protected] | Broken LinkSource CodeVendor |
| https://www.wordfence.com/threat-intel/vulnerabilities/id/76c5559d-f9dd-43cf-8c8e-07188b4edf7f?source=cve | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-502 | Deserialization of Untrusted Data | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| BestWebSoft Gallery by BestWebSoft | <= 4.7.3 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 7, 2025 | New CVE Received | [email protected] |
Volerion