This is an example of a SQL injection attack. SQL injection attacks exploit vulnerabilities in web applications that allow malicious users to input and execute their own SQL statements within the database. In this example, the attacker is specifically attempting to get the database to return all records with a role that contains the word ‘admin’. If successful, this would allow the attacker to gain access to administrator accounts on the system.
The best recommendation to remediate this vulnerability would be Option D: Parameterized queries. Parameterized queries allow developers to prevent malicious users from entering code in the form of SQL injections and other similar attacks. This will ensure that all user input is treated as a value rather than a command, and can help protect against malicious code injection attacks.
It's clearly an SQLi attack. The attackers presumably exfiltrated a database dump for administrator passwords, which they used for privilege escalation.
Parameterized queries, in addition to input validation/sanitization, is one of the most recommended solutions to such injection attacks.
MFA is essential as well, but that's just a general best practice. It doesn't fix this SPECIFIC vulnerability.
Encryption is just another best security practice that doesn't remediate the underlying vulnerability in question.
The secure SDLC is just a theoretical framework. It may advise fixes for software vulnerabilities like injection attacks, but it's not an actual solution in itself.
upvoted 3 times
...
This section is not available anymore. Please use the main Exam Page.PT0-002 Exam Questions
Log in to ExamTopics
Sign in:
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.
nickwen007
11 months, 1 week agonickwen007
11 months, 1 week agoOrean
11 months, 3 weeks ago