CVE-2014-1634

9.8 CRITICAL

📋 TL;DR

This vulnerability allows SQL injection attacks in the Advanced Newsletter Magento extension via the subscribeajax endpoint. Attackers can execute arbitrary SQL commands by manipulating the an_category_id parameter in PATH_INFO. Magento stores using vulnerable versions of this extension are affected.

💻 Affected Systems

Products:
  • Advanced Newsletter Magento extension
Versions: Versions before 2.3.5
Operating Systems: All platforms running Magento
Default Config Vulnerable: ⚠️ Yes
Notes: Requires Magento installation with Advanced Newsletter extension enabled.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including customer data theft, admin credential extraction, and potential remote code execution via database functions.

🟠

Likely Case

Database information disclosure, data manipulation, and potential privilege escalation.

🟢

If Mitigated

Limited impact with proper input validation and parameterized queries in place.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires sending crafted HTTP requests to the vulnerable endpoint.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.3.5 and later

Vendor Advisory: https://labs.integrity.pt/advisories/cve-2014-1634/

Restart Required: No

Instructions:

1. Update Advanced Newsletter extension to version 2.3.5 or later. 2. Apply the patch from the vendor. 3. Clear Magento cache.

🔧 Temporary Workarounds

Input Validation Filter

all

Add input validation to filter SQL injection attempts in the subscribeajax endpoint.

Modify app/code/community/Advanced/Newsletter/controllers/IndexController.php to validate an_category_id parameter

WAF Rule

all

Implement web application firewall rules to block SQL injection patterns.

Add WAF rule: deny requests containing SQL keywords in PATH_INFO parameters

🧯 If You Can't Patch

  • Disable the Advanced Newsletter extension entirely
  • Block access to /store/advancednewsletter/index/subscribeajax/ endpoint at network level

🔍 How to Verify

Check if Vulnerable:

Check if Advanced Newsletter extension version is below 2.3.5 in Magento admin panel or via file inspection.

Check Version:

Check app/code/community/Advanced/Newsletter/etc/config.xml for version tag

Verify Fix Applied:

Verify extension version is 2.3.5 or later and test the vulnerable endpoint with SQL injection payloads.

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL errors in Magento logs
  • Multiple requests to /store/advancednewsletter/index/subscribeajax/ with suspicious parameters

Network Indicators:

  • HTTP requests containing SQL keywords in PATH_INFO
  • Unusual database query patterns from web server

SIEM Query:

source="magento.log" AND "subscribeajax" AND ("SQL" OR "syntax" OR "error")

🔗 References

📤 Share & Export