WordPress security changelog
MEDIUM CVE-2011-4646 Modified

Wp Postratings: SQL injection

Wp Postratings is affected by SQL injection. Exposure depends on how the affected operation is made reachable by the site. A successful request can alter database queries and expose or modify WordPress data.

CVE / CNA score 6.0 CVSS · cve@mitre.org
NVD score 6.0 CVSS 2.0 · nvd@nist.gov
Component
Wp Postratings
Plugin slug
wp-postratings
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Nov 30, 2011
Weakness
CWE-94 — Improper Control of Generation of Code ('Code Injection')

This CVE was published Nov 30, 2011 and is one of 5 known issues for this plugin.

Update, patch or deactivate.

Update Wp Postratings to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical 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.

NVD vector: AV:N/AC:M/Au:S/C:P/I:P/A:P

Primary and upstream sources