An adversary exploits macro-like substitution to cause a denial of service situation due to excessive memory being allocated to fully expand the data. The result of this denial of service could cause the application to freeze or crash. This involves defining a very large entity and using it multiple times in a single entity substitution. CAPEC-197 is a similar attack pattern, but it is easier to discover and defend against. This attack pattern does not perform multi-level substitution and therefore does not obviously appear to consume extensive resources.
Description
Attack Execution Flow
Step 1
Explore[Survey the target] An adversary determines the input data stream that is being processed by a data parser that supports using substituion on the victim's side.
Use an automated tool to record all instances of URLs to process requests.
Use a browser to manually explore the website and analyze how the application processes requests.
[Indaga sul target] Un avversario determina il flusso di dati in ingresso che viene elaborato da un parser di dati che supporta l'uso di sostituzioni lato vittima.
Utilizza uno strumento automatizzato per registrare tutte le istanze di URL per elaborare le richieste.
Usa un browser per esplorare manualmente il sito web e analizzare come l'applicazione elabora le richieste.
Attack Techniques
-
Use an automated tool to record all instances of URLs to process requests.
-
Use a browser to manually explore the website and analyze how the application processes requests.IT: Utilizza uno strumento automatizzato per registrare tutte le istanze di URL al fine di elaborare le richieste.
Step 2
Exploit[Craft malicious payload] The adversary crafts malicious message containing nested quadratic expansion that completely uses up available server resource.
[Creazione payload dannoso] L'attore malevolo crea un messaggio dannoso contenente un'espansione quadratica annidata che esaurisce completamente le risorse disponibili del server.
Step 3
Exploit[Send the message] Send the malicious crafted message to the target URL.
[Invia il messaggio] Invia il messaggio malevolo appositamente creato all'URL di destinazione.