Past ExamsRwanda ICT preparation

Topics / Cybersecurity

On a public feedback page, an attacker posts a comment containing a JavaScript snippet. Everyone who later views the page runs the script, which sends their session cookie to the attacker. What vulnerability is this?

Sur une page publique d'avis, un attaquant publie un commentaire contenant un extrait de JavaScript. Tous ceux qui consultent ensuite la page exécutent le script, qui envoie leur cookie de session à l'attaquant. De quelle vulnérabilité s'agit-il ?

Answers
ASQL injectionInjection SQL
BDirectory traversalTraversée de répertoires
CCross-site scripting (XSS)Script intersite (XSS)
DBuffer overflowDébordement de tampon
The answer and explanation are in the full bank.

This question is one of 2,831 in the paid banks. Each comes with the correct answer and the reasoning behind it, not just a mark.

Unlock for 5,000 RWF

MIFOTRA exam practicealigned to Practice set: Cybersecurity·3 marks·Hard

More Cybersecurity questions