Skip to main content
Commonmark migration
Source Link

NB: Not asking for a current password allows an attacker who has somehow hijacked current session's cookies to hijack the account as well, in direct contravention of OWASP Guideline AT-011

What security experts say about this issue:

this is pretty bad

 

it took me about half a minute of thinking to think of where to execute a POST request with JS while signed into SE and deny any attacked user access to his account


I decided to change my password via the my logins link, and was presented with this dialog:

Change password for XXX, new password, new password (again)

Notice the lack of confirmation of current password.

I love that I can stay logged in to Stack Exchange sites permanently, but it worries me that someone could change my password without knowing my current password.

The confirmation email says:

The password to your Stack Exchange account has been changed.
(If you didn't do this, you should be worried.)

The link is to https://openid.stackexchange.com/user so would presumably need me to be logged in there (which I wasn't) to do anything about it.


P.S. This is related to but not duplicate of Logins can be added/removed without reauthenticating, allowing temporary XSS to be escalated to permanent account hijacking, with both bugs stemming from lack of defense-in-depth here.

NB: Not asking for a current password allows an attacker who has somehow hijacked current session's cookies to hijack the account as well, in direct contravention of OWASP Guideline AT-011

What security experts say about this issue:

this is pretty bad

 

it took me about half a minute of thinking to think of where to execute a POST request with JS while signed into SE and deny any attacked user access to his account


I decided to change my password via the my logins link, and was presented with this dialog:

Change password for XXX, new password, new password (again)

Notice the lack of confirmation of current password.

I love that I can stay logged in to Stack Exchange sites permanently, but it worries me that someone could change my password without knowing my current password.

The confirmation email says:

The password to your Stack Exchange account has been changed.
(If you didn't do this, you should be worried.)

The link is to https://openid.stackexchange.com/user so would presumably need me to be logged in there (which I wasn't) to do anything about it.


P.S. This is related to but not duplicate of Logins can be added/removed without reauthenticating, allowing temporary XSS to be escalated to permanent account hijacking, with both bugs stemming from lack of defense-in-depth here.

NB: Not asking for a current password allows an attacker who has somehow hijacked current session's cookies to hijack the account as well, in direct contravention of OWASP Guideline AT-011

What security experts say about this issue:

this is pretty bad

it took me about half a minute of thinking to think of where to execute a POST request with JS while signed into SE and deny any attacked user access to his account


I decided to change my password via the my logins link, and was presented with this dialog:

Change password for XXX, new password, new password (again)

Notice the lack of confirmation of current password.

I love that I can stay logged in to Stack Exchange sites permanently, but it worries me that someone could change my password without knowing my current password.

The confirmation email says:

The password to your Stack Exchange account has been changed.
(If you didn't do this, you should be worried.)

The link is to https://openid.stackexchange.com/user so would presumably need me to be logged in there (which I wasn't) to do anything about it.


P.S. This is related to but not duplicate of Logins can be added/removed without reauthenticating, allowing temporary XSS to be escalated to permanent account hijacking, with both bugs stemming from lack of defense-in-depth here.

edited tags
Link
Pops Staff
  • 69k
  • 34
  • 226
  • 359
Notice removed Authoritative reference needed by CommunityBot
Bounty Ended with Haney's answer chosen by CommunityBot
You're right that this is an issue, but it's been this way forever without a lot of reported problems. Only truly exploitable if we have an XSS vulnerability on our site or you leave yourself logged in on a public resource. At the end of the day, we're going to try and do it soon.
Link
Haney Staff
  • 7.5k
  • 38
  • 54
Clarification
Source Link
Deer Hunter
  • 6.3k
  • 2
  • 23
  • 54
Loading
We cannot fix it, SE devs can.
Link
Deer Hunter
  • 6.3k
  • 2
  • 23
  • 54
Loading
Notice added Authoritative reference needed by Deer Hunter
Bounty Started worth 100 reputation by Deer Hunter
Notice removed Draw attention by CommunityBot
Bounty Ended with no winning answer by CommunityBot
Cred. fix -oopsie
Source Link
Deer Hunter
  • 6.3k
  • 2
  • 23
  • 54
Loading
Prettification.
Source Link
Deer Hunter
  • 6.3k
  • 2
  • 23
  • 54
Loading
Full link. Text updated - PS added
Source Link
Deer Hunter
  • 6.3k
  • 2
  • 23
  • 54
Loading
Clarification
Source Link
Deer Hunter
  • 6.3k
  • 2
  • 23
  • 54
Loading
Beatings will continue until morale improves (yet again)
Source Link
Deer Hunter
  • 6.3k
  • 2
  • 23
  • 54
Loading
Edited out irrelevant apology, the OP has nothing to apologize for.
Source Link
Deer Hunter
  • 6.3k
  • 2
  • 23
  • 54
Loading
Notice added Draw attention by Deer Hunter
Bounty Started worth 50 reputation by Deer Hunter
Notice removed Draw attention by CommunityBot
Bounty Ended with no winning answer by CommunityBot
Technical correction
Source Link
Deer Hunter
  • 6.3k
  • 2
  • 23
  • 54
Loading
Beatings will continue until morale improves
Link
Deer Hunter
  • 6.3k
  • 2
  • 23
  • 54
Loading
Fixed title: Password "reset" functions never ask for the password, since their purpose is to recover a lost password
Link
Nathan Tuggy
  • 13.4k
  • 9
  • 43
  • 86
Loading
Editing to include relevant quotes
Source Link
Deer Hunter
  • 6.3k
  • 2
  • 23
  • 54
Loading