GHSA-26hq-7286-mg8f Magento Patch SUPEE-9652 - Remote Code Execution using mail vulnerability
Remote attackers can execute arbitrary code on Magento 1 installations using sendmail with specific non-default configurations.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-26hq-7286-mg8f?
GHSA-26hq-7286-mg8f is a command injection vulnerability in magento/community-edition, published on 15 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Zend Framework 1 vulnerability can be remotely exploited to execute code in Magento 1. While the issue is not reproducible in Magento 2, the library code is the same so it was fixed as well.
Note: while the vulnerability is scored as critical, few systems are affected. To be affected by the vulnerability the installation has to:
use sendmail as the mail transport agent
have specific, non-default configuration settings as described here.
Which versions are affected by GHSA-26hq-7286-mg8f?
2 open source packages ship an affected version, including magento/community-edition.
| Package | Affected | Fixed in |
|---|---|---|
magento/community-edition Packagist | From 1.9.0.0 | 1.14.3.2 |
magento/community-edition Packagist | From 1.9.0.0 | 1.14.3.2 |
How do I fix GHSA-26hq-7286-mg8f?
Upgrade magento/community-edition to 1.14.3.2 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is GHSA-26hq-7286-mg8f being exploited?
There is no known exploitation of GHSA-26hq-7286-mg8f in the wild and no public exploit code.