Week 7 Flashcards
What are the 3 ways of authenticating users after log-in?
IP address-based: NAT can cause users to share same IPs, DHCP can allow user to have different IPs.
Certificate-based
Cookie-based
How do cookies work?
Let server store a string on a client, based on server name.
Used to identify user, store username and preferences, track the user.
What is Eavesdropping?
If connection is not encrypted, it is possible to eavesdrop by ISP, anyone on the route or anyone on your local network (e.g. using the same Wi-Fi).
What are some issues that occur with log-in systems?
No session time outs.
Passwords not hashed.
What is sensitive data exposure?
Sensitive data transmitted/stored in clear text.
What is XSS?
Cross-site scripting.
Allows an attacker to inject client side code (JS) into web pages.
Stored XSS: Code is stored on website and served to visitors.
Used to steal cookies and run exploits on user.
What is the solution for injection?
Sanitisation - any input from clients needs to be properly sanitised.
What are some features in a security misconfiguration?
Public error messages.
Viewable files in directory.
Public admin panels.