定制 deployecommerce/module-trojan-order-prevent 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

deployecommerce/module-trojan-order-prevent

最新稳定版本:1.0.4

Composer 安装命令:

composer require deployecommerce/module-trojan-order-prevent

包简介

A Magento2 extension that prevents billing/shipping addresses being saved via the API with known trojan order strings.

README 文档

README

This is a Magento 2 extension that prevents billing/shipping addresses being saved via the API with known trojan order strings. This is not a fix for CVE-2022-24086 but an additional layer of protection for merchants.

Although patched in most recent Magento versions we still see probes for this which look rather unsightly for merchants in the orders screen of Magento.

This module adds two plugins to the Magento\Quote\Api\BillingAddressManagementInterface and the Magento\Quote\Model\ShippingAddressManagementInterface to prevent the saving of addresses with the following strings:

gettemplate
base64_
afterfiltercall
.filter(
magdemo9816@proton.me
.php
this.getTemp
{{var

If these are detected in the payload then an Exception is thrown and the address is not saved.

Installation

composer require deployecommerce/module-trojan-order-prevent
bin/magento mo:e DeployEcommerce_TrojanOrderPrevent

Further Reading

License

This module is licensed under the MIT License. See the LICENSE file for details.

统计信息

  • 总下载量: 38.5k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 36
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 36
  • Watchers: 3
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-08-02