Timedora
Free Online Flashcard Deck

Injection Flaws and Trust Boundaries Free Online Flashcards

Study Injection Flaws and Trust Boundaries with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

What makes a vulnerability an injection flaw?

Back

Injection occurs when untrusted data changes the meaning of instructions processed by an interpreter.

02
Front

What is the underlying failure in injection?

Back

The software fails to reliably preserve the separation between data and control syntax.

03
Front

Name some components that can interpret instructions.

Back

A database, operating-system shell, browser, or directory service can act as an interpreter.

04
Front

How can concatenating a username into SQL cause injection?

Back

If a supplied username is concatenated into SQL, syntax in its value may make the database process a different query than intended.

05
Front

What can injection enable, and what affects its impact?

Back

It can expose or alter data, bypass controls, or change program behavior; the impact depends on the interpreter and the application’s permissions.

06
Front

What is a trust boundary?

Back

A trust boundary is where data crosses from a less-trusted context into a component that may act on it.

07
Front

What are common sources of data crossing a trust boundary?

Back

Form fields, URL parameters, headers, cookies, uploaded files, stored user content, and responses from other services can all carry untrusted data.

08
Front

Does storage in a database make data trustworthy?

Back

No. Data may still have originated with an attacker, even if it was stored in a database or forwarded by an internal service.

09
Front

Why is embedding untrusted values in interpreter input risky?

Back

Embedding untrusted values in a query, command, template, or markup can let those values alter interpreter instructions.

10
Front

Why is trusting data based only on its source unsafe?

Back

Assuming data is safe because it came from a particular client, service, or database can lead to injection.

11
Front

Why might validation become insufficient later?

Back

Validation may no longer be sufficient if the data is later used in a different context or after a transformation.

12
Front

Why is a denylist of suspicious characters an unreliable defense?

Back

A denylist does not reliably preserve the boundary between interpreter syntax and data.