CVE-2024-36682

7.5 HIGH

📋 TL;DR

This vulnerability in the pk_themesettings module for PrestaShop allows unauthenticated guests to download a text file containing email addresses collected during maintenance mode. It affects PrestaShop stores using the vulnerable module version, leading to potential personal data exposure.

💻 Affected Systems

Products:
  • PrestaShop pk_themesettings module
Versions: <= 1.8.8
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects shops using the vulnerable module with maintenance mode enabled.

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

Mass exposure of customer email addresses and potential GDPR violations with regulatory fines and reputational damage.

🟠

Likely Case

Unauthorized access to email addresses collected during maintenance periods, enabling spam or phishing campaigns.

🟢

If Mitigated

No data exposure if module is patched or maintenance mode email collection is disabled.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

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

Simple direct file access without authentication required.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.8.9 or later

Vendor Advisory: https://security.friendsofpresta.org/modules/2024/06/20/pk_themesettings.html

Restart Required: No

Instructions:

1. Update pk_themesettings module to version 1.8.9 or later via PrestaShop admin panel. 2. Verify module update completes successfully. 3. Clear PrestaShop cache.

🔧 Temporary Workarounds

Disable maintenance mode email collection

all

Temporarily disable the email collection feature in theme settings while in maintenance mode.

Restrict access to maintenance files

linux

Add .htaccess rules to block access to maintenance-related files.

Order Deny,Allow
Deny from all

🧯 If You Can't Patch

  • Disable the pk_themesettings module entirely until patched
  • Implement web application firewall rules to block access to maintenance email files

🔍 How to Verify

Check if Vulnerable:

Check module version in PrestaShop admin panel under Modules > Module Manager > pk_themesettings.

Check Version:

Not applicable - check via PrestaShop admin interface

Verify Fix Applied:

Confirm module version is 1.8.9 or later and test that maintenance email file is no longer accessible without authentication.

📡 Detection & Monitoring

Log Indicators:

  • Unusual access to maintenance-related files by unauthenticated users
  • Multiple requests to email collection endpoints

Network Indicators:

  • HTTP GET requests to maintenance email file paths from unauthenticated sources

SIEM Query:

source="web_logs" AND (uri_path="/modules/pk_themesettings/*email*" OR uri_path="*maintenance*email*") AND http_status=200 AND user_agent NOT CONTAINS authenticated

🔗 References

📤 Share & Export