Detailedlikelihood: Highseverity: HighDraft
CAPEC-79Using Slashes in Alternate Encoding
Abstraction
Detailed
Status
Draft
Likelihood
High
Severity
High
Description
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.
Related weaknesses· 11
Related attack patterns· 1
Exploits11
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Weakness | Incorrect Regular Expressioncwe-185 | 100% | live |
| Weakness | Incorrect Behavior Order: Validate Before Filtercwe-181 | 100% | live |
| Weakness | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')cwe-74 | 100% | live |
| Weakness | Incorrect Comparisoncwe-697 | 100% | live |
| Weakness | Incorrect Behavior Order: Validate Before Canonicalizecwe-180 | 100% | live |
| Weakness | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')cwe-22 | 100% | live |
| Weakness | Improper Input Validationcwe-20 | 100% | live |
| Weakness | External Control of File Name or Pathcwe-73 | 100% | live |
| Weakness | Improper Handling of Alternate Encodingcwe-173 | 100% | live |
| Weakness | Exposure of Sensitive Information to an Unauthorized Actorcwe-200 | 100% | live |
| Weakness | Improper Neutralizationcwe-707 | 100% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.