NOTICE: SECURITY UPDATE – Rich Reviews plugin has been updated to version 1.8 and as such the security issues have been patched!
Tevya Washburn with the Starfish Reviews team contacted us with a new update about the Rich Reviews Plugin. Read our update blog: Rich Reviews WordPress Plugin under new ownership, Security vulnerabilities patched
His company Starfish Reviews has taken the plugin from the original developers and updated it. It had several major security vulnerabilities in 1.6.5 and previous versions, that went unresolved for several years. Those vulnerabilities were being exploited to install malware on some WordPress websites using this plugin.
All the vulnerabilites have been quickly fixed in the updated version 1.8 with a complete re-write of the options interface (where the worst vulnerabilities existed). !
You can get their detailed blog post about the history of this plugin, adoption and fixes, and an additional security information on the new page for Rich Reviews. For verification you check Nuanced Media, the original owner’s update post, confirming its takeover.
The Wordfence Threat Intelligence team has released a report that it is tracking a series of attacks against an unpatched vulnerability in the Rich Reviews plugin for WordPress.
The estimated 16,000 sites running the plugin are vulnerable to unauthenticated plugin option updates, which can be used to deliver stored cross-site scripting (XSS) payloads.
Affected Plugin: Rich Reviews
Affected Versions: <= 1.7.4
CVSS Score: 8.3 (High)
CVSS Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
Attackers are currently abusing this exploit chain to inject malvertising code into target websites. The malvertising code creates redirects and popup ads. Our team has been tracking this attack campaign since April of this year. You can find additional research covering this attack campaign, published by us in April and again in August of this year.
The Wordfence firewall already has built-in rules that reliably block the XSS injections in this campaign, both for Premium users and those who haven’t upgraded yet. In addition to this, we have released a new firewall rule for our Premium customers to prevent attackers from making configuration changes, such as removing the need for review approval, or defacing certain text elements.
This new Wordfence firewall rule prevents manipulation of the plugin’s settings and has been automatically deployed to our Wordfence Premium customers. The new rule will be released to free users within 30 days.
The plugin’s developers are aware of this vulnerability, but there is no patch currently available. Please see our notes on disclosure below. We recommend users find an alternative solution as soon as possible, or remove the Rich Reviews plugin from your site.
The vulnerability in this plugin is being actively exploited. The Wordfence team is seeing this in our attack data and our Security Services Team has assisted customers of the site cleaning service who have had their site compromised by an attacker who exploited this vulnerability.
The Attack Campaign
While performing forensic review of an infected site, a security analyst with the Wordfence site cleaning team identified suspicious log activity associated with the Rich Reviews plugin.
An interesting note regarding this log entry is the inclusion of the plugin’s
admin-post.php page string. This type of request is commonly seen in cases where an
is_admin check is improperly used to test a user’s permissions, such as in this example from earlier this year. However, that workaround is unnecessary in this case, where all incoming requests are checked for options updates regardless of path.
The payloads injected by these attackers are directly associated with a malvertising campaign we’ve reported on previously:
The obfuscated payload above executes the following script:
This XSS payload is nearly identical to those identified in this campaign before. The sourced third-party script
place.js is similar to others we’ve seen in this malvertising campaign as well, which could trigger popup ads and unwanted redirects.
Indicators of Compromise (IOCs)
Our Threat Intelligence Team releases indicators of compromise where feasible so that other security vendors can add detection capability to their products and provide protection to their customers. The following are IOCs that we have observed associated with this attack campaign.
The following IP addresses are linked to malicious activity against this vulnerability:
adsnet.work– Hosts malicious scripts sourced by XSS injections.
- Outbound DNS requests to this domain suggest a user on your network may have triggered a potentially dangerous redirect.
Injected content will be present in the options table of your WordPress database, with the name
Rich Reviews, a plugin with an estimated 16,000 users, was removed from the WordPress plugin repository in March for security reasons. The current version of the plugin contains a highly exploitable options update vulnerability that can be used to inject a stored XSS payload into vulnerable sites. We have identified a known malvertising campaign abusing vulnerable sites in order to deliver popup ads and potentially dangerous redirects.
Wordfence users, both Premium and those still on Free, are already protected from the attacks in this campaign due to the firewall’s robust XSS protection. There is potential for non-XSS abuse of this vulnerability, however, which has prompted us to release a new firewall rule. Wordfence Premium users have received an automatic update containing this new rule, while free users will receive an update in thirty days.
The plugin’s developers have acknowledged the presence of these issues, but have provided an estimate of two weeks to resolve these vulnerabilities. Due to the length of this patch process and in light of the fact that the plugin has been removed from the official WordPress plugin repository, it is recommended that Rich Reviews users find an alternative solution to ensure the security of their sites.
Please consider sharing this post to help create awareness of this security issue.
Read more from the Wordfence report
Tevya Washburn CEO of Starfish Reviews also informed us that before deploying to the WordPress plugin repo, the new owners Starfish Reviews ran the updated and secured code through the WordFence’s scanner on their testing site, SonarCloud analyzer. The WordPress.org Plugins team has done their own code audit before reopening the plugin. The plugin has now been reopened on WordPress.org, (link here).