Description
A vulnerability was identified in elgentos magento2-dev-mcp up to 1.0.2. The affected element is the function executeMagerun2Command of the file src/index.ts. Such manipulation leads to os command injection. An attack has to be approached locally. The exploit is publicly available and might be used. The name of the patch is aa1ffcc0aea1b212c69787391783af27df15ae9d. A patch should be applied to remediate this issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| elgentos | magento2-dev-mcp | 1.0.0, 1.0.1, 1.0.2 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @elgentos/magento2-dev-mcp | <= 1.0.2 | — | GHSA-xqv9-qr76-hfq2 |
References
- VDB-355395 | elgentos magento2-dev-mcp index.ts executeMagerun2Command os command injection vdb-entry technical-description
- VDB-355395 | CTI Indicators (IOB, IOC, TTP, IOA) signature permissions-required
- Submit #784864 | elgentos magento2-dev-mcp <=1.0.2 Command Injection third-party-advisory
- https://github.com/elgentos/magento2-dev-mcp/issues/4 issue-tracking
- https://github.com/elgentos/magento2-dev-mcp/pull/5 issue-tracking patch
- https://github.com/user-attachments/files/25895777/magento2-dev-mcp_bug.pdf exploit
- https://github.com/elgentos/magento2-dev-mcp/commit/aa1ffcc0aea1b212c69787391783af27df15ae9d patch
- https://github.com/elgentos/magento2-dev-mcp/ product