Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Feature:
In order to prevent XSS attacks
As a user
I need EB to filter malicious asc values in AuthnRequests
I need EB to filter malicious ACS values in AuthnRequests

Background:
Given an EngineBlock instance on "dev.openconext.local"
Expand All @@ -10,8 +10,8 @@ Feature:
And an Identity Provider named "AlwaysAuth"
And a Service Provider named "Malicious SP"
And a Service Provider named "Malconfigured SP"
And SP "Malicious SP" is set with acs location "javascript:alert('Hello world')"
And SP "Malconfigured SP" is set with acs location "sp.example.com"
And SP "Malicious SP" is set with ACS location "javascript:alert('Hello world')"
And SP "Malconfigured SP" is set with ACS location "sp.example.com"

Scenario: The Malicious SP AuthnRequest is denied by EngineBlock
Given I log in at "Malicious SP"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public function spSignsItSRequests($spName)
}

/**
* @Given /^SP "([^"]*)" is set with acs location "([^"]*)"$/
* @Given /^SP "([^"]*)" is set with ACS location "([^"]*)"$/
*/
public function spConfiguredWithAcsLocation($spName, $acsLocation)
{
Expand Down