1.3 Application Attacks Flashcards
What is Privilege Escalation?
The act of exploiting a bug, design flaw, or configuration oversight in an operating system or software application to gain elevated access to resources that are normally protected from an application or user
What is Cross-Site Scripting?
Attacks are a type of injection, in which malicious scripts are injected into otherwise benign and trusted websites. XSS attacks occur when an attacker uses a web application to send malicious code, generally in the form of a browser side script, to a different end-user.
What are the [4] types of injections?
- SQL injection (SQLi)
- Dynamic-link library (DLL)
- Lightweight Directory Access Protocol (LDAP)
- Extensible Markup Language (XML)
What is SQL injection (SQLi)?
SQL transactions are delivered directly against the backend database through a website front end.
What is Dynamic-link library (DLL)?
Manipulates the execution of a running process. Most DLL injection attacks are performed to do reverse engineering attacks
What is Lightweight Directory Access Protocol (LDAP)?
Exploits web applications that could reveal sensitive user information or modify information represented in the LDAP data stores
What is Extensible Markup Language (XML)?
XML input containing a reference to an external entity is processed by a weakly configured XML parser
How to stop SQLi?
Sanitize Data validation; escaping metacharacters
What is Pointer/Object Dereference?
If a programmer leaves in code that causes an invalid to dereference, it could cause a crash of the application, cause the system to freeze, or even open vulnerabilities that can be exploited by other means (such as buffer overflow attacks)
What is a Pointer? (Pointer/Object Dereference)
An object in programming that stores the memory address of another value located in computer memory.
What is a NULL Pointer?
Pointing at nothing
What is Directory Traversal?
Directory traversal/path traversal attack (also known as dot dot slash attack) is an HTTP exploit that allows an attacker to access restricted files, directories, and commands that reside outside the web server’s root directory. EX.http://www.mycompany.com/../../../etc/passwd
What is Buffer Overflow?
Occurs when a program or process attempts to write more data to a fixed-length block of memory, or buffer, than the buffer, is allocated to hold.
What is a Race Condition?
A race condition occurs when a process produces an unexpected result due to timing. Also called Time of Check/Time of Use (TOCTOU) The difference between the TOC and the TOU is sometimes large enough for an attacker to replace the original object with another object that suits their own needs.
What is Error Handling?
If error messages are not handled properly, they may disclose details about a flaw or weakness that will enable an attacker to fine-tune their exploit.