ISC2 Certified Secure Software Lifecycle Professional (CSSLP) Practice Question
While reviewing misuse cases for a microservice that ingests customer-supplied XML, you document the threat "attacker submits deeply nested entities to crash the server." Which security requirement would most effectively mitigate this abuse case?
The service must reject any XML payload larger than 5 MB.
All API traffic must be protected with TLS 1.2 or higher.
The system must log every XML parsing error with timestamp and client IP.
The XML parser must disable external entity resolution and limit entity expansion depth.
The described threat is a form of XML External Entity (XXE) or entity expansion attack, where maliciously crafted, deeply nested or recursive entities consume excessive memory or CPU and cause denial of service. The primary preventive control is to configure the XML parser so it never processes external entities and strictly limits, or completely disables, entity expansion. Doing so eliminates the attack vector before the payload can be interpreted. Simply restricting request size may not help because small documents can still expand exponentially in memory. Requiring TLS protects data in transit but does nothing about parser behavior. Logging parsing errors is useful for detection and forensics, yet it does not block the attack. Therefore, disabling external entity resolution and limiting expansion depth is the most direct and effective requirement.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is an XXE attack?
Open an interactive chat with Bash
Why is disabling external entity resolution important in XML parsers?
Open an interactive chat with Bash
How does limiting entity expansion depth protect against XML-based attacks?
Open an interactive chat with Bash
What is an XML External Entity (XXE) attack?
Open an interactive chat with Bash
Why is limiting entity expansion depth important in XML parsing?
Open an interactive chat with Bash
How does disabling external entity resolution mitigate security risks?
Open an interactive chat with Bash
ISC2 Certified Secure Software Lifecycle Professional (CSSLP)
Secure Software Requirements
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .