CompTIA Security+ (SY0-801) · Section 14 of 36

Free Application, Web, and Cloud Attacks practice questions

10 free SY0-801 questions on Application, Web, and Cloud Attacks, each with a full explanation — no account needed. This section sits in the Threats, Vulnerabilities, and Attacks part of the exam. Answer every question to see your score, then read the lessons below for anything you missed.

SY0-801
Exam
10
Questions
4
Lessons
0 / 10 answered
Q1 · 2.5

A web page lets an admin ping a host. A request arrives with the host value set to 8.8.8.8; cat /etc/passwd and the response includes the contents of that system file. Which attack is this?

Q2 · 2.5

An application shows no query output and no error messages, but an attacker sends many near-identical requests to one parameter, some of which make the response pause for several seconds. Which technique is this?

Q3 · 2.5

A username field receives the value *)(uid=*))(|(uid=* and the application then treats the attacker as an authenticated directory user. Which injection is this?

Q4 · 2.5

A SOAP API accepts XML that users submit. A document declares a document type with an external SYSTEM entity referencing a local file path, and the parser returns that file's contents in its response. Which attack is this, and what stops it?

Q5 · 2.5

A crafted link carries a script in its query string. When a victim clicks it, the server echoes that query straight into the results page and the script runs, but only for the person who followed the link. Which type of cross-site scripting is this?

Q6 · 2.5

What is the purpose of a stack canary, also called a stack cookie?

Q7 · 2.5

A standard user exploits a flaw in a SUID-root binary on Linux and uses it to spawn a shell that runs as root. Which kind of privilege escalation is this?

Q8 · 2.5

An overflow exploit lands the attacker's code in the stack and tries to run it, but the CPU refuses because the region is marked data-only. Which protection blocked the exploit?

Q9 · 2.5

Why does Address Space Layout Randomization make buffer overflow exploits less reliable?

Q10 · 2.5

After a low-privilege web process is compromised, investigators see a new account added to a privileged group and an unexpected process running as SYSTEM. Which activity is indicated, and which control most limits its damage?

Study this section

Every lesson that covers Application, Web, and Cloud Attacks on the SY0-801 exam.

More SY0-801 sections