You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-2Lines changed: 18 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,11 @@ and supported by OneLogin Inc.
12
12
Warning
13
13
-------
14
14
15
+
Version 2.18.0 introduces the 'rejectUnsolicitedResponsesWithInResponseTo' setting parameter, by default disabled, that will allow invalidate unsolicited SAMLResponse. This version as well will reject SAMLResponse if requestId was provided to the validator but the SAMLResponse does not contain a InResponseTo attribute.
16
+
as well as the 'destinationStrictlyMatches' parameter, by default disabled, that will force that the Destination URL should strictly match to the address that process the SAMLResponse.
17
+
18
+
Version 2.17.1 updates xmlseclibs to 3.0.4 (CVE-2019-3465), but php-saml was not directly affected since it implements additional checks that prevent to exploit that vulnerability.
19
+
15
20
Version 2.17.0 sets strict mode active by default
16
21
17
22
Update php-saml to 2.15.0, this version includes a security patch related to XEE attacks
@@ -100,7 +105,11 @@ Since [PHP 5.3 is officially unsupported](http://php.net/eol.php) we recommend y
100
105
101
106
### Code ###
102
107
103
-
#### Option 1. Download from github ####
108
+
#### Option 1. clone the repository from github ####
The toolkit is hosted on github. You can download it from:
106
115
@@ -111,7 +120,10 @@ Copy the core of the library inside the php application. (each application has i
111
120
structure so take your time to locate the PHP SAML toolkit in the best place).
112
121
See the "Guide to add SAML support to my app" to know how.
113
122
114
-
#### Option 2. Composer ####
123
+
Take in mind that the compressed file only contains the main files.
124
+
If you plan to play with the demos, use the Option 1.
125
+
126
+
#### Option 3. Composer ####
115
127
116
128
The toolkit supports [composer](https://getcomposer.org/). You can find the `onelogin/php-saml` package at https://packagist.org/packages/onelogin/php-saml
117
129
@@ -515,6 +527,10 @@ $advancedSettings = array (
515
527
// will be accepted.
516
528
'destinationStrictlyMatches' => false,
517
529
530
+
// If true, SAMLResponses with an InResponseTo value will be rejectd if not
531
+
// AuthNRequest ID provided to the validation method.
0 commit comments