QuestionQ88

VerifiedVulnerability Discovery and Analysis

A penetration tester discovers that an application returns the contents of the /etc/passwd file when this payload is submitted:

Question Image

Which recommendation should the tester include in the report to best prevent this type of vulnerability?

Explanation

XML External Entity (XXE) attacks occur when an XML parser resolves externally defined entities, allowing attacker-controlled input to access local files or other resources. Disabling external-entity processing prevents the parser from resolving the malicious file reference.

Community Discussion

No comments yet. Be the first to start the discussion!