An attacker attempts to invoke all common switches and options in the target application for the purpose of discovering weaknesses in the target. For example, in some applications, adding a --debug switch causes debugging information to be displayed, which can sometimes reveal sensitive processing or configuration information to an attacker. This attack differs from other forms of API abuse in that the attacker is indiscriminately attempting to invoke options in the hope that one of them will work rather than specifically targeting a known option. Nonetheless, even if the attacker is familiar with the published options of a targeted application this attack method may still be fruitful as it might discover unpublicized functionality.
Description
Attack Execution Flow
Step 1
Explore[Identify application] Discover an application of interest by exploring service registry listings or by connecting on a known port or some similar means.
Search via internet for known, published applications that allow option switches.
Use automated tools to scan known ports to identify applications that might be accessible
[Identifica applicazione] Scopri un'applicazione di interesse esplorando le voci del service registry o collegandoti a una porta nota o tramite altri metodi simili.
Ricerca su internet di applicazioni conosciute e pubblicate che consentono switch di opzioni.
Utilizza strumenti automatizzati per scansionare le porte conosciute al fine di identificare applicazioni potenzialmente accessibili
Attack Techniques
-
Search via internet for known, published applications that allow option switches.
-
Use automated tools to scan known ports to identify applications that might be accessibleIT: Cerca su internet applicazioni note e pubblicate che consentano l'uso di switch di opzione.
Step 2
Explore[Authenticate to application] Authenticate to the application, if required, in order to explore it.
Use published credentials to access system.
Find unpublished credentails to access service.
Use other attack pattern or weakness to bypass authentication.
[Autenticarsi all'applicazione] Autenticarsi all'applicazione, se necessario, per esplorarla.
Utilizzare credenziali pubblicate per accedere al sistema.
Trovare credenziali non pubblicate per accedere al servizio.
Utilizzare altri modelli di attacco o vulnerabilità per bypassare l'autenticazione.
Attack Techniques
-
Use published credentials to access system.
-
Find unpublished credentails to access service.IT: Utilizzare credenziali pubblicate per accedere al sistema.
-
Use other attack pattern or weakness to bypass authentication.IT: Utilizzare credenziali pubblicate per accedere al sistema.
Step 3
Experiment[Try all common switches] Using manual or automated means, attempt to run the application with many different known common switches. Observe the output to see if any switches seemed to put the application in a non production mode that might give more information.
Manually execute the application with switches such as --debug, --test, --development, --verbose, etc.
Use automated tools to run the application with common switches and observe the output
[Prova tutte le commutazioni comuni] Utilizzando metodi manuali o automatizzati, tenta di eseguire l'applicazione con molteplici switch noti e comuni. Osserva l'output per verificare se qualche switch sembra mettere l'applicazione in modalità non produzione che potrebbe fornire più informazioni.
Esegui manualmente l'applicazione con switch come --debug, --test, --development, --verbose, ecc.
Utilizza strumenti automatizzati per eseguire l'applicazione con switch comuni e osserva l'output
Attack Techniques
-
Manually execute the application with switches such as --debug, --test, --development, --verbose, etc.
-
Use automated tools to run the application with common switches and observe the outputIT: Esegui manualmente l'applicazione con opzioni come --debug, --test, --development, --verbose, ecc.
Step 4
Exploit[Use sensitive processing or configuration information] Once extra information is observed from an application through the use of a common switch, this information is used to aid other attacks on the application
Using application information, formulate an attack on the application
[Utilizzo di informazioni sensibili di elaborazione o configurazione] Una volta osservate informazioni aggiuntive da un'applicazione tramite l'uso di un'interruttore comune, queste informazioni vengono utilizzate per facilitare altri attacchi sull'applicazione
Utilizzando le informazioni dell'applicazione, formulare un attacco contro l'applicazione
Attack Techniques
-
Using application information, formulate an attack on the application
Mitigations
Design: Minimize Switch And Option Functionality To Only That Necessary For Correct Function Of The Command.
Implementation: Remove All Debug And Testing Options From Production Code.
Consequences
Consequence Information
{'impacts': [], 'impacts_translate': [], 'scopes': [], 'scopes_translate': []}