-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: text editor in public share and token related FPs (#59)
- Loading branch information
1 parent
0b87863
commit 00b687d
Showing
7 changed files
with
757 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
tests/regression/nextcloud-rule-exclusions-plugin/9508122.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
meta: | ||
author: "Esad Cetiner" | ||
description: "Text Editor: Opening a file" | ||
enabled: true | ||
name: 9508122.yaml | ||
tests: | ||
- test_title: 9508122-1 | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: OWASP CRS | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: PUT | ||
uri: /apps/text/session/create | ||
output: | ||
no_log_contains: id "911100" | ||
- test_title: 9508122-2 | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: OWASP CRS | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: PUT | ||
uri: /apps/text/public/session/create | ||
output: | ||
no_log_contains: id "911100" |
231 changes: 231 additions & 0 deletions
231
tests/regression/nextcloud-rule-exclusions-plugin/9508311.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,231 @@ | ||
--- | ||
meta: | ||
author: "Esad Cetiner" | ||
description: "Text Editor: Keeping track of client session within a text editor" | ||
enabled: true | ||
name: 9508311.yaml | ||
tests: | ||
- test_title: 9508311-1 | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: OWASP CRS | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /apps/text/session/sync | ||
data: "json.sessionToken=lsh8u9sd+dfsdaf/89" | ||
output: | ||
no_log_contains: | | ||
id "920273"|id "932236"|id "942432" | ||
- test_title: 9508311-2 | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: OWASP CRS | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /apps/text/session/close | ||
data: "json.sessionToken=lsh8u9sd+dfsdaf/89" | ||
output: | ||
no_log_contains: | | ||
id "920273"|id "932236"|id "942432" | ||
- test_title: 9508311-3 | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: OWASP CRS | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /apps/text/session/push | ||
data: "json.sessionToken=lsh8u9sd+dfsdaf/89" | ||
output: | ||
no_log_contains: | | ||
id "920273"|id "932236"|id "942432" | ||
- test_title: 9508311-4 | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: OWASP CRS | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /apps/text/public/session/sync | ||
data: "json.sessionToken=lsh8u9sd+dfsdaf/89" | ||
output: | ||
no_log_contains: | | ||
id "920273"|id "932236"|id "942432" | ||
- test_title: 9508311-5 | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: OWASP CRS | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /apps/text/public/session/close | ||
data: "json.sessionToken=lsh8u9sd+dfsdaf/89" | ||
output: | ||
no_log_contains: | | ||
id "920273"|id "932236"|id "942432" | ||
- test_title: 9508311-6 | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: OWASP CRS | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /apps/text/public/session/push | ||
data: "json.sessionToken=lsh8u9sd+dfsdaf/89" | ||
output: | ||
no_log_contains: | | ||
id "920273"|id "932236"|id "942432" | ||
- test_title: 9508311-7 | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: OWASP CRS | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /apps/text/attachments | ||
data: "json.sessionToken=lsh8u9sd+dfsdaf/89" | ||
output: | ||
no_log_contains: | | ||
id "920273"|id "932236"|id "942432" | ||
- test_title: 9508311-8 | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: OWASP CRS | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /apps/text/session/sync | ||
data: "json.sessionToken=0x0800b7098sdbf+sdfJB76/nsidf878B" | ||
output: | ||
no_log_contains: | | ||
id "920273"|id "942432"|id "942450" | ||
- test_title: 9508311-9 | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: OWASP CRS | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /apps/text/session/close | ||
data: "json.sessionToken=0x0800b7098sdbf+sdfJB76/nsidf878B" | ||
output: | ||
no_log_contains: | | ||
id "920273"|id "942432"|id "942450" | ||
- test_title: 9508311-10 | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: OWASP CRS | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /apps/text/session/push | ||
data: "json.sessionToken=0x0800b7098sdbf+sdfJB76/nsidf878B" | ||
output: | ||
no_log_contains: | | ||
id "920273"|id "942432"|id "942450" | ||
- test_title: 9508311-11 | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: OWASP CRS | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /apps/text/public/session/sync | ||
data: "json.sessionToken=0x0800b7098sdbf+sdfJB76/nsidf878B" | ||
output: | ||
no_log_contains: | | ||
id "920273"|id "942432"|id "942450" | ||
- test_title: 9508311-12 | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: OWASP CRS | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /apps/text/public/session/close | ||
data: "json.sessionToken=0x0800b7098sdbf+sdfJB76/nsidf878B" | ||
output: | ||
no_log_contains: | | ||
id "920273"|id "942432"|id "942450" | ||
- test_title: 9508311-13 | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: OWASP CRS | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /apps/text/public/session/push | ||
data: "json.sessionToken=0x0800b7098sdbf+sdfJB76/nsidf878B" | ||
output: | ||
no_log_contains: | | ||
id "920273"|id "942432"|id "942450" | ||
- test_title: 9508311-14 | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: OWASP CRS | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /apps/text/attachments | ||
data: "json.sessionToken=0x0800b7098sdbf+sdfJB76/nsidf878B" | ||
output: | ||
no_log_contains: | | ||
id "920273"|id "942432"|id "942450" |
Oops, something went wrong.