CVE-2024-11810

6.1 MEDIUM

📋 TL;DR

The PayGreen Payment Gateway WordPress plugin has a reflected cross-site scripting vulnerability in all versions up to 1.0.26. Unauthenticated attackers can inject malicious scripts via the 'message_id' parameter, potentially stealing user credentials or session cookies when victims click specially crafted links. This affects all WordPress sites using the vulnerable plugin version.

💻 Affected Systems

Products:
  • PayGreen Payment Gateway WordPress Plugin
Versions: All versions up to and including 1.0.26
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Vulnerability exists in default plugin configuration; no special configuration required for exploitation.

⚠️ 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 steal administrator credentials, take over WordPress sites, install backdoors, or redirect users to malicious sites for further exploitation.

🟠

Likely Case

Attackers steal user session cookies or credentials through phishing links, potentially compromising user accounts and performing unauthorized actions.

🟢

If Mitigated

With proper web application firewalls and security headers, malicious scripts are blocked or sanitized, preventing successful exploitation.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Exploitation requires user interaction (clicking malicious link) but is technically simple with publicly available proof-of-concept examples.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.0.27 or later

Vendor Advisory: https://wordpress.org/plugins/paygreen-payment-gateway/

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find PayGreen Payment Gateway. 4. Click 'Update Now' if available. 5. If no update appears, manually download version 1.0.27+ from WordPress.org and replace plugin files.

🔧 Temporary Workarounds

Web Application Firewall Rule

all

Block or sanitize malicious script payloads in the message_id parameter

WAF-specific configuration required

Content Security Policy Header

all

Implement CSP headers to prevent script execution from untrusted sources

Header set Content-Security-Policy "default-src 'self'; script-src 'self'"
Add to .htaccess or web server configuration

🧯 If You Can't Patch

  • Disable or remove the PayGreen Payment Gateway plugin immediately
  • Implement strict input validation and output encoding at the application level

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → PayGreen Payment Gateway → Version number. If version is 1.0.26 or lower, you are vulnerable.

Check Version:

wp plugin list --name=paygreen-payment-gateway --field=version

Verify Fix Applied:

After updating, verify plugin version shows 1.0.27 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual GET requests containing script tags in message_id parameter
  • Multiple failed XSS attempts in web server logs

Network Indicators:

  • HTTP requests with JavaScript payloads in URL parameters
  • Suspicious redirects from payment gateway pages

SIEM Query:

source="web_server_logs" AND (message_id CONTAINS "<script>" OR message_id CONTAINS "javascript:")

🔗 References

📤 Share & Export