During a SQL update of a database, a temporary field used as part of the update sequence was modified by an attacker before the update completed in order to allow access to the system. Which of the following best describes this type of vulnerability?
Correct Answer: A
Arace conditionoccurs whentwo or more processes attempt to access and modify a shared resource simultaneously, leading to unintended behavior. In this scenario, the attacker was able to modify a temporary fieldbefore the SQL update completed, indicating atime-of-check to time-of-use (TOCTOU) vulnerability
, which is a type of race condition.
* Memory injection (B)refers to inserting malicious code into a running process's memory, but that isnot what is happening here.
* Malicious update (C)is too broad and does not specifically describe this scenario.
* Side loading (D)is a technique where malicious software is loaded via a trusted application, unrelated to this case.