CVE-2024-27194

7.1 HIGH

📋 TL;DR

This vulnerability in the Fontific 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, potentially injecting harmful scripts into websites. WordPress sites using vulnerable versions of the Fontific plugin are affected.

💻 Affected Systems

Products:
  • Fontific | Google Fonts WordPress Plugin
Versions: 0.1.6 and earlier
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects WordPress installations with the Fontific plugin installed and activated. Requires an authenticated administrator to be tricked into visiting a malicious page.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could inject malicious JavaScript that steals administrator credentials, defaces websites, redirects visitors to malicious sites, or installs backdoors for persistent access.

🟠

Likely Case

Attackers would typically use this to inject adware, cryptocurrency miners, or phishing forms into vulnerable websites, compromising visitor security and site integrity.

🟢

If Mitigated

With proper CSRF tokens and input validation, the attack chain would be broken, preventing both the CSRF and subsequent XSS exploitation.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

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

Exploitation requires social engineering to trick an authenticated administrator, but the technical execution is straightforward once the victim is compromised.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 0.1.7 or later

Vendor Advisory: https://patchstack.com/database/vulnerability/fontific/wordpress-fontific-plugin-0-1-6-csrf-to-xss-vulnerability

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Fontific | Google Fonts'. 4. Click 'Update Now' if available. 5. If no update appears, manually download version 0.1.7+ from WordPress.org and replace the plugin files.

🔧 Temporary Workarounds

Disable Fontific Plugin

all

Temporarily deactivate the vulnerable plugin until patching is possible

wp plugin deactivate fontific

Implement CSRF Protection

all

Add CSRF tokens to all plugin forms if custom modifications are possible

🧯 If You Can't Patch

  • Remove the Fontific plugin entirely and use alternative font management solutions
  • Restrict administrator access to trusted networks only and implement strict browsing policies for admin users

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for Fontific version 0.1.6 or earlier

Check Version:

wp plugin get fontific --field=version

Verify Fix Applied:

Verify Fontific plugin version is 0.1.7 or higher in WordPress admin panel

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to fontific plugin endpoints
  • Administrator actions from unexpected IP addresses or user agents
  • JavaScript injection in plugin settings or content

Network Indicators:

  • Outbound connections to suspicious domains from WordPress admin sessions
  • Unexpected iframe or script tags in plugin-related HTTP responses

SIEM Query:

source="wordpress" AND (plugin="fontific" AND version<="0.1.6") OR (uri_path="/wp-admin/admin-ajax.php" AND parameters CONTAINS "fontific")

🔗 References

📤 Share & Export