CVE-2024-35720
📋 TL;DR
This CVE describes a Missing Authorization (Broken Access Control) vulnerability in the Album Gallery WordPress plugin. It allows unauthorized users to perform actions that should require authentication, affecting WordPress sites using vulnerable versions of this plugin.
💻 Affected Systems
- Album Gallery – WordPress Gallery
📦 What is this software?
⚠️ Risk & Real-World Impact
Worst Case
Unauthenticated attackers could modify gallery content, delete images, or potentially escalate privileges to gain administrative access to the WordPress site.
Likely Case
Unauthorized users could modify or delete gallery content, disrupting website functionality and potentially defacing the site.
If Mitigated
With proper access controls and authentication checks, only authorized users can perform gallery management actions.
🎯 Exploit Status
Missing authorization vulnerabilities typically require minimal technical skill to exploit once the attack vector is identified.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 1.5.8 or later
Restart Required: No
Instructions:
1. Log into WordPress admin panel
2. Navigate to Plugins → Installed Plugins
3. Find 'Album Gallery – WordPress Gallery'
4. Click 'Update Now' if update is available
5. Alternatively, download version 1.5.8+ from WordPress repository and manually update
🔧 Temporary Workarounds
Disable vulnerable plugin
allTemporarily disable the Album Gallery plugin until patched
wp plugin deactivate album-gallery
Restrict access via web application firewall
allBlock unauthorized access to gallery management endpoints
🧯 If You Can't Patch
- Implement strict access controls and authentication checks at the web server level
- Monitor for unauthorized gallery modifications and implement alerting
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel → Plugins → Album Gallery – WordPress Gallery version
Check Version:
wp plugin get album-gallery --field=version
Verify Fix Applied:
Verify plugin version is 1.5.8 or higher in WordPress admin
📡 Detection & Monitoring
Log Indicators:
- Unauthorized POST requests to gallery management endpoints
- Gallery modifications from unauthenticated IP addresses
Network Indicators:
- Unusual traffic patterns to /wp-content/plugins/album-gallery/ endpoints
SIEM Query:
source="wordpress" AND (uri_path="/wp-admin/admin-ajax.php" OR uri_path CONTAINS "/album-gallery/") AND http_method="POST" AND user="-"
🔗 References
- https://patchstack.com/database/vulnerability/new-album-gallery/wordpress-album-gallery-wordpress-gallery-plugin-1-5-7-broken-access-control-vulnerability?_s_id=cve
- https://patchstack.com/database/vulnerability/new-album-gallery/wordpress-album-gallery-wordpress-gallery-plugin-1-5-7-broken-access-control-vulnerability?_s_id=cve