Overview
Last episode for 2018! This week we look at CVEs in lxml, CUPS, pixman, FreeRDP & more, plus we discuss the security of home routers as evaluated by C-ITL.
This week in Ubuntu Security Updates
[USN-3841-1, USN-3841-2] lxml vulnerability
1 CVEs addressed in Precise ESM, Trusty, Xenial, BionicCVE-2018-19787Popular XML/HTML parser for PythonTries to remove clean input document and remove links (to say embeddedjavascript code) - but doesn’t account for links containing escaped
characters - so link could persist
Similar to CVE-2014-3146In this case tried to account for whitespace in links but didn’t includeall possible whitespace characters
[USN-3842-1] CUPS vulnerability
1 CVEs addressed in Trusty, Xenial, Bionic, CosmicCVE-2018-4700Session cookies used for authentication to CUPS web interface used only thecurrent time in seconds as a seed for the relatively predictable PRNG
Easy to bruteforce / guessFix ensures to use current time value including microsecondsStill using relatively predictable PRNG - should use /dev/urandom etc[USN-3837-2] poppler regression
2 CVEs addressed in Trusty, Xenial, Bionic, CosmicCVE-2018-19149CVE-2018-16646Previous poppler update (Episode 15) - fix missed a previous commit and soregressed (crash on opening certain PDF files)
[USN-3843-1, USN-3843-2] pixman vulnerability
1 CVEs addressed in Precise ESM, TrustyCVE-2015-5297Low level library for pixel manipulation (used by X, Wayland, Qemu etc)Pointer overflow leading to stack-based buffer overflow in computing bounds of pixel buffersDid include a check to see if was inside bounds, BUT didn’t account forpossible overflow in arithmetic before the check
Need to check for possible overflow before doing arithmetic and comparison[USN-3844-1] Firefox vulnerabilities
10 CVEs addressed in Trusty, Xenial, Bionic, CosmicCVE-2018-18497CVE-2018-18495CVE-2018-18498CVE-2018-18494CVE-2018-18493CVE-2018-18492CVE-2018-17466CVE-2018-12407CVE-2018-12406CVE-2018-12405Firefox 64 - multiple security vulnerabilities fixedBuffer overflows, UAFs, same-origin-policy violation, webextensions able toviolate restrictions, various memory safety / corruption bugs
https://www.mozilla.org/en-US/security/advisories/mfsa2018-29/[USN-3845-1] FreeRDP vulnerabilities
6 CVEs addressed in Trusty, Xenial, Bionic, CosmicCVE-2018-8789CVE-2018-8788CVE-2018-8787CVE-2018-8786CVE-2018-8785CVE-2018-8784Eyal Itkin discovered multiple vulnerabilities in FreeRDP - not all affect all releases (some too old to contain affected code)Various heap-based buffer overflows (crash -> DoS / RCE?)Out-of-bounds read (crash -> DoS)Goings on in Linux Security Community
Linux on MIPS and home routers
Cyber-ITL (Independent Testing Lab) analysed a number of home routers for basic security hardening featuresASLR, DEP (non-executable stack), RELROMix of MIPS and ARM devicesCompared against Ubuntu 16.04 LTS x86_64 (general hardening)Most found to have minimal hardening features enabledhttps://cyber-itl.org/assets/papers/2018/build_safety_of_software_in_28_popular_home_routers.pdfAlso found Linux kernel on MIPS either has executable stack (until 2016)due to FP emulation code, or since then has no executable stack but has a
RWX segment at a fixed location, which can be used to bypass DEP / ASLR
Ubuntu does not support MIPSFinal episode for 2018
This is the last episode for 2018, on leave for the next 3 weeksNext episode will be from Cape Town in 2019 during week of 14th January with some special guests… :)Get in contact
#ubuntu-security on the Libera.Chat IRC network@ubuntu_sec on twitter