Computer AwarenessHardIBPS SO IT Officer

An attacker posts a comment containing JavaScript on a forum, and the script then runs in the browser of everyone who views that page. This is:

  1. A. SQL injection
  2. B. Session fixation
  3. C. Cross-site scripting
  4. D. Clickjacking

Correct answer: C. Cross-site scripting

Stored cross-site scripting (XSS) makes the site deliver the attacker's script to other visitors, where it can steal session cookies. SQL injection targets the database, not the browser.

हिंदी में

एक हमलावर फ़ोरम पर JavaScript वाली टिप्पणी पोस्ट करता है, और फिर वह स्क्रिप्ट उस पृष्ठ को देखने वाले प्रत्येक व्यक्ति के ब्राउज़र में चलती है। यह है:

  1. A. SQL इंजेक्शन
  2. B. सेशन फ़िक्सेशन
  3. C. क्रॉस-साइट स्क्रिप्टिंग
  4. D. क्लिकजैकिंग

उत्तर: C. स्टोर्ड क्रॉस-साइट स्क्रिप्टिंग (XSS) साइट से हमलावर की स्क्रिप्ट अन्य आगंतुकों तक पहुँचवाती है, जहाँ वह सेशन कुकी चुरा सकती है। SQL इंजेक्शन डेटाबेस को लक्षित करता है, ब्राउज़र को नहीं।

More Computer Awareness questions

Exams that ask this topic