Question
a.
Disallowing the use of single quotes (’)
b.
Blocking all input from users
c.
Allowing only alphanumeric characters
d.
Recognizing the types of legitimate input for a field
Posted under CompTIA PenTest+ Certification Exam PT0 002
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. What consideration must developers keep in mind when performing input validation to avoid impacting legitimate input?
Similar Questions
Discover Related MCQs
Q. What is parameter pollution in the context of web application security?
View solution
Q. How does parameter pollution work in injecting SQL code into a web application?
View solution
Q. Why might an attacker use the parameter pollution technique with two different values for the same input variable?
View solution
Q. What assumption does a parameter pollution attack rely on?
View solution
Q. How do parameter pollution attacks persist despite most modern platforms defending against them?
View solution
Q. What is the primary role of Web Application Firewalls (WAFs) in web application security?
View solution
Q. In which layer do Web Application Firewalls (WAFs) operate?
View solution
Q. What is the significance of input validation in the context of injection attacks?
View solution
Q. When might injection flaws still occur in web applications despite input validation?
View solution
Q. What does a Web Application Firewall (WAF) scrutinize to prevent malicious traffic?
View solution
Q. What is the primary objective of SQL injection attacks in web applications?
View solution
Q. In a basic SQL injection attack, what does the attacker ideally want to do after providing input to the web application?
View solution
Q. When might a web application with SQL injection flaws not provide the attacker with the ability to directly view the results of the attack?
View solution
Q. What is the purpose of blind SQL injection attacks?
View solution
Q. In Boolean blind SQL injection, what does the attacker test through injected code before attempting the attack?
View solution
Q. How does an attacker perform testing in Boolean blind SQL injection after injecting code into the account number field?
View solution
Q. What query would be sent to the database in a successful Boolean SQL injection attack with the input '52019' OR 1=1;--?
View solution
Q. What does an attacker infer if the web application returns a page with no results after providing input '52019' AND 1=2;--?
View solution
Q. Why is it difficult to distinguish between a well-defended application and a successful Boolean SQL injection attack with limited visibility into the application?
View solution
Q. What is the significance of blind SQL injection attacks in scenarios where the attacker cannot directly view the results?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond CompTIA PenTest+ Certification Exam PT0 002? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!