Computer Knowledge · General Awareness

Information Security

4,143 Questions

Information security involves protecting computer systems and data from unauthorized access, cyber threats, and damage. It is a core part of the computer knowledge section in various banking and government exams. Practicing these concepts helps in understanding digital signatures, network security, and access control effectively.

Cybersecurity threatsAccess controlCryptography basicsSecurity risk managementDatabase protection

Information Security Questions

Multiple choice general knowledge science & technology
  1. FileSystem

  2. Web Application

  3. Production Server

  4. Browser InterPretation

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Cross Site Scripting (XSS) specifically targets the browser's interpreter - it exploits how browsers interpret and execute scripts within web pages. Unlike attacks that target servers (B, C) or file systems (A), XSS payloads run in the victim's browser context. The term 'Browser Interpretation' (D) correctly identifies this client-side execution environment.

Multiple choice general knowledge science & technology
  1. Broken Authorization

  2. Broken Authentication and Session Management

  3. Security Misconfiguration

  4. Cross Site Request Forgery

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This scenario is a classic example of Broken Authentication and Session Management - the user failed to properly terminate their session (logout), allowing an attacker to hijack the authenticated session. The vulnerability is that session identifiers remained valid and accessible, enabling the attacker to impersonate the legitimate user without re-authenticating. This differs from authorization issues (A), security misconfiguration (C), or CSRF (D).

Multiple choice general knowledge science & technology
  1. User able to access the page which he/she is not Authorised.

  2. Exposing Authentication/Session details as part of URL

  3. Sending Financial Data request as part of the request URL.

  4. None of the Above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Exposing session IDs or authentication credentials in URLs (B) is a valid scenario of Broken Authentication and Session Management. URLs get logged in browser history, server logs, and referrer headers - exposing sensitive authentication data in URLs allows attackers to capture session identifiers. Option (A) describes an authorization issue, (C) is about data exposure, and (B) is the correct authentication/session management vulnerability.

Multiple choice general knowledge science & technology
  1. Cross Site Request Forgery

  2. Broken Authentication and Session Management

  3. Insecure Direct Object Refrences

  4. Insecure Cryptographic Storage

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Using per-user or session indirect object references (like using database IDs instead of sequential numbers) prevents Insecure Direct Object References. Without this, attackers can manipulate URLs or parameters to access other users' data by guessing or incrementing IDs. This ensures users can only access objects they're authorized to see.

Multiple choice general knowledge science & technology
  1. Injection

  2. Cross Site Scripting

  3. Cross Site Request Forgery

  4. Security Misconfiguration

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Cross Site Request Forgery (CSRF) involves attackers forging authenticated requests that victims unknowingly submit. Since the browser automatically sends cookies (including session tokens) with the request, the server believes it's from the legitimate user. Key indicators: forged requests, tricking victims, authentication bypass. Unlike XSS which executes scripts in the browser.

Multiple choice general knowledge science & technology
  1. Insecure Direct Object References

  2. Insecure Cryptographic Storage

  3. Unvalidated Redirects and Forwards

  4. Cross-Site Request Forgery (CSRF)

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

CSRF tokens are unique, unpredictable values included in forms as hidden fields. When the form is submitted, the server validates this token matches the session token. Since attackers cannot guess or obtain this token, they cannot forge valid requests even if they trick users into submitting forms. This is the primary defense against CSRF.

Multiple choice general knowledge science & technology
  1. Weak Security Configuration

  2. Cross Site Request Forgery

  3. Weak Protection of Transportation Layer

  4. Cross Site Scripting

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Exception stack traces exposed to users reveal internal system details: file paths, database schemas, software versions, and potential vulnerabilities. Attackers use this information for targeted attacks. This is a clear case of Security Misconfiguration (specifically, Weak Security Configuration). Proper error handling should show generic messages to users.

Multiple choice general knowledge science & technology
  1. Failure to Restrict URL Access

  2. Unvalidated Redirects and Forwards

  3. Cross Site Request Forgery

  4. Insecure Cryptographic Storage

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Using strong hashing algorithms with salts prevents Insecure Cryptographic Storage. Salting adds uniqueness to each password, preventing rainbow table attacks. Strong hashing (bcrypt, scrypt, Argon2) resists brute-force attacks. Without these, stolen password databases can be easily cracked, leading to credential theft.

Multiple choice general knowledge science & technology
  1. Insecure Cryptographic Storage

  2. Failure to Restrict URL Access

  3. Insufficient Transport Layer Protection

  4. Unvalidated Redirects and Forwards

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

This is a classic Insecure Cryptographic Storage scenario. Encrypting data is useless if the decryption key is stored alongside the encrypted data. When the backup tape is stolen, the attacker has both the encrypted data and the key to decrypt it. Keys must be stored separately, preferably in a secure key management system.

Multiple choice general knowledge science & technology
  1. Failure to Restrict URL Access

  2. Cross Site Scripting

  3. Broken Authentication and Session Management

  4. Insufficient Transport Layer Protection

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Failure to Restrict URL Access happens when applications don't verify authorization for every page request. Attackers can simply guess or manipulate URLs (like /admin, /user/profile/123) to access privileged functionality. The scenario describes this exactly - an authorized user changes URL to access unprotected privileged pages.

Multiple choice general knowledge science & technology
  1. Insufficient Transport Layer Protection

  2. Unvalidated Redirects and Forwards

  3. Failure to Restrict URL Access

  4. Injection

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The deny-by-default approach prevents Failure to Restrict URL Access by ensuring no page is accessible without explicit authorization. This is a defense-in-depth strategy where developers must explicitly grant access rather than accidentally leave pages unprotected. It prevents attackers from accessing unprotected pages through URL manipulation.

Multiple choice general knowledge science & technology
  1. Require SSL for all sensitive pages. Non-SSL requests to these pages should be redirected to the SSL page

  2. A strong application architecture that provides good separation and security between components

  3. Use of Whitelist or Parameterized API

  4. All of the Above

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Not using SSL for authenticated pages allows attackers on the network to intercept session cookies (sniffing). Requiring SSL for all sensitive pages encrypts traffic, preventing cookie theft. The scenario describes Insufficient Transport Layer Protection. Requiring SSL and redirecting non-SSL requests is the correct defense.

Multiple choice general knowledge
  1. Worm

  2. Adware

  3. Spyware

  4. Trojan

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Spyware is specifically designed to secretly collect personal information, including passwords, financial details, and browsing habits. This makes it the most dangerous type for identity theft. Worms replicate themselves, adware displays ads, and Trojans disguise themselves as legitimate software, but spyware's primary purpose is data theft.