Computer AwarenessVery hardIBPS PO Mains · SBI PO

An attacker posts a comment containing hidden JavaScript on a bank's poorly coded feedback page. The script then runs in the browsers of other customers who view the page, stealing their session cookies. This is:

  1. A. SQL injection
  2. B. Cross-site scripting (XSS)
  3. C. Clickjacking
  4. D. A DDoS attack

Correct answer: B. Cross-site scripting (XSS)

XSS injects a malicious script into a page so it runs in OTHER users' browsers. SQL injection targets the database behind the site, and clickjacking hides a real button under a fake one.

हिंदी में

कोई हमलावर किसी बैंक के खराब कोड वाले फ़ीडबैक पेज पर छिपी JavaScript वाली टिप्पणी पोस्ट करता है। फिर वह स्क्रिप्ट उस पेज को देखने वाले अन्य ग्राहकों के ब्राउज़रों में चलती है और उनकी सेशन कुकी चुरा लेती है। यह है:

  1. A. SQL इंजेक्शन
  2. B. क्रॉस-साइट स्क्रिप्टिंग (XSS)
  3. C. क्लिकजैकिंग (Clickjacking)
  4. D. DDoS हमला

उत्तर: B. XSS किसी पेज में दुर्भावनापूर्ण स्क्रिप्ट डालता है ताकि वह अन्य उपयोगकर्ताओं के ब्राउज़रों में चले। SQL इंजेक्शन साइट के पीछे के डेटाबेस को निशाना बनाता है, और क्लिकजैकिंग असली बटन को नकली बटन के नीचे छिपा देती है।

More MS Office, Internet and Cyber Security questions

Exams that ask this topic