CVE-2024-13351

7.2 HIGH

📋 TL;DR

This vulnerability allows authenticated WordPress users with contributor-level access or higher to inject malicious scripts into website pages via the 'rw_image_badge1' shortcode. The scripts execute whenever users visit the compromised pages, enabling session hijacking, credential theft, or website defacement. All WordPress sites using the Social proof testimonials and reviews by Repuso plugin up to version 5.20 are affected.

💻 Affected Systems

Products:
  • Social proof testimonials and reviews by Repuso WordPress plugin
Versions: All versions up to and including 5.20
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires authenticated user with contributor role or higher; vulnerability exists in default plugin configuration.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could steal administrator credentials, compromise user sessions, install backdoors, redirect visitors to malicious sites, or completely take over the WordPress site.

🟠

Likely Case

Attackers with contributor access inject malicious scripts to steal user cookies/sessions, display fraudulent content, or redirect users to phishing pages.

🟢

If Mitigated

With proper user access controls and content security policies, impact is limited to potential content defacement within the contributor's own posts.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploitation requires contributor-level WordPress access; attacker must craft malicious shortcode attributes.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 5.20

Vendor Advisory: https://plugins.trac.wordpress.org/changeset/3222107/social-testimonials-and-reviews-widget/trunk/social-testimonials-and-reviews-widget.php

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Social proof testimonials and reviews by Repuso'. 4. Click 'Update Now' if available. 5. Alternatively, delete and reinstall latest version from WordPress repository.

🔧 Temporary Workarounds

Disable vulnerable shortcode

all

Remove or disable the 'rw_image_badge1' shortcode functionality

Add to theme's functions.php: remove_shortcode('rw_image_badge1');

Restrict user roles

all

Limit contributor and author roles to trusted users only

🧯 If You Can't Patch

  • Implement Content Security Policy (CSP) headers to restrict script execution
  • Regularly audit user accounts and remove unnecessary contributor/author roles

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Social proof testimonials and reviews by Repuso > View version details

Check Version:

wp plugin list --name='social-testimonials-and-reviews-widget' --field=version

Verify Fix Applied:

Verify plugin version is higher than 5.20 and test shortcode functionality with script-like input

📡 Detection & Monitoring

Log Indicators:

  • Unusual shortcode usage in post revisions
  • Multiple post edits by contributor users
  • Suspicious script tags in database content

Network Indicators:

  • Unexpected external script loads from WordPress pages
  • Suspicious outbound connections from user browsers

SIEM Query:

source="wordpress" AND (shortcode="rw_image_badge1" OR plugin="social-testimonials-and-reviews-widget")

🔗 References

📤 Share & Export