A Protection Mechanism against Malicious HTML and JavaScript Code in Vulnerable Web Applications

Joint Authors

Liu, Shukai
Yan, Xuexiong
Wang, Qingxian
Zhao, Xu
Chai, Chuansen
Sun, Yajing

Source

Mathematical Problems in Engineering

Issue

Vol. 2016, Issue 2016 (31 Dec. 2016), pp.1-14, 14 p.

Publisher

Hindawi Publishing Corporation

Publication Date

2016-04-11

Country of Publication

Egypt

No. of Pages

14

Main Subjects

Civil Engineering

Abstract EN

The high-profile attacks of malicious HTML and JavaScript code have seen a dramatic increase in both awareness and exploitation in recent years.

Unfortunately, exiting security mechanisms provide no enough protection.

We propose a new protection mechanism named PMHJ based on the support of both web applications and web browsers against malicious HTML and JavaScript code in vulnerable web applications.

PMHJ prevents the injection attack of HTML elements with a random attribute value and the node-split attack by an attribute with the hash value of the HTML element.

PMHJ ensures the content security in web pages by verifying HTML elements, confining the insecure HTML usages which can be exploited by attackers, and disabling the JavaScript APIs which may incur injection vulnerabilities.

PMHJ provides a flexible way to rein the high-risk JavaScript APIs with powerful ability according to the principle of least authority.

The PMHJ policy is easy to be deployed into real-world web applications.

The test results show that PMHJ has little influence on the run time and code size of web pages.

American Psychological Association (APA)

Liu, Shukai& Yan, Xuexiong& Wang, Qingxian& Zhao, Xu& Chai, Chuansen& Sun, Yajing. 2016. A Protection Mechanism against Malicious HTML and JavaScript Code in Vulnerable Web Applications. Mathematical Problems in Engineering،Vol. 2016, no. 2016, pp.1-14.
https://search.emarefa.net/detail/BIM-1112531

Modern Language Association (MLA)

Liu, Shukai…[et al.]. A Protection Mechanism against Malicious HTML and JavaScript Code in Vulnerable Web Applications. Mathematical Problems in Engineering No. 2016 (2016), pp.1-14.
https://search.emarefa.net/detail/BIM-1112531

American Medical Association (AMA)

Liu, Shukai& Yan, Xuexiong& Wang, Qingxian& Zhao, Xu& Chai, Chuansen& Sun, Yajing. A Protection Mechanism against Malicious HTML and JavaScript Code in Vulnerable Web Applications. Mathematical Problems in Engineering. 2016. Vol. 2016, no. 2016, pp.1-14.
https://search.emarefa.net/detail/BIM-1112531

Data Type

Journal Articles

Language

English

Notes

Includes bibliographical references

Record ID

BIM-1112531