Given the code snippet below: Which of the following vulnerability types in the MOST concerning?

QuestionsCategory: CAS-003Given the code snippet below: Which of the following vulnerability types in the MOST concerning?
Admin Staff asked 6 months ago
Given the code snippet below:
 Image
Which of the following vulnerability types in the MOST concerning?

A. Only short usernames are supported, which could result in brute forcing of credentials.

B. Buffer overflow in the username parameter could lead to a memory corruption vulnerability.

C. Hardcoded usernames with different code paths taken depend on which user is entered.

D. Format string vulnerability is present for admin users but not for standard users.








 

Suggested Answer: B





This question is in CAS-003 CompTIA Advanced Security Practitioner (CASP+) Exam
For getting CompTIA Advanced Security Practitioner (CASP+) Certificate


Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by CompTIA. 
Trademarks, certification & product names are used for reference only and belong to CompTIA.
The website does not contain actual questions and answers from CompTIA's Certification Exams.

Next Post

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.