Ticket #2806 (closed defect (bug): fixed)

Opened 6 years ago

Last modified 5 years ago

Incorrect nonce check

Reported by: westi Owned by: westi
Priority: normal Milestone:
Component: Security Version: 2.0.2
Severity: normal Keywords: bg|has-patch
Cc:

Description

I've done some greping and analysis on the calls to wp_nonce_url, wp_nonce_field and check_admin_referer in branches/2.0 and found an incorrect nonce check.

When I get the time I'll do this for trunk too :-)

Attachments

2806.diff Download (461 bytes) - added by westi 6 years ago.
Patch to fix the nonce check for delete-bookmark
delete_bookmark_no_js_fix.diff Download (512 bytes) - added by markjaquith 6 years ago.
Fix for deleting bookmarks with JS off

Change History

westi6 years ago

Patch to fix the nonce check for delete-bookmark

  • Keywords bg|has-patch added
  • Owner changed from anonymous to westi
  • Status changed from new to assigned
  • Component changed from Administration to Security

Doesn't fix the issue. There's an action mismatch. It sends "delete" but checks for "Delete"

Note that this is all with JavaScript off... the regular AJAX deletion works fine. My patch fixes it. I'll also be updating my WordPress 2.0.3 tuneup plugin to fix this.

Fix for deleting bookmarks with JS off

comment:3   ryan6 years ago

  • Status changed from assigned to closed
  • Resolution set to fixed

(In [3858]) Delete bookmark nonce fix from westi and markjaquith. fixes #2806

  • Milestone 2.0.4 deleted

Milestone 2.0.4 deleted

Note: See TracTickets for help on using tickets.