exam questions

Exam SY0-501 All Questions

View all questions & answers for the SY0-501 exam

Exam SY0-501 topic 1 question 946 discussion

Actual exam question from CompTIA's SY0-501
Question #: 946
Topic #: 1
[All SY0-501 Questions]

Which of the following vulnerabilities can lead to unexpected system behavior, including the bypassing of security controls, due to differences between the time of commitment and the time of execution?

  • A. Buffer overflow
  • B. DLL injection
  • C. Pointer dereference
  • D. Race condition
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
TriBiT
Highly Voted 4 years, 7 months ago
almost sounds like the definition of race conditioning to me
upvoted 24 times
who__cares123456789___
4 years, 4 months ago
It IS race condition....now you see why this test has only 65% 1st attempt pass rate? they read the material then state emphatically that it is a buffer overflow!!
upvoted 7 times
...
...
SQLinjector
Highly Voted 4 years, 5 months ago
It's definitely Race Condition. A race condition arises in software when a computer program, to operate properly, depends on the sequence or timing of the program's processes or threads. Critical race conditions cause invalid execution and software bugs. Critical race conditions often happen when the processes or threads depend on some shared state.
upvoted 10 times
...
AbdullahMohammad251
Most Recent 1 year ago
Selected Answer: D
Race condition attacks aim to exploit the sequence of events or operations in systems to achieve unintended outcomes.
upvoted 1 times
...
Dion79
4 years ago
lol looks like D... Race conditions occur when the outcome from execution processes is directly dependent on the order and timing of certain events, and those events fail to execute in the order and timing intended by the developer. A race condition vulnerability is typically found where multiple threads are attempting to write a variable or object at the same memory location. Race conditions have been used as an anti-virus evasion technique. In 2016, the Linux® kernel was discovered to have an exploitable race condition vulnerability, known as Dirty COW (https://www.theregister.co.uk/2016/10/21/linux_privilege_escalation_hole). This type of vulnerability is mitigated by ensuring that a memory object is locked when one thread is manipulating it. Reference: 1. COM501B
upvoted 1 times
...
Aarongreene
4 years, 1 month ago
A race condition attack happens when a computing system that’s designed to handle tasks in a specific sequence is forced to perform two or more operations simultaneously. This technique takes advantage of a time gap between the moment a service is initiated and the moment a security control takes effect. HMMMM thinking it is race conditions
upvoted 3 times
...
Bennydee
4 years, 2 months ago
Attacker would use a buffer-overflow exploit to take advantage of a program that is waiting on a user’s input. https://www.geeksforgeeks.org/buffer-overflow-attack-with-example/
upvoted 1 times
...
kotal6969
4 years, 2 months ago
The difference between the time of commitment and execution is the definition of race condition...though knowing CompTIA they'd probably want buffer overflow.
upvoted 1 times
...
0mega1
4 years, 2 months ago
Security vulnerabilities caused by race conditions When a program that is designed to handle tasks in a specific sequence is asked to perform two or more operations simultaneously, an attacker can take advantage of the time gap between when the service is initiated and when a security control takes effect in order to create a deadlock or thread block situation.
upvoted 1 times
...
Dimitricl
4 years, 4 months ago
Is buffer overflow, here's the definition: Buffer overflow protection is any of various techniques used during software development to enhance the security of executable programs by detecting buffer overflows on stack-allocated variables, and preventing them from causing program misbehavior or from becoming serious security vulnerabilities. The key phrase of the question is "unexpected system behavior"
upvoted 2 times
Cryptomike87
4 years, 1 month ago
DUDE! “differences between the time of commitment and the time of execution” is your KEY The race condition can lead to privilege escalation too! Answer D is definite!
upvoted 3 times
...
...
Groove120
4 years, 4 months ago
MM 501 talks about RC as simultaneous not differential. The closes support I could find is actually for B Dll Injection: "DLL injection is a technique used by bad actors to get users to run malicious code. The code runs in the address space of another process and loads a malicious DLL. Once the DLL runs, all the usual impacts come into play: system control is one of the most common" Meyer's Sy0-501 p 477 Race condition indicates simultaneous, not differential: "Sometimes the effect of two or more simultaneous transactions can result in undesired results called a race condition."
upvoted 1 times
...
agapetus
4 years, 5 months ago
I came across buffer overflow in two books.
upvoted 1 times
...
Herbie1995
4 years, 5 months ago
Stack-based buffer overflows are the most common. They use stack memory, which exists during the execution time of a function.
upvoted 2 times
...
jbnkb
4 years, 6 months ago
It should be Race Condition
upvoted 4 times
...
dgse
4 years, 6 months ago
It looks like a pointer dereference to me: https://stackoverflow.com/questions/4955198/what-does-dereferencing-a-pointer-mean Reviewing the basic terminology
upvoted 4 times
...
pnikoul
4 years, 7 months ago
me too race condition seems to be a right answers
upvoted 6 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...