Wordpress May 2017 security updates

Bug #1691520 reported by Jeremy Bícha
258
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wordpress (Ubuntu)
Expired
High
Unassigned
Xenial
Expired
High
Unassigned
Yakkety
Expired
High
Unassigned
Zesty
Expired
High
Unassigned

Bug Description

Sponsorship
-----------
git-buildpackage from the ubuntu/* branches at
https://git.launchpad.net/~jbicha/ubuntu/+source/wordpress/

Impact
------
Update 17.04 from 4.7.3 to 4.7.5
Update 16.10 from 4.6.1 to 4.6.6
Update 16.04 LTS from 4.4.2 to 4.4.10

to fix numerous critical security bugs.

wordpress 4.7.5-1 was auto-synced from Debian to Ubuntu 17.10 Alpha "artful"

Changes for Ubuntu 17.04
------------------------
https://wordpress.org/news/2017/04/wordpress-4-7-4/
https://wordpress.org/news/2017/05/wordpress-4-7-5/

https://codex.wordpress.org/Version_4.7.4
https://codex.wordpress.org/Version_4.7.5

You can change the codex URL to a different version number if you really want to see all the individual security fixes.

The changelog entries were produced by tweaking the changelog from
https://tracker.debian.org/media/packages/w/wordpress/changelog-4.7.5%2Bdfsg-1

For Xenial, I also used
https://tracker.debian.org/media/packages/w/wordpress/changelog-4.1%2Bdfsg-1%2Bdeb8u13

and filled in the descriptions for these 2 that didn't apply to the Debian security update but apply to Xenial
https://security-tracker.debian.org/tracker/CVE-2016-6896
https://security-tracker.debian.org/tracker/CVE-2016-6897

Testing Done
------------
I have successfully test-built each package.

Regression Potential
--------------------
WordPress maintains separate branches to backport security fixes. I suspect that the older the branch gets, the more likely it is that something will break.

WordPress still uses trac/svn, but there's this handy read-only copy that is easier to examine:

https://github.com/WordPress/WordPress/commits/4.4-branch

WordPress only officially recommends the latest stable series (currently 4.7)
https://wordpress.org/download/release-archive/

Other Info
----------
On one hand, I hope right now no one actually uses the Ubuntu package on a live web server. I mean, if they are using the development version of Ubuntu, it might actually work but otherwise, it's not really received any security support at all.

Similarly, I guess there's a concern that if we start providing security updates, then people will start thinking that Ubuntu's 'wordpress' package is safe to use, which is fine as long as someone from the community will indeed package these updates from now on. Otherwise, maybe doing these security updates is not really helping anyone?

WordPress also maintains a 3.8 branch (with a 3.8.21 release this week corresponding with 4.7.5) that we could use for Ubuntu 14.04 LTS. I could prepare that one too, but I don't think it's worth spending much time testing that version.

CVE References

Jeremy Bícha (jbicha)
description: updated
Changed in wordpress (Ubuntu):
status: New → Confirmed
Changed in wordpress (Ubuntu Xenial):
status: New → Confirmed
importance: Undecided → High
Changed in wordpress (Ubuntu Yakkety):
status: New → Confirmed
importance: Undecided → High
Changed in wordpress (Ubuntu Zesty):
status: New → Confirmed
importance: Undecided → High
Jeremy Bícha (jbicha)
description: updated
information type: Public → Public Security
Revision history for this message
Jeremy Bícha (jbicha) wrote :

Debian put out a fix today for https://security-tracker.debian.org/tracker/CVE-2017-8295 but that seems a low enough priority to me (and not yet fixed in WordPress core) to wait until the next WordPress security release.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Thanks for the branches! Changes look good.

I've uploaded the packages to the security team PPA here:

https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+packages

Once the builds complete, please perform upgrade testing and then update this bug report with the testing that you performed. I will then release the packages as security updates.

Thanks!

Revision history for this message
Steve Beattie (sbeattie) wrote :

Jeremy Bicha: any progress on testing these packages?

Revision history for this message
Jeremy Bícha (jbicha) wrote :

Steve, thanks for checking in. I haven't been able to verify the proposed fixes yet because I wasn't able to get the WordPress package working on 16.04 LTS. (The site loads now but not the theme. Maybe it's a permission problem with the sample Apache config file.)

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Hi Jeremy, any progress on getting these tested?

Revision history for this message
Jeremy Bícha (jbicha) wrote :

Not really. I haven't worked on this recently but I had trouble getting the WordPress package to work earlier.

Revision history for this message
Tyler Hicks (tyhicks) wrote :

Hey Jeremy - I'm going to unsubscribe ubuntu-security-sponsors to get these updates out of our reports. Once you've been able to test the updates, please detail your testing, re-subscribe ubuntu-security-sponsors, and set the status to NEW. Thanks!

Changed in wordpress (Ubuntu):
status: Confirmed → Incomplete
Changed in wordpress (Ubuntu Xenial):
status: Confirmed → Incomplete
Changed in wordpress (Ubuntu Yakkety):
status: Confirmed → Incomplete
Changed in wordpress (Ubuntu Zesty):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for wordpress (Ubuntu Yakkety) because there has been no activity for 60 days.]

Changed in wordpress (Ubuntu Yakkety):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for wordpress (Ubuntu Xenial) because there has been no activity for 60 days.]

Changed in wordpress (Ubuntu Xenial):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for wordpress (Ubuntu Zesty) because there has been no activity for 60 days.]

Changed in wordpress (Ubuntu Zesty):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for wordpress (Ubuntu) because there has been no activity for 60 days.]

Changed in wordpress (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.