CVE-2012-6290 SQL injection in n/a

Medium 6.5 Published Updated

Remote attackers can execute arbitrary SQL commands via CSRF, potentially compromising database integrity and confidentiality.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2012-6290?

CVE-2012-6290 is a medium-severity SQL injection vulnerability in n/a, published on 11 Mar 2014. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

SQL injection vulnerability in ImageCMS before 4.2 allows remote authenticated administrators to execute arbitrary SQL commands via the q parameter to admin/admin_search/. NOTE: this can be leveraged using CSRF to allow remote unauthenticated attackers to execute arbitrary SQL commands.

Weakness: CWE-89

Which versions are affected by CVE-2012-6290?

It affects 1 product.

Products include Imagecms Imagecms.

How do I fix CVE-2012-6290?

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

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2012-6290 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-h9cf-gghr-p937.

Is CVE-2012-6290 in your software?

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

Check your SBOMs for free