Skip to main content

Questions tagged [nonce]

a random number that is only used once. It is generated at the beginning of a communication by one communication partner and has to be sent back by the other one in order to prevent replay attacks.

1 vote
1 answer
87 views

I'd like to verify the following idea for combining form submission nonces and CSRF tokens. They are different concepts, but I believe we can achieve both protections with a single solution. I believe ...
Taco de Wolff's user avatar
0 votes
1 answer
749 views

I am trying to implement a CSP policy for our Angular 18 application based on Angular's CSP recommendation and I have found that their recommendation does not make sense to me. Specifically their use ...
java-addict301's user avatar
5 votes
2 answers
2k views

I'm not a security expert, so please excuse this question if it's silly, but I would really like an answer. I am using AES GCM to encrypt and would like to combine the randomly generated nonce with ...
doejoe's user avatar
  • 53
2 votes
1 answer
1k views

Websockets don't support sending auth tokens during websocket handshake as part of HTTP headers, rather only via query parameters. This has a security risk of leaking these tokens in server logs. ...
Security Learner's user avatar
4 votes
1 answer
2k views

In general, I understand that nonces are used to prevent replay attacks, but in the case of a TLS 1.3 handshake, the Client/Server Hello message contains their public keys. Considering that keys are ...
tired_owl's user avatar
2 votes
1 answer
419 views

The ACME protocol defines the use of a replay nonce to prevent replay attacks. I understand what replay attacks are and why it's important to prevent them in certain scenarios. But I can't think of a ...
Sebastian's user avatar
6 votes
1 answer
884 views

I'm building an high velocity auth system, used both for user to machine and machine to machine authentication and authorization. To prevent a replay attack I'm adding a nonce to each request, but in ...
Mascarpone's user avatar
5 votes
2 answers
1k views

I'm in the process of evaluating adding WebAuthn/Passkey support to a website, and I'm not really sure how to properly manage challenge nonces. My understanding is that the main reason for using ...
Dolda2000's user avatar
  • 293
0 votes
2 answers
639 views

Question The question is in the title, but here are more details: I want my server to have an upload endpoint (single POST for small data or multipart for larger data) where clients can upload data. ...
XMR-XMR's user avatar
1 vote
1 answer
4k views

In digest authentication we use something that is called cnonce. According to RFC7616: This parameter MUST be used by all implementations. The cnonce value is an opaque quoted ASCII-only string value ...
GalSuchetzky's user avatar
2 votes
0 answers
115 views

During my pentest of a client's websites I stumbled upon the WP with vulnerable WP Statistics plugin installed. To exploit this vulnerability, I should send a JSON-API request to endpoint /json-api/wp-...
skavans's user avatar
  • 121
2 votes
1 answer
890 views

Looking at this question Openid connect nonce replay attack and the answer by @benbotto. I understand the replay attack in implicit flow but unable to understand it for auth code flow. Let's say an ...
user267581's user avatar
1 vote
1 answer
328 views

SHA-256 generates a 32-byte hash, Is it a safe practice to use the first 16 as an iv (nonce) and the second 16 as a key ? What other things I should consider when using PBKDF2 in a scenario like this ?...
Mohammed Rady's user avatar
0 votes
0 answers
235 views

I need validation / feedback please with the implementation of a web based client-server application that I am building. I need to make sure that a client's cookies can't be hijacked and therefore I ...
Michael Seifert's user avatar
0 votes
3 answers
1k views

I want to implement a service that can't read the data you store there. The Idea is that I, like in a password manager, use the password to derive a vault key, which is different from the ...
Gamer2015's user avatar
  • 737

15 30 50 per page
1
2 3 4 5
7