Magento < 1.9 XSS bug fix description

Source: Internet
Author: User

Magento XSS Vulnerability Introduction not to mention Baidu a bit everywhere is


Here is a simple record of the processing process, (more rough, whether the validity has not been verified)

Edit

App/design/adminhtml/default/default/template/sales/order/view/info.phtml

File

Search Getcustomeremail

There are two output calls


Using the Htmlentities method to filter the processing can be as follows:

<TD class= "value" > <a href= "mailto:<?php Echo htmlentities ($_order->getcustomeremail ());?>" > & Lt;strong> <?php Echo htmlentities ($_order->getcustomeremail ());?> </strong> </a>< ;/td>


PS: The main is the cloud ECS old Hint security problem, so after the annoying hint is gone, as to whether effectively available, there is need can be verified under, if there is no welcome to shoot bricks:)

This article from "Micro-desire for-micro-life" blog, declined to reprint!

Magento < 1.9 XSS bug fix description

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.