GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration
ubuntu-cve-2019-9852
Vulnerability from osv_ubuntu
Published
2019-08-15 00:00
Modified
2026-04-22 07:38
Summary
Details

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. This issue affects: Document Foundation LibreOffice versions prior to 6.2.6.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "fonts-opensymbol",
            "binary_version": "2:102.7+LibO5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "gir1.2-lokdocview-0.1",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-avmedia-backend-gstreamer",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-base",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-base-core",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-base-drivers",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-calc",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-common",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-core",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-draw",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-gnome",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-gtk",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-gtk3",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-impress",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-java-common",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-kde",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-l10n-in",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-l10n-za",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-librelogo",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-math",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-mysql-connector",
            "binary_version": "1.0.2+LibO5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-officebean",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-ogltrans",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-pdfimport",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-report-builder",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-report-builder-bin",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-script-provider-bsh",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-script-provider-js",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-script-provider-python",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-sdbc-firebird",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-sdbc-hsqldb",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-sdbc-postgresql",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-style-breeze",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-style-elementary",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-style-galaxy",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-style-hicontrast",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-style-human",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-style-oxygen",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-style-sifr",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-style-tango",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-subsequentcheckbase",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-wiki-publisher",
            "binary_version": "1.2.0+LibO5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "libreoffice-writer",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "python3-uno",
            "binary_version": "1:5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "uno-libs3",
            "binary_version": "5.1.6~rc2-0ubuntu1~xenial9"
          },
          {
            "binary_name": "ure",
            "binary_version": "5.1.6~rc2-0ubuntu1~xenial9"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "libreoffice",
        "purl": "pkg:deb/ubuntu/libreoffice@1:5.1.6~rc2-0ubuntu1~xenial9?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:5.1.6~rc2-0ubuntu1~xenial9"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:5.0.2-0ubuntu1",
        "1:5.0.2-0ubuntu2",
        "1:5.0.2-0ubuntu5",
        "1:5.0.2-0ubuntu7",
        "1:5.0.2-0ubuntu8",
        "1:5.1.0~rc3-0ubuntu2",
        "1:5.1.0-0ubuntu1",
        "1:5.1.1~rc2-0ubuntu1",
        "1:5.1.1-0ubuntu1",
        "1:5.1.1-0ubuntu3",
        "1:5.1.2-0ubuntu1",
        "1:5.1.3-0ubuntu1",
        "1:5.1.4-0ubuntu1",
        "1:5.1.6~rc2-0ubuntu1~xenial1",
        "1:5.1.6~rc2-0ubuntu1~xenial2",
        "1:5.1.6~rc2-0ubuntu1~xenial3",
        "1:5.1.6~rc2-0ubuntu1~xenial4",
        "1:5.1.6~rc2-0ubuntu1~xenial6",
        "1:5.1.6~rc2-0ubuntu1~xenial7",
        "1:5.1.6~rc2-0ubuntu1~xenial8"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "fonts-opensymbol",
            "binary_version": "2:102.10+LibO6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "gir1.2-lokdocview-0.1",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "liblibreofficekitgtk",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-avmedia-backend-gstreamer",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-base",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-base-core",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-base-drivers",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-calc",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-common",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-core",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-dev-common",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-draw",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-evolution",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-gnome",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-gtk",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-gtk2",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-gtk3",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-impress",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-java-common",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-kde",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-kde4",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-l10n-in",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-l10n-za",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-librelogo",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-math",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-mysql-connector",
            "binary_version": "1.0.2+LibO6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-nlpsolver",
            "binary_version": "0.9+LibO6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-officebean",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-ogltrans",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-pdfimport",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-report-builder",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-report-builder-bin",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-script-provider-bsh",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-script-provider-js",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-script-provider-python",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-sdbc-firebird",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-sdbc-hsqldb",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-sdbc-postgresql",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-style-breeze",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-style-elementary",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-style-galaxy",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-style-hicontrast",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-style-human",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-style-oxygen",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-style-sifr",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-style-tango",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-subsequentcheckbase",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-systray",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-wiki-publisher",
            "binary_version": "1.2.0+LibO6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreoffice-writer",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "libreofficekit-data",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "python3-uno",
            "binary_version": "1:6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "uno-libs3",
            "binary_version": "6.0.7-0ubuntu0.18.04.9"
          },
          {
            "binary_name": "ure",
            "binary_version": "6.0.7-0ubuntu0.18.04.9"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "libreoffice",
        "purl": "pkg:deb/ubuntu/libreoffice@1:6.0.7-0ubuntu0.18.04.9?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:6.0.7-0ubuntu0.18.04.9"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:5.4.1-0ubuntu1",
        "1:5.4.1-0ubuntu3",
        "1:5.4.2-0ubuntu5",
        "1:5.4.3-0ubuntu1",
        "1:5.4.4-0ubuntu5",
        "1:6.0.1-0ubuntu3",
        "1:6.0.2-0ubuntu1",
        "1:6.0.3-0ubuntu1",
        "1:6.0.6-0ubuntu0.18.04.1",
        "1:6.0.7-0ubuntu0.18.04.2",
        "1:6.0.7-0ubuntu0.18.04.5",
        "1:6.0.7-0ubuntu0.18.04.6",
        "1:6.0.7-0ubuntu0.18.04.7",
        "1:6.0.7-0ubuntu0.18.04.8"
      ]
    }
  ],
  "aliases": [],
  "details": "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. This issue affects: Document Foundation LibreOffice versions prior to 6.2.6.",
  "id": "UBUNTU-CVE-2019-9852",
  "modified": "2026-04-22T07:38:56Z",
  "published": "2019-08-15T00:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2019-9852"
    },
    {
      "type": "REPORT",
      "url": "https://www.libreoffice.org/about-us/security/advisories/cve-2019-9852/"
    },
    {
      "type": "REPORT",
      "url": "https://seclists.org/bugtraq/2019/Aug/28"
    },
    {
      "type": "REPORT",
      "url": "https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9852"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-4102-1"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2019-9852"
    }
  ],
  "related": [
    "USN-4102-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2019-9852"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…