Opened 18 years ago
Closed 18 years ago
#7790 closed defect (bug) (fixed)
Log out actions should be protected against CSRF
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.7 | Priority: | normal |
| Severity: | normal | Version: | 2.7 |
| Component: | Security | Keywords: | |
| Focuses: | Cc: |
Description
Anyone can log you out of any WordPress install using CSRF (i.e. pointing you to the /wp-login.php?action=logout for that blog). This can aid in phishing attempts, and can have unforeseen security ramifications.
Log out actions should have their intention validated via nonce with fallback to AYS.
Attachments (3)
Change History (7)
Note: See
TracTickets for help on using
tickets.
7790.002.diffintroduces thewp_logout_url()andwp_login_url()functions to make themes simpler.