CAPEC-79
Using Slashes in Alternate Encoding
This attack targets the encoding of the Slash characters. An adversary would try to exploit common filtering problems related to the use of the slashes characters to gain access to resources on the target host. Directory-driven systems, such as file systems and databases, typically use the slash character to indicate traversal between directories or other container components. For murky historical reasons, PCs (and, as a result, Microsoft OSs) choose to use a backslash, whereas the UNIX world typically makes use of the forward slash. The schizophrenic result is that many MS-based systems are required to understand both forms of the slash. This gives the adversary many opportunities to discover and abuse a number of common filtering problems. The goal of this pattern is to discover server software that only applies filters to one version, but not the other.
Soyutlama
Detailed
Tipik ciddiyet
High
Saldırı ihtimali
High
Saldırıyı anla
Bu saldırı kalıbı nedir?
Uygulama akışı
Saldırı adım adım nasıl ilerler?
Explore
Survey the application for user-controllable inputs
Kullanılan teknikler
- Use a spidering tool to follow and record all links and analyze the web pages to find entry points. Make special note of any links that include parameters in the URL.
- Use a proxy tool to record all user input entry points visited during a manual traversal of the web application.
- Use a browser to manually explore the website and analyze how it is constructed. Many browsers' plugins are available to facilitate the analysis or automate the discovery.
- Manually inspect the application to find entry points.
Experiment
Probe entry points to locate vulnerabilities
Kullanılan teknikler
- Try both backslash and forward slash characters
- Try different encodings for slash characters such as %5C
Exploit
Traverse application directories
Gereksinimler
Saldırının gerçekleşmesi için ne gerekir?
Ön koşullar
- The application server accepts paths to locate resources.
- The application server does insufficient input data validation on the resource path requested by the user.
- The access right to resources are not set properly.
Gerekli beceri
- Low: An adversary can try variation of the slashes characters.
- Medium: An adversary can use more sophisticated tool or script to scan a website and find a path filtering problem.
Gerekli kaynak
MITRE kaydında belirtilmemiş.
Tespit
Saldırının göstergeleri nelerdir?
Etki
Başarılı saldırı neye yol açar?
Etkilenen alanlar: Confidentiality
Etkilenen alanlar: Confidentiality, Integrity, Availability
Etkilenen alanlar: Confidentiality, Access Control, Authorization
Savunma
Nasıl önlenir ve etkisi azaltılır?
Gerçek dünya