CVE-2023-34099:
Shopware improper mail validation vulnerability
5.3
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
6/28/2023
Updated
11/10/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
shopware/shopware | composer | >= 5.1.4, <= 5.7.17 | 5.7.18 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from Shopware's custom email validation regex that was replaced with PHP's built-in FILTER_VALIDATE_EMAIL in the patched version. The original regex only checked for basic email format (non-whitespace@non-whitespace.non-whitespace), which failed to account for various valid email formats and normalization scenarios. This allowed attackers to create multiple accounts with different email strings that resolve to the same address when normalized. The commit diff clearly shows this function was modified to address the vulnerability, and the CWE-754 (Improper Check for Unusual Conditions) directly maps to this insufficient validation logic.