Overview
This week we look security updates for a heap of packages including
Firefox & Thunderbird, PHP & QEMU, plus we discuss Facebook’s recent
password storage incident as well as some listener hardening tips and
This week in Ubuntu Security Updates
[USN-3919-1] Firefox vulnerabilities
2 CVEs addressed in Trusty, Xenial, Bionic, CosmicCVE-2019-9813CVE-2019-9810Firefox 66.0.1 (mentioned briefly last week) - fixes two vulnerabilities discovered during Pwn2OwnBoth in the IonMonkey JIT compilerIncorrect alias information for the Array.prototype.slice methodleads to missing bounds check and a buffer overflow - code execution
as a result
Type confusion in handling of ,__proto__ mutations - ,__proto__ isused to modify the Prototype of an object to be mutated - used for
object inheritance in JavaScript - allows arbitrary memory
read/write and therefore code execution as a result
[USN-3918-2] Firefox vulnerabilities
17 CVEs addressed in TrustyCVE-2019-9803CVE-2019-9793CVE-2019-9809CVE-2019-9808CVE-2019-9807CVE-2019-9806CVE-2019-9805CVE-2019-9802CVE-2019-9799CVE-2019-9797CVE-2019-9796CVE-2019-9795CVE-2019-9792CVE-2019-9791CVE-2019-9790CVE-2019-9789CVE-2019-9788Firefox 66 & 66.0.1 - Episode 25 covered for Xenial, Bionic and Cosmic[USN-3918-3] Firefox regression
17 CVEs addressed in Trusty, Xenial, Bionic, CosmicCVE-2019-9803CVE-2019-9793CVE-2019-9809CVE-2019-9808CVE-2019-9807CVE-2019-9806CVE-2019-9805CVE-2019-9802CVE-2019-9799CVE-2019-9797CVE-2019-9796CVE-2019-9795CVE-2019-9792CVE-2019-9791CVE-2019-9790CVE-2019-9789CVE-2019-9788Firefox 66 & 66.0.1 contained a regression - so upstream released 66.0.2Broke keyboard handling in Office 365, iCloud and IBM WebMail -Firefox 66 changed the way keycode handling works so these websites
and others which use older, deprecated methods to get the keycode have
been added to an internal fallback list to use the old method
[USN-3927-1] Thunderbird vulnerabilities
10 CVEs addressed in Trusty, Xenial, Bionic, CosmicCVE-2019-9793CVE-2019-9813CVE-2019-9810CVE-2019-9796CVE-2019-9795CVE-2019-9792CVE-2019-9791CVE-2019-9790CVE-2019-9788CVE-2018-18506Thunderbird 60.6.1Rolls in security fixes covered previous for Firefox (66.0, 66.0.1)Both the Pwn2Own and previous fixesAs for Firefox, listen back to Episode 25 for details of 66.0 fixes[USN-3921-1] XMLTooling vulnerability
1 CVEs addressed in Trusty, Xenial, Bionic, CosmicCVE-2019-9628Crash due to uncaught DOMException able to be triggered by a malformedXML document - DoS
Thanks to Etienne Dysli Metref who provided debdiff’s as well astesting for this update
[USN-3922-1] PHP vulnerabilities
5 CVEs addressed in Xenial, Bionic, CosmicCVE-2019-9641CVE-2019-9640CVE-2019-9639CVE-2019-9638CVE-2019-9637Integer overflow on 32-bit archs when processing malformed EXIF imagedata - crash, DoS
Failure to check available data length when processing imagethumbnails - OOB read -> crash -> DoS
OOB read of 1 byte when handling EXIF image data - crash -> DoSDuring file rename, if file is moved across file-systems, the new filebriefly is world readable allowing anyone to read it - fixed by
ensuring umask is used correctly so that the new file always has
restrictive permissions from the outset
[USN-3923-1] QEMU vulnerabilities
11 CVEs addressed in Trusty, Xenial, Bionic, CosmicCVE-2019-6778CVE-2019-3812CVE-2018-20216CVE-2018-20191CVE-2018-20126CVE-2018-20125CVE-2018-20124CVE-2018-20123CVE-2018-19489CVE-2018-16872CVE-2018-16867Heap-based buffer overflow in TCP emulationOOB read in i2c handling allowing a local attacker within a guest whohas permission to execute i2c commands could read qemu host process
stack memory
Plan9 FS host-directory sharing race-condition on file rename -> crash-> DoS
2 issues in USB MTP handling:time-of-check to time-of-use error allows attacker with write accessto the shared host filesystem can use this to navigate host FS in
context of QEMU host process and read any therefore read any file
which QEMU can on the host
Path traversal flaw due to improper filename sanitisation - allow toread-write arbitrary host files -> Dos or code execution on the host
Updates for Paravirtualised RDMA subsystem:DoS due to infinite loopNULL pointer dereference due to missing read methodFix various memory leaksVarious other NULL pointer dereferences plus a failure to checkparameters leading to possible extreme memory allocation
Fix OOB read triggerable by guest[USN-3924-1] mod_auth_mellon vulnerabilities
2 CVEs addressed in Bionic, CosmicCVE-2019-3878CVE-2019-3877Apache module to provide authentication and authorisation via SAML 2.0 IdPPossible to bypass authorisation checks when also using mod_proxyFix an open-redirect via the logout endpoint - could encode anabsolute URL using backward-slashes (\) in place of forward-slashes
(/) and this would be propagated by the endpoint to the client where
the browser would convert these and follow the redirect - due to
mismatch in how browsers will convert these but apache’s own internal
URI parsing does not
[USN-3925-1] FreeImage vulnerability
1 CVEs addressed in Trusty, XenialCVE-2016-5684OOB write in XMP image handling - code execution[USN-3926-1] GPAC vulnerabilities
8 CVEs addressed in Xenial, Bionic, CosmicCVE-2018-7752CVE-2018-20763CVE-2018-20762CVE-2018-20761CVE-2018-20760CVE-2018-13006CVE-2018-13005CVE-2018-1000100Various memory safety issues, including OOB buffer reads and writesdue to missing bounds checks (was using strcpy without checking
lengths…)
Goings on in Ubuntu Security Community
Joe McManus on Facebook insecure password storage
https://krebsonsecurity.com/2019/03/facebook-stored-hundreds-of-millions-of-user-passwords-in-plain-text-for-years/https://newsroom.fb.com/news/2019/03/keeping-passwords-secure/Ubuntu Hardening Tips
Paul Waring got in touch to mention his tips for hardening new Ubuntu installations:Install and configure unattended-upgradesInstall UFW and block all incoming connections except specific servicesCan be done easily via ansible from just a few lines of YAMLFor servers:Install SSHGuard to ban IP addresses with too many failed login attemptsRequire TLS for all services via LetsEncrypt + certbotConfigure SSH to permit only key-based authenticationFor wordpress installations - install wp-cli to auto-update themesand plugins
Automate as much of this as possible for automatic hardeningHiring
Ubuntu Security Generalist
https://boards.greenhouse.io/canonical/jobs/1548812Robotics Security Engineer
https://boards.greenhouse.io/canonical/jobs/1550997Get in contact
#ubuntu-security on the Libera.Chat IRC network@ubuntu_sec on twitter