# CVE-2018-10583: Information disclosure in n/a

> Attackers can disclose sensitive information by tricking users into opening malicious documents that trigger automatic SMB connections.

- **Severity:** High 7.5 (`CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 1 May 2018
- **Updated:** 5 Aug 2024
- **Also known as:** DEBIAN-CVE-2018-10583, GHSA-hc7m-8pgf-jwrh, SUSE-SU-2018:2485-1, SUSE-SU-2018:2485-2, SUSE-SU-2018:2535-1, SUSE-SU-2018:3683-1, UBUNTU-CVE-2018-10583

## What is CVE-2018-10583?

CVE-2018-10583 is a high-severity vulnerability in Apache Openoffice, published on 1 May 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

An information disclosure vulnerability occurs when LibreOffice 6.0.3 and Apache OpenOffice Writer 4.1.5 automatically process and initiate an SMB connection embedded in a malicious file, as demonstrated by xlink:href=file://192.168.0.2/test.jpg within an office:document-content element in a .odt XML document.

Weakness: CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor)

## Which versions are affected by CVE-2018-10583?

It affects 7 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `libreoffice` | SUSE:Linux Enterprise Desktop 12 SP3 | All versions | 6.0.5.2-43.38.5 |
| `libreoffice` | SUSE:Linux Enterprise Desktop 12 SP4 | All versions | 6.0.5.2-43.38.5 |
| `myspell-dictionaries` | SUSE:Linux Enterprise Module for Basesystem 15 | All versions | 20181025-3.6.1 |
| `xmlsec1` | SUSE:Linux Enterprise Module for Package Hub 15 | All versions | 1.2.26-3.3.1 |
| `libreoffice` | SUSE:Linux Enterprise Software Development Kit 12 SP3 | All versions | 6.0.5.2-43.38.5 |
| `libreoffice` | SUSE:Linux Enterprise Software Development Kit 12 SP4 | All versions | 6.0.5.2-43.38.5 |
| `libreoffice` | SUSE:Linux Enterprise Workstation Extension 12 SP3 | All versions | 6.0.5.2-43.38.5 |
| `libreoffice` | SUSE:Linux Enterprise Workstation Extension 12 SP4 | All versions | 6.0.5.2-43.38.5 |
| `libepubgen` | SUSE:Linux Enterprise Workstation Extension 15 | All versions | 0.1.1-3.3.1 |
| `liblangtag` | SUSE:Linux Enterprise Workstation Extension 15 | All versions | 0.6.2-3.3.1 |
| `libmwaw` | SUSE:Linux Enterprise Workstation Extension 15 | All versions | 0.3.14-4.3.1 |
| `libnumbertext` | SUSE:Linux Enterprise Workstation Extension 15 | All versions | 1.0.5-1.3.1 |
| `libreoffice` | SUSE:Linux Enterprise Workstation Extension 15 | All versions | 6.0.5.2-3.3.5 |
| `libreoffice` | SUSE:Linux Enterprise Workstation Extension 15 | All versions | 6.1.3.2-3.7.3 |
| `libstaroffice` | SUSE:Linux Enterprise Workstation Extension 15 | All versions | 0.0.6-3.3.1 |
| `libwps` | SUSE:Linux Enterprise Workstation Extension 15 | All versions | 0.4.9-3.3.1 |
| `myspell-dictionaries` | SUSE:Linux Enterprise Workstation Extension 15 | All versions | 20181025-3.6.1 |
| `xmlsec1` | SUSE:Linux Enterprise Workstation Extension 15 | All versions | 1.2.26-3.3.1 |

Products: Apache Openoffice, Canonical Ubuntu Linux, Debian Debian Linux, Libreoffice Libreoffice, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Workstation.

## How do I fix CVE-2018-10583?

Apply the vendor's patch.

## Is CVE-2018-10583 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-10583 exists.

Public exploit code:

- An information disclosure vulnerability occurs when LibreOffice 6.0.3 and Apache OpenOffice Writer 4.1.5 automatically process and initiate an SMB connection embedded in a malicious file, as demonstrated by "xlink:href=file://192.168.0.2/test.jpg" within an "office:document-content" element in a ".odt XML document". (github_poc): https://github.com/MrTaherAmine/CVE-2018-10583
- Updated python3 exploit for CVE-2018-10583 (LibreOffice/Open Office - '.odt' Information Disclosure ) (github_poc): https://github.com/octodi/CVE-2018-10583
- LibreOffice 6.03 /Apache OpenOffice 4.1.5 Malicious ODT File Generator (metasploit)
- LibreOffice/Open Office - '.odt' Information Disclosure (exploitdb)

## Other vulnerabilities in Apache Openoffice

- [CVE-2014-3524](https://insights.sbomify.com/CVE-2014-3524/): Command injection in n/a (critical 9.3)
- [CVE-2010-3450](https://insights.sbomify.com/CVE-2010-3450/): Path traversal in n/a (critical 9.3)
- [CVE-2010-3451](https://insights.sbomify.com/CVE-2010-3451/): Use after free in n/a (critical 9.3)
- [CVE-2010-3452](https://insights.sbomify.com/CVE-2010-3452/): Use after free in n/a (critical 9.3)
- [CVE-2010-3453](https://insights.sbomify.com/CVE-2010-3453/): Memory corruption in n/a (critical 9.3)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2018-10583 and fix it if it is affected.

What it is: CVE-2018-10583 is a high-severity vulnerability in Apache Openoffice, published on 1 May 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-10583 exists.

Affected product: Apache Openoffice. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2018-10583/ (Markdown: https://insights.sbomify.com/CVE-2018-10583/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2018-10583
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2018-10583
- OSV: https://osv.dev/vulnerability/CVE-2018-10583

---
From sbomify Insights: https://insights.sbomify.com/CVE-2018-10583/
Summaries are generated and may contain mistakes; the official description above is the record.
