CVE-2024-7420
Xyzscripts Insert Php Code Snippet vulnerability
The Insert PHP Code Snippet plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.3.6. This is due to missing or incorrect nonce validation in the /admin/snippets.php file. This makes it possible for unauthenticated attackers to activate/deactivate and delete code snippets via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.
Affected products
Insert Php Code Snippet. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Xyzscripts Insert Php Code Snippet runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- plugins.trac.wordpress.org/changeset/3134787/insert-php-code-snippet/trunk/admin/snippets. · Patch
- www.wordfence.com/threat-intel/vulnerabilities/id/88001f3c-f5cc-4051-a713-788014e2241a?sou · Patch
- plugins.trac.wordpress.org/browser/insert-php-code-snippet/trunk/admin/snippets.php#L28
- nvd.nist.gov/vuln/detail/CVE-2024-7420
- cve.org/CVERecord?id=CVE-2024-7420
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.