Overview
We look at vulnerabilities and updates for Exim, the Linux kernel, Berkeley DB, Qt and more, plus Joe and Alex discuss some recent malware campaigns including Hiddenwasp, and we cover some open positions too.
This week in Ubuntu Security Updates
[USN-4002-1] Doxygen vulnerability
1 CVEs addressed in XenialCVE-2016-10245Generates HTML code documentation from code commentsIncludes a field to search across the documentationDoesn’t treat this as untrusted input and blindly displays the input in resulting pagesAllows possible XSS or iframe injectionFix is simple - whitelist allowed characters to avoid injection etc[USN-4003-1] Qt vulnerabilities
3 CVEs addressed in Xenial, Bionic, CosmicCVE-2018-19873CVE-2018-19870CVE-2018-155183 likely DoS issues:Buffer overflow when handling invalid BMP images - didn’t check for valid/ sensible width or height parameters
NULL pointer dereference on malformed GIF imagesDouble free when parsing a specially crafted (illegal format) XMLdocument
[USN-4004-1, USN-4004-2] Berkeley DB vulnerability
1 CVEs addressed in Trusty ESM, Xenial, Bionic, Cosmic, DiscoCVE-2019-8457Contains an embedded copy of sqlite which was vulnerable to a heap-basedout-of-bounds read when handling invalid rtree tables
[USN-4005-1] Linux kernel vulnerabilities
2 CVEs addressed in DiscoCVE-2019-11815CVE-2019-11810Reliable Datagram Sockets (RDS) module was vulnerable to a race-conditionduring network namespace cleanup that could lead to a UAF.
RDS is blacklisted by default in Ubuntu AND this is only able to beexploited by a local attacker
NULL pointer dereference in LSI Logic MegaRAID driver[USN-4006-1, USN-4006-2] Linux kernel vulnerability
1 CVEs addressed in Cosmic & Bionic HWECVE-2019-11191Old a.out binary format for 32-bit platforms - so only affects i386kernel users, and only affects setuid a.out binaries (none in archive)
Kernel would not setup permissions early enough and so could allow ASLRto be bypassed, weakening system protections to then more easily exploit
some other existing vulnerablity in the given setuid a.out binary
Have also disabled a.out support in general going forward as this is arelic of the past
[USN-4007-1, USN-4007-2] Linux kernel vulnerability
1 CVEs addressed in Bionic & Xenial HWECVE-2019-11191Same a.out issue[USN-4008-1, USN-4008-3] Linux kernel vulnerabilities
4 CVEs addressed in Xenial, Trusty ESM (HWE)CVE-2019-11191CVE-2019-11815CVE-2019-11810CVE-2019-11190a.out issue, plus RDS and MegaRAID NULL ptr dereferenceSimilar to a.out issue, in general ASLR could be bypassed on setuidbinaries due to a similar race-condition
This fix also requires some AppArmor profile changes[USN-4008-2] AppArmor update
4 CVEs addressed in XenialCVE-2019-11191CVE-2019-11815CVE-2019-11810CVE-2019-11190Updated AppArmor profiles to handle new kernel behavoiur as a result ofthe fix for CVE-2019-11190 (ASLR bypass on setuid executables).
When executing a binary, will then appear to require mmap privileges ofthe resulting binary, so ensure all current profiles are updated to add
this permission on the appropriate rules
[USN-4009-1, USN-4009-2] PHP vulnerabilities
2 CVEs addressed in Precise ESM, Trusty ESM3 CVEs addressed in Xenial, Bionic, Cosmic, DiscoCVE-2019-11040CVE-2019-11039CVE-2019-11036Heap buffer overflow in handling crafted JPEG filesInteger overflow, leading to possible OOB read when handling crafted mimeencoded data
(Xenial, Bionic, Cosmic and Disco only) - OOB read when handling craftedEXIF data -> crash, DoS or possible information disclosure form other
memory
[USN-4010-1] Exim vulnerability
1 CVEs addressed in Bionic, CosmicCVE-2019-10149Possible remote exploit of popular MTAEmbargo broke early - was expected to be public 11th June - as aconsequence, we released our update once the details were publicly known
It was possible to include shell directives in the recipients emailaddress which would be evaluated by the exim process (and hence as
root) - but would require the attacker to keep a connection open to the
server for 7 days by transmitting 1 byte every few minutes.
[USN-3957-3] MariaDB vulnerabilities
2 CVEs addressed in BionicCVE-2019-2627CVE-2019-2614Corresponding fixes for flaws originally reported in MySQL - fixed inMariaDB (community maintained fork of MySQL) - Episode 30
[USN-4011-1, USN-4011-2] Jinja2 vulnerabilities
2 CVEs addressed in Precise ESM, Trusty ESM, Xenial, Bionic, Cosmic, DiscoCVE-2019-10906CVE-2016-10745Sandbox is used when rendering user-provided templates (ie untrusted)Possible to escape the sandbox by reading arbitrary python objects viaPython’s internal string format method (by referencing the globals
array)
Was originally fixed in 2016 for the str.format method - but at the timemissed the similar str.format_map method - so both fixed in this update
[USN-3991-2] Firefox regression
17 CVEs addressed in Xenial, Bionic, Cosmic, DiscoCVE-2019-9816CVE-2019-11698CVE-2019-11697CVE-2019-9821CVE-2019-9820CVE-2019-9819CVE-2019-9817CVE-2019-9814CVE-2019-9800CVE-2019-7317CVE-2019-11701CVE-2019-11699CVE-2019-11696CVE-2019-11695CVE-2019-11693CVE-2019-11692CVE-2019-11691Previous FF 67.0 had broken code for checking versions on upgrades, andcould potentially think you had downgraded the browser when it was in
fact upgraded and therefore think the old profile data was invalid
Goings on in Ubuntu Security Community
Alex and Joe talk about recent malware campaigns
https://www.intezer.com/blog-hiddenwasp-malware-targeting-linux-systems/https://thehackernews.com/2019/05/hacking-mysql-phpmyadmin.htmlHiring
Robotics Security Engineer
https://boards.greenhouse.io/canonical/jobs/1550997Security Certifications Engineer
https://boards.greenhouse.io/canonical/jobs/1660658Get in contact
#ubuntu-security on the Libera.Chat IRC network@ubuntu_sec on twitter