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
12 comments · newest first
RA
Raylene
3 months ago
I'm leaning towards C) Race Conditions. The timing issues could be exploited.
DO
Dorethea
3 months ago
I feel it's E) All of the above. Each attack vector seems plausible here.
PE
Peggy
3 months ago
I think it's A) Denial of Service. The code looks like it could be overwhelmed easily.
KR
Kristofer
4 months ago
Race Conditions are definitely a concern in this code.
ET
Ettie
4 months ago
All of the above seems too broad, but could be right.
MA
Margarita
4 months ago
Surprised that Arithmetic is even an option!
TH
Theron
6 months ago
I think it's more about Access Control.
KE
Kenneth
6 months ago
Definitely a Denial of Service issue here.
EL
Ellen
6 months ago
I feel like it could be all of the above, but that seems too broad. I need to think more about the specific vulnerabilities.
AN
Annamae
7 months ago
I'm leaning towards option B, access control, since it seems like a common vulnerability in similar examples we've studied.
LA
Lavina
7 months ago
I remember a practice question that mentioned denial of service attacks, but I can't recall if it applies here.
ED
Eden
7 months ago
I think this code might be vulnerable to race conditions, but I'm not entirely sure how to identify them in this context.