Ticket #693 (closed defect: fixed)

Opened 4 years ago

Last modified 19 months ago

passing $_SERVER variables potentially exposes too much private information

Reported by: delgurth Owned by: matt
Priority: normal Component: akismet
Severity: normal Keywords: akismet-2.4
Cc:

Description

With the recent concerns about privacy regarding the new update feature,  another problem was exposed in the discussion about it. I didn't see this problem addressed in here, so I'll take the liberty to do that.

Only HTTP_COOKIE is excluded when the $_SERVER string is send (this is done for ticket #314). If someone uses basic HTTP authentication, the authentication data is send to Akismet, including the plaintext password.

Ryan Finnie created  a patch to address this problem and send it to the mailing list.

Attachments

akismet.php.patch Download (639 bytes) - added by delgurth 4 years ago.
The patch for akismet.php created by Ryan Finnie

Change History

Changed 4 years ago by delgurth

The patch for akismet.php created by Ryan Finnie

comment:1 Changed 4 years ago by delgurth

True, having both Akismet and HTTP authentication is a bit strange (don't you trust the people who can authenticate?) but still it's better to prevent such data from being send in the case someone has enabled both.

comment:2 Changed 4 years ago by matt

  • Status changed from new to closed
  • Resolution set to worksforme

I think has already been addressed in the plugin.

comment:3 Changed 4 years ago by delgurth

  • Status changed from closed to reopened
  • Resolution worksforme deleted

Was just checking up on this "bug". Unfortunately the PHP_AUTH_USER and PHP_AUTH_PW are still send, if they are available.

At least they are in  rev 41034 of akismet.php

So IMHO it's not addressed, yet.

comment:4 Changed 19 months ago by tellyworth

  • Keywords akismet-2.4 added

Suggested change: add PHP_AUTH_PW and HTTP_COOKIE2 to the $ignored array, but change the conditional block so that ignored items are included in $comment as a key with an empty value (rather than omitting them entirely).

comment:5 Changed 19 months ago by tellyworth

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

Fixed in [268640]

Note: See TracTickets for help on using tickets.