CVE-2022-24871
📋 TL;DR
CVE-2022-24871 is a server-side request forgery (SSRF) vulnerability in Shopware's Admin SDK functionality that allows attackers to read or update internal resources. This affects Shopware 6 installations before version 6.4.10.1. Attackers can exploit this to access internal systems and sensitive data.
💻 Affected Systems
- Shopware
📦 What is this software?
Shopware by Shopware
⚠️ Risk & Real-World Impact
Worst Case
Complete compromise of internal systems, data exfiltration, and lateral movement to critical infrastructure
Likely Case
Unauthorized access to internal APIs, sensitive data exposure, and potential privilege escalation
If Mitigated
Limited impact with proper network segmentation and access controls
🎯 Exploit Status
Exploitation requires some technical knowledge but is facilitated by the Admin SDK functionality. No public exploit code is known.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 6.4.10.1
Vendor Advisory: https://docs.shopware.com/en/shopware-6-en/security-updates/security-update-04-2022
Restart Required: Yes
Instructions:
1. Update to Shopware 6.4.10.1 via Composer: composer require shopware/platform:6.4.10.1
2. For older versions (6.1, 6.2, 6.3), install the security plugin from the Shopware store
3. Clear cache and restart services
🧯 If You Can't Patch
- Implement strict network segmentation to isolate Shopware from internal systems
- Deploy a web application firewall with SSRF protection rules
🔍 How to Verify
Check if Vulnerable:
Check Shopware version via admin panel or composer.json file
Check Version:
composer show shopware/platform | grep version
Verify Fix Applied:
Confirm version is 6.4.10.1 or higher, or security plugin is installed for older versions
📡 Detection & Monitoring
Log Indicators:
- Unusual Admin SDK requests
- Requests to internal IP addresses from Shopware
- Abnormal API access patterns
Network Indicators:
- Outbound connections from Shopware to internal systems
- SSRF payloads in HTTP requests
SIEM Query:
source="shopware" AND (url="*AdminSDK*" OR dest_ip="10.*" OR dest_ip="192.168.*" OR dest_ip="172.16.*")
🔗 References
- https://docs.shopware.com/en/shopware-6-en/security-updates/security-update-04-2022
- https://github.com/shopware/platform/commit/083765e2d64a00315050c4891800c9e98ba0c77c
- https://github.com/shopware/platform/security/advisories/GHSA-7gm7-8q8v-9gf2
- https://docs.shopware.com/en/shopware-6-en/security-updates/security-update-04-2022
- https://github.com/shopware/platform/commit/083765e2d64a00315050c4891800c9e98ba0c77c
- https://github.com/shopware/platform/security/advisories/GHSA-7gm7-8q8v-9gf2