Skip to content

Commit 783ba34

Browse files
authored
Fixes #137 SCP [14, 21] Cornucopia - Validate Input (#138)
* Fixes #137 SCP [14] Cornucopia - Validate Input * Fixes #137 SCP [14] Cornucopia - Validate Input * Fixes #137 SCP [14] Cornucopia - Validate Input
1 parent 25cfdf3 commit 783ba34

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.wordlist-en.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,3 +535,4 @@ BOPLA
535535
BOLA
536536
WebDAV
537537
tunable
538+
allowlist

docs/en/04-design/02-web-app-checklist/04-encode-escape-data.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ and use the list below as suggestions for a checklist that has been tailored for
1818
5. Apply canonicalization to convert unicode data into a standard form
1919
6. Ensure the output encoding is safe for all target systems
2020
7. In particular sanitize all output used for operating system commands
21+
8. Sanitize potentially dangerous characters before using the data to call another service
2122

2223
#### 2. Contextual output encoding
2324

docs/en/04-design/02-web-app-checklist/05-validate-inputs.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ and use the list below as suggestions for a checklist that has been tailored for
2020
8. Validate data range and also data length
2121
9. Utilize canonicalization to address obfuscation attacks
2222
10. All validation failures should result in input rejection
23+
11. Validate all input against an allowlist of characters, whenever possible
2324

2425
#### 2. Libraries and frameworks
2526

0 commit comments

Comments
 (0)