Opened 5 years ago
Closed 5 years ago
#7790 closed defect (bug) (fixed)
Log out actions should be protected against CSRF
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7 |
| Component: | Security | Version: | 2.7 |
| Severity: | normal | Keywords: | |
| 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)
markjaquith
— 5 years ago
markjaquith
— 5 years ago
comment:1
markjaquith
— 5 years ago
- Owner changed from anonymous to markjaquith
- Status changed from new to assigned
Note: See
TracTickets for help on using
tickets.
7790.002.diff introduces the wp_logout_url() and wp_login_url() functions to make themes simpler.