Skip to content

Commit c1138ac

Browse files
authored
Typo fix: reply -> replay
1 parent 37132eb commit c1138ac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,9 @@ a trusted and expected URL.
156156

157157
Read more about Open Redirect [CWE-601](https://cwe.mitre.org/data/definitions/601.html).
158158

159-
### Avoiding Reply attacks ###
159+
### Avoiding Replay attacks ###
160160

161-
A reply attack is basically try to reuse an intercepted valid SAML Message in order to impersonate a SAML action (SSO or SLO).
161+
A replay attack is basically try to reuse an intercepted valid SAML Message in order to impersonate a SAML action (SSO or SLO).
162162

163163
SAML Messages have a limited timelife (NotBefore, NotOnOrAfter) that
164164
make harder this kind of attacks, but they are still possible.
@@ -169,7 +169,7 @@ we don't need to store all processed message/assertion Ids, but the most recent
169169

170170
The OneLogin_Saml2_Auth class contains the [get_last_request_id](https://github.com/onelogin/python-saml/blob/00b1f823b6c668b0dfb5e4a40d3709a4ceb2a6ae/src/onelogin/saml2/auth.py#L352), [get_last_message_id](https://github.com/onelogin/python-saml/blob/00b1f823b6c668b0dfb5e4a40d3709a4ceb2a6ae/src/onelogin/saml2/auth.py#L359) and [get_last_assertion_id](https://github.com/onelogin/python-saml/blob/00b1f823b6c668b0dfb5e4a40d3709a4ceb2a6ae/src/onelogin/saml2/auth.py#L366) methods to retrieve the IDs
171171

172-
Checking that the ID of the current Message/Assertion does not exists in the lis of the ones already processed will prevent reply
172+
Checking that the ID of the current Message/Assertion does not exists in the lis of the ones already processed will prevent replay
173173
attacks.
174174

175175

@@ -988,7 +988,7 @@ The ``x509certMulti`` is an array with 2 keys:
988988

989989
### Replay attacks ###
990990

991-
In order to avoid reply attacks, you can store the ID of the SAML messages already processed, to avoid processing them twice. Since the Messages expires and will be invalidated due that fact, you don't need to store those IDs longer than the time frame that you currently accepting.
991+
In order to avoid replay attacks, you can store the ID of the SAML messages already processed, to avoid processing them twice. Since the Messages expires and will be invalidated due that fact, you don't need to store those IDs longer than the time frame that you currently accepting.
992992

993993
Get the ID of the last processed message/assertion with the ``get_last_message_id``/``get_last_assertion_id method`` of the ``Auth`` object.
994994

0 commit comments

Comments
 (0)