"\" not in blacklist for web server, allowing path
traversal attacks when the server is run in Windows and other OSes.
Potential Mitigations
Phase
Description
Ensure black list covers all inappropriate content outlined in the
Common Weakness Enumeration.
Combine use of black list with appropriate use of white lists.
Do not rely exclusively on blacklist validation to detect malicious
input or to encode output. There are too many variants to encode a
character; you're likely to miss some variants.
Weakness Ordinalities
Ordinality
Description
Primary
(where the
weakness exists independent of other weaknesses)
An incomplete blacklist frequently produces resultant weaknesses.
Some incomplete blacklist issues might arise from multiple interpretation
errors, e.g. a blacklist for dangerous shell metacharacters might not
include a metacharacter that only has meaning in one particular shell, not
all of them; or a blacklist for XSS manipulations might ignore an unusual
construct that's supported by one web browser, but not others.