Ticket #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
Change History
comment:1
markjaquith — 3 years ago
- Owner changed from anonymous to markjaquith
- Status changed from new to assigned
7790.002.diff introduces the wp_logout_url() and wp_login_url() functions to make themes simpler.
Note: See
TracTickets for help on using
tickets.

