CVE-2011-5140 SQL injection in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary SQL commands via multiple parameters in the DiY-CMS blog module, potentially compromising database integrity and confidentiality.

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-2011-5140?

CVE-2011-5140 is a high-severity SQL injection vulnerability in n/a, published on 31 Aug 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Multiple SQL injection vulnerabilities in the blog module 1.0 for DiY-CMS allow remote attackers to execute arbitrary SQL commands via the (1) start parameter to (a) tags.php, (b) list.php, (c) index.php, (d) main_index.php, (e) viewpost.php, (f) archive.php, (g) control/approve_comments.php, (h) control/approve_posts.php, and (i) control/viewcat.php; and the (2) month and (3) year parameters to archive.php.

Weakness: CWE-89

Which versions are affected by CVE-2011-5140?

It affects 1 product.

Products include Diy-Cms Blog.

How do I fix CVE-2011-5140?

No fix has been published for CVE-2011-5140 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-2011-5140 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-g2rf-44r4-2pxc.

Is CVE-2011-5140 in your software?

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

Check your SBOMs for free