CVE-2025-58950
📋 TL;DR
This vulnerability allows attackers to include local files on the server through improper filename control in PHP include/require statements. It affects WordPress Lione theme installations running version 1.16 or earlier. Attackers can potentially read sensitive files or execute arbitrary code.
💻 Affected Systems
- axiomthemes Lione WordPress Theme
📦 What is this software?
Lione by Axiomthemes
⚠️ Risk & Real-World Impact
Worst Case
Remote code execution leading to complete server compromise, data exfiltration, and lateral movement within the network.
Likely Case
Sensitive file disclosure (configuration files, database credentials, user data) and limited server information leakage.
If Mitigated
Limited impact with proper file permissions and security controls preventing file inclusion outside intended directories.
🎯 Exploit Status
Exploitation requires knowledge of vulnerable parameter and path traversal techniques. Public exploit details available in security advisories.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Version after 1.16
Vendor Advisory: https://patchstack.com/database/Wordpress/Theme/lione/vulnerability/wordpress-lione-theme-1-16-local-file-inclusion-vulnerability?_s_id=cve
Restart Required: No
Instructions:
1. Log into WordPress admin panel
2. Navigate to Appearance > Themes
3. Check for Lione theme updates
4. Update to latest version (above 1.16)
5. If no update available, deactivate and remove the theme
🔧 Temporary Workarounds
Disable vulnerable theme
allDeactivate Lione theme and switch to default WordPress theme
wp theme deactivate lione
wp theme activate twentytwentyfour
Restrict file inclusion
linuxAdd PHP configuration to restrict file inclusion paths
Add 'open_basedir = /var/www/html' to php.ini
🧯 If You Can't Patch
- Implement web application firewall (WAF) rules to block file inclusion patterns
- Restrict file permissions and implement strict directory traversal protections
🔍 How to Verify
Check if Vulnerable:
Check WordPress theme version in Appearance > Themes or run: wp theme list --field=name,status,version | grep lione
Check Version:
wp theme list --field=name,version | grep lione
Verify Fix Applied:
Confirm Lione theme version is above 1.16 or theme is deactivated
📡 Detection & Monitoring
Log Indicators:
- Unusual file include requests in PHP error logs
- HTTP requests with file path traversal patterns to theme files
Network Indicators:
- HTTP requests containing '../' patterns targeting theme PHP files
- Unusual file read attempts from web server
SIEM Query:
web.url:*lione* AND (web.url:*..* OR web.url:*include* OR web.url:*require*)