This sample code is vulnerable to which of the following attacks?

Suggested Answer: A
Get Premium CBSP Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
25 comments · newest first
MI
Millie
6 months ago
C) Race Conditions could be a problem too. It’s tricky!
AJ
Aja
6 months ago
I’m not sure, but B) Access Control seems likely.
GE
Geraldo
6 months ago
I lean towards E) All of the above. The code looks risky.
ZA
Zack
6 months ago
I think it's A) Denial of Service. It makes sense.
JO
Johnna
7 months ago
I agree, race conditions seem most likely here.
AL
Alona
7 months ago
Definitely not denial of service, that's a stretch.
HE
Heike
7 months ago
Surprised this code isn't flagged for all of the above!
CO
Colette
7 months ago
I think it's more about access control issues.
LA
Laurel
7 months ago
Looks like a classic case of race conditions.
EN
Ena
7 months ago
C'mon, it's gotta be A. Denial of Service. That code will bring the whole system down!
MU
Murray
8 months ago
Hmm, I'd say B. Access Control. Whoever wrote this needs to go back to security school.
DE
Dexter
8 months ago
I'm going with E. All of the above. This looks like a security nightmare.
VA
Valentine
8 months ago
Definitely C. Race Conditions. That code is a mess!
NI
Nicolette
9 months ago
I think the answer could be "All of the above," but I need to double-check the code to be certain.
LI
Linwood
9 months ago
I remember we discussed access control vulnerabilities in class, but I'm not confident if that's the right answer here.
CA
Casandra
9 months ago
I feel like it could also be a denial of service issue, but I can't recall the specifics.
VA
Val
9 months ago
I think this might be related to race conditions, but I'm not entirely sure. I remember practicing a question like this.
CH
Charlena
9 months ago
This is a good test of my security knowledge. I'll methodically go through the answer choices and see which one best fits the code sample.
DO
Donte
9 months ago
I think I've seen something like this before. Let me review the key security concepts and see if I can spot the vulnerability.
MA
Margurite
10 months ago
Okay, let's see. I'm leaning towards option E, but I want to double-check my understanding of the different attack types before I commit to an answer.
SU
Susana
10 months ago
I'm not sure about this one. The code sample doesn't provide much context, so I'll have to think through the different attack vectors carefully.
CO
Coral
10 months ago
Hmm, this looks like a tricky one. I'll need to carefully analyze the code to identify the potential vulnerabilities.
JO
Jody
4 months ago
I'm leaning towards Access Control issues.
MI
Micah
5 months ago
What about Race Conditions? They can be sneaky.
GL
Glynda
6 months ago
I think it could be a Denial of Service attack.