CVE-2024-7420 Insert PHP Code Snippet <= 1.3.6 - Cross-Site Request Forgery to Code Snippet Activate/Deactivate/Deletion

Medium 5.8 Published Updated

Unauthenticated attackers can trick administrators into activating, deactivating, or deleting PHP code snippets via forged requests.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-7420?

CVE-2024-7420 is a medium-severity vulnerability in f1logic Insert PHP Code Snippet, published on 15 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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. CVE-2024-43275 appears to be a duplicate of this issue.

Weakness: CWE-352

Which versions are affected by CVE-2024-7420?

It affects 1 product.

Products include Xyzscripts Insert Php Code Snippet.

How do I fix CVE-2024-7420?

No fix has been published for CVE-2024-7420 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-7420 being exploited?

There is no known exploitation of CVE-2024-7420 in the wild and no public exploit code.

Sources

Also known as GHSA-jj8g-cqhp-wxj6.

Is CVE-2024-7420 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free