SQL and XML Injections Flashcards

(6 cards)

1
Q

What is an Injection Attack?

A

Involves sending malicious data to a system for unintended consequences

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

What is a Code Injection?

A

The insertion of additional information or code through a data input form from a client to an application

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

What is an SQL Injection?

A

Involves inserting malicious SQL code into input fields

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

What is an XML Bomb (Billion Laughs Attack)?

A

XML consumes memory exponentially by encoding entities that expand to big sizes, acting like a denial-of-service attack

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

What is an XXE (XML External Entity) Attack?

A

Attempts to read local resources, like password hashes in the shadow file

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

What are the ways to defend against SQL and XML attacks?

A

Input Validation and Input Sanitization

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