CVE-2024-12623
📋 TL;DR
The DICOM Support WordPress plugin has a stored XSS vulnerability in all versions up to 0.10.6. Authenticated attackers with contributor-level access or higher can inject malicious scripts via the 'dcm' shortcode, which execute when users view affected pages. This affects all WordPress sites using the vulnerable plugin versions.
💻 Affected Systems
- WordPress DICOM Support Plugin
⚠️ 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.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- Consider updating to the latest version as a precaution
⚠️ 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
Attackers with contributor access inject malicious scripts to steal user session cookies or perform actions on behalf of authenticated users.
If Mitigated
With proper user access controls and content security policies, impact is limited to isolated script execution without data exfiltration.
🎯 Exploit Status
Exploitation requires authenticated access. The vulnerability is in public disclosure with technical details available.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 0.10.7 or later
Vendor Advisory: https://plugins.trac.wordpress.org/browser/dicom-support/trunk/DicomSupport.php
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find DICOM Support plugin. 4. Click 'Update Now' if update available. 5. Alternatively, download version 0.10.7+ from WordPress repository and manually update.
🔧 Temporary Workarounds
Disable Plugin
allTemporarily disable the DICOM Support plugin until patched
wp plugin deactivate dicom-support
Restrict User Roles
allRemove contributor-level access from untrusted users
🧯 If You Can't Patch
- Implement Content Security Policy (CSP) headers to restrict script execution
- Regularly audit user accounts and remove unnecessary contributor-level access
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel → Plugins → DICOM Support → Version number. If version is 0.10.6 or lower, you are vulnerable.
Check Version:
wp plugin get dicom-support --field=version
Verify Fix Applied:
After updating, verify plugin version shows 0.10.7 or higher in WordPress admin panel.
📡 Detection & Monitoring
Log Indicators:
- Unusual POST requests to WordPress admin-ajax.php with dcm shortcode parameters
- Multiple failed login attempts followed by successful contributor-level login
Network Indicators:
- Unexpected JavaScript payloads in HTTP POST parameters
- Outbound connections to suspicious domains after page loads
SIEM Query:
source="wordpress.log" AND ("dcm" OR "dicom-support") AND ("script" OR "javascript" OR "onload" OR "onerror")
🔗 References
- https://plugins.trac.wordpress.org/browser/dicom-support/trunk/DicomSupport.php#L120
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3257320%40dicom-support&new=3257320%40dicom-support&sfp_email=&sfph_mail=
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d76052f8-34b3-4930-a5bf-182420b07968?source=cve