WordPress security changelog
MEDIUM CVE-2023-1624 Modified

WPCode: Cross-site request forgery

WPCode is affected by cross-site request forgery. Exposure depends on how the affected operation is made reachable by the site. Exploitation relies on a signed-in privileged user submitting an attacker-controlled request.

CVE / CNA score 6.5 CVSS 3.1 · 134c704f-9b21-4f2e-91b3-4a467353bcc0
NVD score 6.5 CVSS 3.1 · nvd@nist.gov
Component
WPCode
Plugin slug
wpcode
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Apr 24, 2023
Weakness
Not assigned

This CVE was published Apr 24, 2023 and is one of 3 known issues for this plugin.

Update, patch or deactivate.

Update WPCode 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 WPCode WordPress plugin before 2.0.9 has a flawed CSRF when deleting log, and does not ensure that the file to be deleted is inside the expected folder. This could allow attackers to make users with the wpcode_activate_snippets capability delete arbitrary log files on the server, including outside of the blog folders

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

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

Primary and upstream sources