CVE-2010-5040 Code injection in n/a

Medium 6.8 Published Updated

Remote attackers can execute arbitrary PHP code in the NP_Gallery plugin for Nucleus CMS via a malicious URL parameter.

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-2010-5040?

CVE-2010-5040 is a medium-severity code injection vulnerability in n/a, published on 2 Nov 2011. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

PHP remote file inclusion vulnerability in nucleus/plugins/NP_gallery.php in the NP_Gallery plugin 0.94 for Nucleus allows remote attackers to execute arbitrary PHP code via a URL in the DIR_NUCLEUS parameter. NOTE: some of these details are obtained from third party information.

Weakness: CWE-94

Which versions are affected by CVE-2010-5040?

It affects 1 product.

Products include John Bradshaw Np Gallery Plugin.

How do I fix CVE-2010-5040?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2010-5040 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2010-5040 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-mc7r-7rqg-f4vp.

Is CVE-2010-5040 in your software?

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

Check your SBOMs for free