XSS attack defense method and related equipment

By configuring end-side XSS security policies of multiple websites on user terminal devices, the problem in the existing technology that XSS attack defense relies on web server configuration is solved, and higher attack defense reliability and user security are achieved.

CN114362978BActive Publication Date: 2024-10-29PETAL CLOUD TECH CO LTD
-1 Cites 0 Cited by

Patent Information

Application Number
CN202011036262.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-27
Publication Date
2024-10-29
Estimated Expiration
2040-09-27

AI Technical Summary

Technical Problem

Existing XSS attack defense methods rely on the content security policy configuration of the web server. User terminal applications cannot effectively defend against unconfigured or unreasonably configured XSS vulnerabilities when accessing different websites, resulting in uncontrollable attack risks.

Method used

Obtain the end-side XSS security policies of multiple websites on the user terminal device, configure them into the device, and render the web page data according to these policies, so that when the web server does not have a reasonable CSP configuration, XSS attacks can be carried out through the end-side policies. defense.

Benefits of technology

It improves the reliability of XSS attack defense and prevents users from being affected by XSS attacks. Even if the web server is not configured or the CSP is not properly configured, the terminal device can effectively defend against XSS vulnerabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114362978B_ABST
    Figure CN114362978B_ABST
Patent Text Reader

Abstract

The present application provides an XSS attack defense method, which is applied to electronic devices, and the method includes: obtaining end-side XSS security policies for XSS attack defense from multiple websites; configuring the obtained end-side XSS security policies in the electronic device; sending a web page access request to a web server; receiving web page data returned by the web server; if the URL of the requested web page is in the end-side XSS security policy configured in the electronic device, rendering the web page according to the end-side XSS security policy and web page data corresponding to the URL of the requested web page. The present application can improve the reliability of XSS attack defense and prevent users from being attacked by XSS.
Need to check novelty before this filing date? Find Prior Art