CompTIA PenTest+ Exam PT0-003 Question # 7 Topic 1 Discussion

CompTIA PenTest+ Exam PT0-003 Question # 7 Topic 1 Discussion

PT0-003 Exam Topic 1 Question 7 Discussion:
Question #: 7
Topic #: 1

A penetration tester finds that an application responds with the contents of the /etc/passwd file when the following payload is sent:

xml

Copy code

<!DOCTYPE data [

]>

&foo;

Which of the following should the tester recommend in the report to best prevent this type of vulnerability?


A.

Drop all excessive file permissions with chmod o-rwx.


B.

Ensure the requests application access logs are reviewed frequently.


C.

Disable the use of external entities.


D.

Implement a WAF to filter all incoming requests.


Get Premium PT0-003 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.