PT-2024-38335 · WordPress · Insert Php Code Snippet
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
Insert PHP Code Snippet plugin for WordPress versions up to, and including, 1.3.6
Description
The issue is due to missing or incorrect nonce validation in the "/admin/snippets.php" file, making it possible for unauthenticated attackers to activate, deactivate, and delete code snippets via a forged request. This can be achieved if an attacker can trick a site administrator into performing an action, such as clicking on a link.
Recommendations
For versions up to, and including, 1.3.6, update to a version that includes the fix for the missing or incorrect nonce validation issue.
As a temporary workaround, consider restricting access to the "/admin/snippets.php" file to minimize the risk of exploitation.
Fix
CSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Insert Php Code Snippet