What is a client script implant attack
The so-called client script implantation attack is the insertion of scripts that can be executed into objects such as forms, pictures, animations, or hyperlinked text. When the user opens these objects, the script implanted by the hacker is executed and the attack is started.
HTML tags that can be used as script-embedding attacks include the following 5 areas:
(1) Page scripting programs such as JavaScript and VBScript tagged with the script tag. You can specify JavaScript program code within the script tag, or you can specify the URL path of the JavaScript file within the SRC attribute.
(2) An object tagged with an object tag. These objects are typically Java applets, multimedia files, and Active X controls. The URL path of the object is typically specified within the Data property.
(3) An object marked with a embed tag. These objects are typically multimedia files, such as Flash. The URL path of the object is typically specified within the SRC attribute.
(4) An object marked with an applet tag. These objects are Java applets. The URL path of the object is typically specified within the CODEBASE property.
(5) A form marked with a form tag. Typically, within the Action property, you specify the path of the Web application to process the form data.
For a simple example, there are many PHP sites that offer visitors a message. The messages that are entered are usually stored in the MySQL database of the site. Web site administrators can browse these messages and may open them to other visitors.
Normal message content should not be a script such as the existence of HTML tags, and not careful of the site will directly display the content of the message. At this time malicious hackers can use this vulnerability, in the message to enter the JavaScript program code.
If the site is not filtered to directly display the content of the message, this time the implant message Javasrcipt program code will be executed. When the webmaster or other user of the site browses the messages, they are attacked by the implant script.
Client Script attack