CVE-2011-4646 SQL injection in n/a

Medium 6.0 Published Updated

Authenticated authors can execute arbitrary SQL commands via the ratings shortcode in the WP-PostRatings plugin, potentially compromising database integrity.

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

What is CVE-2011-4646?

CVE-2011-4646 is a medium-severity SQL injection vulnerability in n/a, published on 30 Nov 2011. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

SQL injection vulnerability in wp-postratings.php in the WP-PostRatings plugin 1.50, 1.61, and probably other versions before 1.62 for WordPress allows remote authenticated users with the Author role to execute arbitrary SQL commands via the id attribute of the ratings shortcode when creating a post. NOTE: some of these details are obtained from third party information.

Weakness: CWE-94

Which versions are affected by CVE-2011-4646?

It affects 1 product.

Products include Lesterchan Wp-Postratings.

How do I fix CVE-2011-4646?

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

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

Sources

Also known as GHSA-chv6-6f32-gc59.

Is CVE-2011-4646 in your software?

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

Check your SBOMs for free