Hello Folks,
What is the recommended way to handle XML Custom Entity Expansion in APIC ?
XML message with Custom Entities can be constructed as shown , and cause CPU saturation and be the cause for a DOS(Denial of Service) attack
<!DOCTYPE foo [
<!ENTITY lol0 "lol ">
<!ENTITY lol1 "&lol0;&lol0;&lol0;&lol0;&lol0;&lol0;&lol0;&lol0;&lol0;">
<!ENTITY lol2 "&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;">
<!ENTITY lol3 "&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;">]>
On Datapower
XML Threat protection & XML Parser limits may be the way to go
https://www.ibm.com/docs/en/datapower-gateway/10.5.x?topic=wizard-configuring-xml-threat-protection
https://www.ibm.com/docs/en/datapower-gateway/10.5.x?topic=commands-xml-parser-limits
How can this be enable for requests to APIC ?
Thanks
Mehedi
------------------------------
Mehedi mehedi
------------------------------