Updated libreoffice packages fix security vulnerabilities: LibreOffice has a feature where documents can specify that pre-installed scripts can be executed on various document events such as mouse-over, etc. LibreOffice is typically also bundled with LibreLogo, a programmable turtle . MGASA-2019-0340 - Updated libreoffice packages fix security vulnerabilities Publication date: 30 Nov 2019 URL: https://advisories.mageia.org/MGASA-2019-0340.html Type: security Affected Mageia releases: 7 CVE: CVE-2019-9848, CVE-2019-9849, CVE-2019-9850, CVE-2019-9851, CVE-2019-9852, CVE-2019-9853, CVE-2019-9854 Updated libreoffice packages fix security vulnerabilities: LibreOffice has a feature where documents can specify that pre-installed scripts can be executed on various document events such as mouse-over, etc. LibreOffice is typically also bundled with LibreLogo, a programmable turtle vector graphics script, which can be manipulated into executing arbitrary python commands. By using the document event feature to trigger LibreLogo to execute python contained within a document a malicious document could be constructed which would execute arbitrary python commands silently without warning. In the fixed versions, LibreLogo cannot be called from a document event handler (CVE-2019-9848). LibreOffice has a 'stealth mode' in which only documents from locations deemed 'trusted' are allowed to retrieve remote resources. This mode is not the default mode, but can be enabled by users who want to disable LibreOffice's ability to include remote resources within a document. A flaw existed where bullet graphics were omitted from this protection (CVE-2019-9849). LibreOffice is typically bundled with LibreLogo, a programmable turtle vector graphics script, which can execute arbitrary python commands contained with the document it is launched from. LibreOffice also has a feature where documents can specify that pre-installed scripts can be executed on various document script events such as mouse-over,etc. Protection was added, to address CVE-2019-9848, to block calling LibreLogo from script event handers. However an insufficient url validation vulnerability in LibreOffice allowed malicious to bypass that protection and again trigger calling LibreLogo from script event handlers(CVE-2019-9850). LibreOffice is typically bundled with LibreLogo, a programmable turtle vector graphics script, which can execute arbitrary python commands contained with the document it is launched from. Protection was added, to address CVE-2019-9848, to block calling LibreLogo from document event script handers, e.g. mouse over. However LibreOffice also has a separate feature where documents can specify that pre-installed scripts can be executed on various global script events such as document-open, etc. In the fixed versions, global script event handlers are validated equivalently to document script event handlers (CVE-2019-9851). LibreOffice has a feature where documents can specify that pre-installed macros can be executed on various script events such as mouse-over, document-open etc. Access is intended to be restricted to scripts under the share/Scripts/python, user/Scripts/python sub-directories of the LibreOffice install. Protection was added, to address CVE-2018-16858, to avoid a directory traversal attack where scripts in arbitrary locations on the file system could be executed. However this new protection could be bypassed by a URL encoding attack. In the fixed versions, the parsed url describing the script location is correctly encoded before further processing (CVE-2019-9852). LibreOffice documents can contain macros. The execution of those macros is controlled by the document security settings, typically execution of macros are blocked by default. A URL decoding flaw existed in how the urls to the macros within the document were processed and categorized, resulting in the possibility to construct a document where macro execution bypassed the security settings. The documents were correctly detected as containing macros,and prompted the user to their existence within the documents, but macros within the document were subsequently not controlled by the security settings allowing arbitrary macro execution (CVE-2019-9853). LibreOffice has a feature where documents can specify that pre-installed macros can be executed on various script events such as mouse-over, document-open etc. Access is intended to be restricted to scripts under the share/Scripts/python, user/Scripts/python sub-directories of the LibreOffice install. Protection was added, to address CVE-2019-9852, to avoid a directory traversal attack where scripts in arbitrary locations on the file system could be executed by employing a URL encoding attack to defeat the path verification step. However this protection could be bypassed by taking advantage of a flaw in how LibreOffice assembled the final script URL location directly from components of the passed in path as opposed to solely from the sanitized output of the path verification step (CVE-2019-9854). References: - https://bugs.mageia.org/show_bug.cgi?id=25154 - - - - - - - - https://www.cve.org/CVERecord?id=CVE-2019-9848 - https://www.cve.org/CVERecord?id=CVE-2019-9849 - https://www.cve.org/CVERecord?id=CVE-2019-9850 - https://www.cve.org/CVERecord?id=CVE-2019-9851 - https://www.cve.org/CVERecord?id=CVE-2019-9852 - https://www.cve.org/CVERecord?id=CVE-2019-9853 - https://www.cve.org/CVERecord?id=CVE-2019-9854 SRPMS: - 7/core/libreoffice-6.2.8.2-1.mga7 . Recent LibreOffice updates address several security issues linked to script execution flaws on Mageia platforms.. LibreOffice Security, Mageia Update, Script Execution Risk. . Severity: Important. LinuxSecurity.com Team
Updated libxml2 packages that fix an overflow when parsing remote resources are now available.. Red Hat Security Advisory Synopsis: Updated libxml2 packages fix security vulnerability Advisory ID: RHSA-2004:090-01 Issue date: 2004-02-26 Updated on: 2004-02-26 Product: Red Hat Enterprise Linux Keywords: Cross references: Obsoletes: CVE Names: CAN-2004-0110 - --------------------------------------------------------------------- 1. Topic: Updated libxml2 packages that fix an overflow when parsing remote resources are now available. 2. Relevant releases/architectures: Red Hat Enterprise Linux AS (Advanced Server) version 2.1 - i386, ia64 Red Hat Linux Advanced Workstation 2.1 - ia64 Red Hat Enterprise Linux ES version 2.1 - i386 Red Hat Enterprise Linux WS version 2.1 - i386 Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64 Red Hat Enterprise Linux ES version 3 - i386 Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64 3. Problem description: libxml2 is a library for manipulating XML files. Yuuichi Teranishi discovered a flaw in libxml2 versions prior to 2.6.6. When fetching a remote resource via FTP or HTTP, libxml2 uses special parsing routines. These routines can overflow a buffer if passed a very long URL. If an attacker is able to find an application using libxml2 that parses remote resources and allows them to influence the URL, then this flaw could be used to execute arbitrary code. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-0110 to this issue. All users are advised to upgrade to these updated packages, which contain a backported fix and are not vulnerable to this issue. 4. Solution: Before applying this update, make sure all previously released errata relevant to your system have been applied. To update all RPMs for your particular architecture, run: rpm -Fvh [filenames] where [filenames] is a list of the RPMs you wish to upgrade. Only those RPMs which are currently installed will be updated. Those RPMs which are not installed but included in the list will not be updated. Note that you can also use wildcards (*.rpm) if your current directory *only* contains the desired RPMs. Please note that this update is also available via Red Hat Network. Many people find this an easier way to apply updates. To use Red Hat Network, launch the Red Hat Update Agent with the following command: up2date This will start an interactive process that will result in the appropriate RPMs being upgraded on your system. If up2date fails to connect to Red Hat Network due to SSL Certificate Errors, you need to install a version of the up2date client with an updated certificate. The latest version of up2date is available from the Red Hat FTP site and may also be downloaded directly from the RHN website: https://access.redhat.com 5. RPMs required: Red Hat Enterprise Linux AS (Advanced Server) version 2.1: SRPMS: i386: Available from Red Hat Network: libxml2-2.4.19-5.ent.i386.rpm Available from Red Hat Network: libxml2-devel-2.4.19-5.ent.i386.rpm Available from Red Hat Network: libxml2-python-2.4.19-5.ent.i386.rpm ia64: Available from Red Hat Network: libxml2-2.4.19-5.ent.ia64.rpm Available from Red Hat Network: libxml2-devel-2.4.19-5.ent.ia64.rpm Available from Red Hat Network: libxml2-python-2.4.19-5.ent.ia64.rpm Red Hat Linux Advanced Workstation 2.1: SRPMS: ia64: Available from Red Hat Network: libxml2-2.4.19-5.ent.ia64.rpm Available from Red Hat Network: libxml2-devel-2.4.19-5.ent.ia64.rpm Available from Red Hat Network: libxml2-python-2.4.19-5.ent.ia64.rpm Red Hat Enterprise Linux ES version 2.1: SRPMS: i386: Available from Red Hat Network: libxml2-2.4.19-5.ent.i386.rpm Available from Red Hat Network: libxml2-devel-2.4.19-5.ent.i386.rpm Available from Red Hat Network: libxml2-python-2.4.19-5.ent.i386.rpm Red Hat Enterprise Linux WS version 2.1: SRPMS: i386: Available from Red Hat Network: libxml2-2.4.19-5.ent.i386.rpm Available fromRed Hat Network: libxml2-devel-2.4.19-5.ent.i386.rpm Available from Red Hat Network: libxml2-python-2.4.19-5.ent.i386.rpm Red Hat Enterprise Linux AS version 3: SRPMS: i386: Available from Red Hat Network: libxml2-2.5.10-6.i386.rpm Available from Red Hat Network: libxml2-devel-2.5.10-6.i386.rpm Available from Red Hat Network: libxml2-python-2.5.10-6.i386.rpm ia64: Available from Red Hat Network: libxml2-2.5.10-6.ia64.rpm Available from Red Hat Network: libxml2-devel-2.5.10-6.ia64.rpm Available from Red Hat Network: libxml2-python-2.5.10-6.ia64.rpm ppc: Available from Red Hat Network: libxml2-2.5.10-6.ppc.rpm Available from Red Hat Network: libxml2-devel-2.5.10-6.ppc.rpm Available from Red Hat Network: libxml2-python-2.5.10-6.ppc.rpm s390: Available from Red Hat Network: libxml2-2.5.10-6.s390.rpm Available from Red Hat Network: libxml2-devel-2.5.10-6.s390.rpm Available from Red Hat Network: libxml2-python-2.5.10-6.s390.rpm s390x: Available from Red Hat Network: libxml2-2.5.10-6.s390x.rpm Available from Red Hat Network: libxml2-devel-2.5.10-6.s390x.rpm Available from Red Hat Network: libxml2-python-2.5.10-6.s390x.rpm x86_64: Available from Red Hat Network: libxml2-2.5.10-6.x86_64.rpm Available from Red Hat Network: libxml2-devel-2.5.10-6.x86_64.rpm Available from Red Hat Network: libxml2-python-2.5.10-6.x86_64.rpm Red Hat Enterprise Linux ES version 3: SRPMS: i386: Available from Red Hat Network: libxml2-2.5.10-6.i386.rpm Available from Red Hat Network: libxml2-devel-2.5.10-6.i386.rpm Available from Red Hat Network: libxml2-python-2.5.10-6.i386.rpm Red Hat Enterprise Linux WS version 3: SRPMS: i386: Available from Red Hat Network: libxml2-2.5.10-6.i386.rpm Available from Red Hat Network: libxml2-devel-2.5.10-6.i386.rpm Available from Red Hat Network: libxml2-python-2.5.10-6.i386.rpm ia64: Available from Red Hat Network: libxml2-2.5.10-6.ia64.rpm Available from Red Hat Network: libxml2-devel-2.5.10-6.ia64.rpm Available from Red Hat Network: libxml2-python-2.5.10-6.ia64.rpm x86_64: Availablefrom Red Hat Network: libxml2-2.5.10-6.x86_64.rpm Available from Red Hat Network: libxml2-devel-2.5.10-6.x86_64.rpm Available from Red Hat Network: libxml2-python-2.5.10-6.x86_64.rpm 6. Verification: MD5 sum Package Name - -------------------------------------------------------------------------- 7e1c408ae97fe6c28e8e162e9668f932 2.1AS/en/os/SRPMS/libxml2-2.4.19-5.ent.src.rpm 4a9e453a8266b7944ca3695f17e42a9d 2.1AS/en/os/i386/libxml2-2.4.19-5.ent.i386.rpm 1e735254a7252489c9d2478460022659 2.1AS/en/os/i386/libxml2-devel-2.4.19-5.ent.i386.rpm 8e96b561611eaf16ba6f44880d03ee15 2.1AS/en/os/i386/libxml2-python-2.4.19-5.ent.i386.rpm 5b7b3cc1b20d388aa7863bd8028b0a40 2.1AS/en/os/ia64/libxml2-2.4.19-5.ent.ia64.rpm 358ce25777eaa3f91ecaceb244a55ac7 2.1AS/en/os/ia64/libxml2-devel-2.4.19-5.ent.ia64.rpm f7abb73c013f1c67a1adef4511da6b22 2.1AS/en/os/ia64/libxml2-python-2.4.19-5.ent.ia64.rpm 7e1c408ae97fe6c28e8e162e9668f932 2.1AW/en/os/SRPMS/libxml2-2.4.19-5.ent.src.rpm 5b7b3cc1b20d388aa7863bd8028b0a40 2.1AW/en/os/ia64/libxml2-2.4.19-5.ent.ia64.rpm 358ce25777eaa3f91ecaceb244a55ac7 2.1AW/en/os/ia64/libxml2-devel-2.4.19-5.ent.ia64.rpm f7abb73c013f1c67a1adef4511da6b22 2.1AW/en/os/ia64/libxml2-python-2.4.19-5.ent.ia64.rpm 7e1c408ae97fe6c28e8e162e9668f932 2.1ES/en/os/SRPMS/libxml2-2.4.19-5.ent.src.rpm 4a9e453a8266b7944ca3695f17e42a9d 2.1ES/en/os/i386/libxml2-2.4.19-5.ent.i386.rpm 1e735254a7252489c9d2478460022659 2.1ES/en/os/i386/libxml2-devel-2.4.19-5.ent.i386.rpm 8e96b561611eaf16ba6f44880d03ee15 2.1ES/en/os/i386/libxml2-python-2.4.19-5.ent.i386.rpm 7e1c408ae97fe6c28e8e162e9668f932 2.1WS/en/os/SRPMS/libxml2-2.4.19-5.ent.src.rpm 4a9e453a8266b7944ca3695f17e42a9d 2.1WS/en/os/i386/libxml2-2.4.19-5.ent.i386.rpm 1e735254a7252489c9d2478460022659 2.1WS/en/os/i386/libxml2-devel-2.4.19-5.ent.i386.rpm 8e96b561611eaf16ba6f44880d03ee15 2.1WS/en/os/i386/libxml2-python-2.4.19-5.ent.i386.rpm 87a94f4cf266e922c5dec56d7d07eddf 3AS/en/os/SRPMS/libxml2-2.5.10-6.src.rpm c11396613bf20a0edb60a54147dca0f93AS/en/os/i386/libxml2-2.5.10-6.i386.rpm 700a8992e3f5c6ae3a283ee6fee729b0 3AS/en/os/i386/libxml2-devel-2.5.10-6.i386.rpm 8b064f385faace5e7f37b1ca527ebac0 3AS/en/os/i386/libxml2-python-2.5.10-6.i386.rpm 730e6b5ed3d4873c2869452817e8ea0e 3AS/en/os/ia64/libxml2-2.5.10-6.ia64.rpm de54778c29e885daff5a044941fb3aae 3AS/en/os/ia64/libxml2-devel-2.5.10-6.ia64.rpm 605e2d88301d95f3fb449d93eb1f9ab6 3AS/en/os/ia64/libxml2-python-2.5.10-6.ia64.rpm 329106c40bd1c0115ade5133f4ceb6b4 3AS/en/os/ppc/libxml2-2.5.10-6.ppc.rpm 70c83f532240a2589d5e87ba30144c40 3AS/en/os/ppc/libxml2-devel-2.5.10-6.ppc.rpm 7035650585477335d8cce99d4f798c2b 3AS/en/os/ppc/libxml2-python-2.5.10-6.ppc.rpm f4804fa1168118b92231f7391dd26558 3AS/en/os/s390/libxml2-2.5.10-6.s390.rpm d7ba412cd89f035239d80e0650ad31be 3AS/en/os/s390/libxml2-devel-2.5.10-6.s390.rpm 61b04a7dcd3d4e990701be2e26481fe1 3AS/en/os/s390/libxml2-python-2.5.10-6.s390.rpm 3a62985175e409fea867f736ba44962b 3AS/en/os/s390x/libxml2-2.5.10-6.s390x.rpm a4708414233e06b0c03349e878365c8c 3AS/en/os/s390x/libxml2-devel-2.5.10-6.s390x.rpm 3c71b9a6db40aa79b7b05aef1254fafc 3AS/en/os/s390x/libxml2-python-2.5.10-6.s390x.rpm b2df6ba3b63eb3bb62d4cb40300cb1e1 3AS/en/os/x86_64/libxml2-2.5.10-6.x86_64.rpm 5c39fe77819f59eb330a828304a57e25 3AS/en/os/x86_64/libxml2-devel-2.5.10-6.x86_64.rpm ad882af4862767b010c6b589bf44e1cd 3AS/en/os/x86_64/libxml2-python-2.5.10-6.x86_64.rpm 87a94f4cf266e922c5dec56d7d07eddf 3ES/en/os/SRPMS/libxml2-2.5.10-6.src.rpm c11396613bf20a0edb60a54147dca0f9 3ES/en/os/i386/libxml2-2.5.10-6.i386.rpm 700a8992e3f5c6ae3a283ee6fee729b0 3ES/en/os/i386/libxml2-devel-2.5.10-6.i386.rpm 8b064f385faace5e7f37b1ca527ebac0 3ES/en/os/i386/libxml2-python-2.5.10-6.i386.rpm 87a94f4cf266e922c5dec56d7d07eddf 3WS/en/os/SRPMS/libxml2-2.5.10-6.src.rpm c11396613bf20a0edb60a54147dca0f9 3WS/en/os/i386/libxml2-2.5.10-6.i386.rpm 700a8992e3f5c6ae3a283ee6fee729b0 3WS/en/os/i386/libxml2-devel-2.5.10-6.i386.rpm 8b064f385faace5e7f37b1ca527ebac0 3WS/en/os/i386/libxml2-python-2.5.10-6.i386.rpm 730e6b5ed3d4873c2869452817e8ea0e3WS/en/os/ia64/libxml2-2.5.10-6.ia64.rpm de54778c29e885daff5a044941fb3aae 3WS/en/os/ia64/libxml2-devel-2.5.10-6.ia64.rpm 605e2d88301d95f3fb449d93eb1f9ab6 3WS/en/os/ia64/libxml2-python-2.5.10-6.ia64.rpm b2df6ba3b63eb3bb62d4cb40300cb1e1 3WS/en/os/x86_64/libxml2-2.5.10-6.x86_64.rpm 5c39fe77819f59eb330a828304a57e25 3WS/en/os/x86_64/libxml2-devel-2.5.10-6.x86_64.rpm ad882af4862767b010c6b589bf44e1cd 3WS/en/os/x86_64/libxml2-python-2.5.10-6.x86_64.rpm These packages are GPG signed by Red Hat for security. Our key is available from https://access.redhat.com/security/team/key You can verify each package with the following command: rpm --checksig -v If you only wish to verify that each package has not been corrupted or tampered with, examine only the md5sum with the following command: md5sum 7. References: Re: [xml] Namespace declaration parent, doc: also broken? CVE -CVE-2004-0110 8. Contact: The Red Hat security contact is . More contact details at https://www.redhat.com/en/technologies/all-products Copyright 2003 Red Hat, Inc. . Recent patches for libxml2 on Red Hat rectify a significant buffer overflow vulnerability discovered during the processing of external assets.. libxml2, Red Hat, buffer overflow, remote resources. . Severity: Critical. LinuxSecurity.com Team
Get the latest Linux and open source security news straight to your inbox.