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

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

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