ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 463 - CAS-004 discussion

Report
Export

A security researcher identified the following messages while testing a web application:

Which of the following should the researcher recommend to remediate the issue?

A.
Software composition analysis
Answers
A.
Software composition analysis
B.
Packet inspection
Answers
B.
Packet inspection
C.
Proper error handling
Answers
C.
Proper error handling
D.
Elimination of the use of unsafe functions
Answers
D.
Elimination of the use of unsafe functions
Suggested answer: C

Explanation:

The log messages in the image display detailed error messages, indicating improper error handling, which can expose sensitive information to potential attackers. Proper error handling ensures that error messages do not reveal underlying application details (such as file paths or configuration information) that could be exploited. This aligns with the best practices in secure coding and is a core concept in CASP+. Rather than exposing the inner workings of the application, the system should return generic error messages to users while logging detailed information securely for internal troubleshooting.

CASP+ CAS-004 Exam Objectives: Domain 2.0 -- Enterprise Security Operations (Secure Coding, Error Handling)

CompTIA CASP+ Study Guide: Web Application Security and Proper Error Handling Techniques

asked 02/10/2024
Dewald Van Schalkwyk
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first