Section 10: Application Vulnerabilities Flashcards

1
Q

Server-Side Request Forgery

A

▪ A type of attack that takes advantage of the trust relationship between the server and the other resources it can access
▪ Occurs when a web app fetches a remote resource without validating the URL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How to prevent SSRF

A

● Segment remote resource access functionality into separate
networks
● Enforce a deny by default firewall or ACL policy
● Ensure web apps sanitize and validate any client-supplied input
data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

ASLR

A

Address Space Layout Randomization (ASLR)
o Prevents an attacker’s ability to guess where the return pointer for a non-malicious program has been set to call back to

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Data Execution Protection (DEP)

A

Blocks applications that attempt to run from protected
memory locations

Executable code stored in the user data location will be marked as
non-executable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Stack

A

Reserved area of memory where the program saves the return address when a function call instruction is received

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Insecure Direct Object Reference

A

Used to manipulate URLs to gain access to a resource without requiring proper authentication

https://bank.com/account.php?acct=1234

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

JSON REST vs SOAP + XML

A

Representational State Transfer (REST)
● A client/server model for interacting with content on remote
systems over HTTP

Simple Object Access Protocol (SOAP)
● Used for exchanging structural information for web services

REST and JSON
● Mobile devices
▪ SOAP and XML
● Security/transactional services

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Machine Code

A

▪ Basic instructions written in machine language that can be directly executed by the CPU
▪ Specific to a type of processor and can only be run on the processor where it was compiled

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Bytecode

A

▪ An intermediate form of code produced by a compiler that can be translated into machine code

This is used to make code cross-platform so it can be run on many devices (Windows vs MacOS)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly