CVE-2025-23664

7.1 HIGH

📋 TL;DR

This vulnerability in the Real Seguro Viagem WordPress plugin allows attackers to perform Cross-Site Request Forgery (CSRF) attacks that lead to Stored Cross-Site Scripting (XSS). Attackers can trick authenticated administrators into executing malicious actions that inject persistent scripts into the website. All WordPress sites using vulnerable versions of this plugin are affected.

💻 Affected Systems

Products:
  • Real Seguro Viagem WordPress Plugin
Versions: n/a through 2.0.5
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with the plugin enabled. Attack requires tricking authenticated admin users.

⚠️ 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

Complete site takeover through admin account compromise, data theft, defacement, or malware distribution to visitors.

🟠

Likely Case

Unauthorized content modification, session hijacking of admin users, or credential theft through malicious scripts.

🟢

If Mitigated

Limited impact with proper CSRF tokens and input validation, though some risk remains if other vulnerabilities exist.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

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

Exploitation requires social engineering to trick authenticated users. CSRF to XSS chain increases impact.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 2.0.5

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/seguro-viagem/vulnerability/wordpress-real-seguro-viagem-plugin-2-0-5-csrf-to-stored-cross-site-scripting-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find Real Seguro Viagem plugin. 4. Click 'Update Now' if update available. 5. If no update, deactivate and remove plugin, then install latest version from repository.

🔧 Temporary Workarounds

Implement CSRF Protection

all

Add CSRF tokens to all plugin forms and validate them server-side.

Input Sanitization

all

Implement strict input validation and output encoding for all user-controllable data.

🧯 If You Can't Patch

  • Disable or remove the Real Seguro Viagem plugin immediately.
  • Implement web application firewall (WAF) rules to block CSRF and XSS patterns.

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for Real Seguro Viagem version 2.0.5 or earlier.

Check Version:

wp plugin list --name=real-seguro-viagem --field=version

Verify Fix Applied:

Confirm plugin version is higher than 2.0.5 in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to plugin endpoints without referrer headers
  • Unexpected script tags in database content

Network Indicators:

  • CSRF attacks typically don't leave network indicators beyond normal traffic

SIEM Query:

source="wordpress.log" AND ("real-seguro-viagem" OR "seguro-viagem") AND (POST OR "admin-ajax.php")

🔗 References

📤 Share & Export