security - Record duplication issue which has been claimed as CSRF attack -


we facing record duplication issue has been claimed csrf attack.

the scenario admin user logged in application , adding record, data getting saved in database. corresponding post request getting captured , replayed ends adding duplicate records in database. vulnerability allows attacker add 'n' number of duplicate records in database on replay.

can called csrf attack?

no, not really.

if post being captured, looking @ replay attack, wherein legitimate request replayed again.

you can defeat replay attacks adding nonce (random value) form, , requiring random value present when post done, invalidating nonce. same technique used foil csrf attacks.

however, if attacker can read post data, may have bigger problems. example, capable of capturing admin authentication step, can reveal passwords or other sensitive information.


it's possible aren't under attack, , duplicates caused use of either button or page reloads. in case, safest use kind of defense prevent repeated transactions.


Comments

Popular posts from this blog

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -