WordPress security changelog
HIGH CVE-2023-3154 Modified

WordPress Gallery Plugin: Code execution

WordPress Gallery Plugin is affected by code execution. Exposure depends on how the affected operation is made reachable by the site. Successful exploitation can run attacker-controlled code in the WordPress hosting account.

CVE / CNA score 7.5 CVSS 3.1 · 134c704f-9b21-4f2e-91b3-4a467353bcc0
NVD score 7.5 CVSS 3.1 · nvd@nist.gov
Component
WordPress Gallery Plugin
Plugin slug
nextgen-gallery
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Oct 16, 2023
Weakness
Not assigned

This CVE was published Oct 16, 2023 and is one of 31 known issues for this plugin.

Update, patch or deactivate.

Update WordPress Gallery Plugin to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

The WordPress Gallery Plugin WordPress plugin before 3.39 is vulnerable to PHAR Deserialization due to a lack of input parameter validation in the `gallery_edit` function, allowing an attacker to access arbitrary resources on the server.

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

NVD vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Primary and upstream sources