Respuesta :

Answer:

Using Cross site scripting attack,the attacker can steal the cookie and send it to their own server in various ways.One of them is by executing a client side script on the browser of the victim.

Explanation:

  1. The attacker injects a payload by submitting a vulnerable form with malicious code into the database of a website that the victim visits.
  2. The victim uses his browser and request the website from the server.
  3. The browser receives the web page along with the payload(malicious code that the attacker has injected) from the server.
  4. The browser of the victim executes the malicious code which is present in the HTML body of the web page.
  5. This sends the victim's cookie to the attacker server.
  6. When the HTTP request arrives at the attackers server,the attacker can then get the cookie from that HTTP request and can use the victim's cookie.

Hence the Answer is  

  • Web browsers send the cookies for eecs485.org with every HTTP request that loads a script