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
-
FileSystem
-
Web Application
-
Production Server
-
Browser InterPretation
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.
-
Broken Authorization
-
Broken Authentication and Session Management
-
Security Misconfiguration
-
Cross Site Request Forgery
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).
-
User able to access the page which he/she is not Authorised.
-
Exposing Authentication/Session details as part of URL
-
Sending Financial Data request as part of the request URL.
-
None of the Above
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.
-
Cross Site Request Forgery
-
Broken Authentication and Session Management
-
Insecure Direct Object Refrences
-
Insecure Cryptographic Storage
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.
-
Injection
-
Cross Site Scripting
-
Cross Site Request Forgery
-
Security Misconfiguration
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.
-
Insecure Direct Object References
-
Insecure Cryptographic Storage
-
Unvalidated Redirects and Forwards
-
Cross-Site Request Forgery (CSRF)
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.
-
Weak Security Configuration
-
Cross Site Request Forgery
-
Weak Protection of Transportation Layer
-
Cross Site Scripting
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.
-
Failure to Restrict URL Access
-
Unvalidated Redirects and Forwards
-
Cross Site Request Forgery
-
Insecure Cryptographic Storage
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.
-
Insecure Cryptographic Storage
-
Failure to Restrict URL Access
-
Insufficient Transport Layer Protection
-
Unvalidated Redirects and Forwards
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.
-
Failure to Restrict URL Access
-
Cross Site Scripting
-
Broken Authentication and Session Management
-
Insufficient Transport Layer Protection
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.
-
Insufficient Transport Layer Protection
-
Unvalidated Redirects and Forwards
-
Failure to Restrict URL Access
-
Injection
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.
-
Require SSL for all sensitive pages. Non-SSL requests to these pages should be redirected to the SSL page
-
A strong application architecture that provides good separation and security between components
-
Use of Whitelist or Parameterized API
-
All of the Above
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.
-
Worm
-
Adware
-
Spyware
-
Trojan
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.
-
packet filters
-
application layer
-
stateful filters
-
None of Them