CVE-2024-37095

4.3 MEDIUM

📋 TL;DR

This vulnerability allows attackers to bypass authorization controls in Envira Photo Gallery WordPress plugin, potentially enabling unauthorized actions. It affects all WordPress sites running Envira Photo Gallery versions up to 1.8.7.3.

💻 Affected Systems

Products:
  • Envira Photo Gallery WordPress Plugin
Versions: All versions up to and including 1.8.7.3
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Affects both free and premium versions of the plugin when installed on WordPress sites.

⚠️ 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.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could modify gallery settings, delete content, or potentially escalate privileges through CSRF attacks.

🟠

Likely Case

Unauthorized users could dismiss admin notices or modify gallery configurations without proper permissions.

🟢

If Mitigated

With proper access controls and CSRF protections, impact would be limited to minor configuration changes.

🌐 Internet-Facing: MEDIUM
🏢 Internal Only: LOW

🎯 Exploit Status

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

Exploitation requires tricking authenticated users into clicking malicious links (CSRF).

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.8.7.4 and later

Vendor Advisory: https://patchstack.com/database/vulnerability/envira-gallery-lite/wordpress-envira-photo-gallery-plugin-1-8-7-3-csrf-leading-to-notice-dismissal-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find Envira Photo Gallery. 4. Click 'Update Now' if available. 5. Alternatively, download latest version from WordPress repository and replace plugin files.

🔧 Temporary Workarounds

Temporary Plugin Deactivation

all

Disable the plugin until patched to prevent exploitation

CSRF Protection Enhancement

all

Implement additional CSRF tokens via security plugins

🧯 If You Can't Patch

  • Restrict plugin access to trusted administrators only
  • Implement web application firewall rules to block suspicious gallery-related requests

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Envira Photo Gallery version number

Check Version:

wp plugin list --name=envira-gallery-lite --field=version

Verify Fix Applied:

Confirm plugin version is 1.8.7.4 or higher in WordPress admin

📡 Detection & Monitoring

Log Indicators:

  • Unauthorized gallery configuration changes
  • CSRF token validation failures
  • Multiple notice dismissal requests from same IP

Network Indicators:

  • POST requests to /wp-admin/admin-ajax.php with gallery-related actions without proper referrer headers

SIEM Query:

source="wordpress" AND (uri_path="/wp-admin/admin-ajax.php" AND action CONTAINS "envira")

🔗 References

📤 Share & Export