CVE-2024-3341

6.4 MEDIUM

📋 TL;DR

This vulnerability allows authenticated WordPress users with contributor-level access or higher to inject malicious scripts via the 'aux_gmaps' shortcode in the Phlox theme plugin. The scripts are stored and execute whenever other users view affected pages, enabling persistent cross-site scripting attacks. All WordPress sites using vulnerable versions of the Phlox theme plugin are affected.

💻 Affected Systems

Products:
  • Phlox WordPress Theme (Auxin Elements plugin)
Versions: All versions up to and including 2.15.5
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with the vulnerable plugin enabled. Contributor role or higher access needed for exploitation.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could steal administrator credentials, deface websites, redirect users to malicious sites, or install backdoors for persistent access.

🟠

Likely Case

Malicious actors inject scripts to steal user session cookies, redirect visitors to phishing pages, or display unwanted content.

🟢

If Mitigated

With proper user role management and content review processes, impact is limited to potential content defacement from trusted users.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires authenticated access but is technically simple once authenticated. Public proof-of-concept exists in vulnerability reports.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.15.6 or later

Vendor Advisory: https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3078496%40auxin-elements&new=3078496%40auxin-elements

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Auxin Elements for Phlox Theme'. 4. Click 'Update Now' if available. 5. Alternatively, download version 2.15.6+ from WordPress repository and manually update.

🔧 Temporary Workarounds

Disable vulnerable shortcode

all

Remove or disable the 'aux_gmaps' shortcode functionality

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

Restrict user roles

all

Temporarily limit contributor-level posting capabilities

Use WordPress role management plugins to restrict shortcode usage

🧯 If You Can't Patch

  • Implement strict content review process for all posts/pages from contributor-level users
  • Deploy web application firewall (WAF) rules to detect and block XSS payloads in shortcode attributes

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Auxin Elements version. If version is 2.15.5 or lower, system is vulnerable.

Check Version:

wp plugin list --name=auxin-elements --field=version (if WP-CLI installed)

Verify Fix Applied:

Confirm plugin version is 2.15.6 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual shortcode usage in post/page edits
  • Multiple failed login attempts followed by successful contributor login

Network Indicators:

  • Script tags in HTTP POST data to wp-admin/post.php
  • Unusual outbound connections after page views

SIEM Query:

source="wordpress.log" AND ("aux_gmaps" OR "script" OR "onerror") AND (event="post_edit" OR event="page_update")

🔗 References

📤 Share & Export