CRITICAL🇵🇱 Wersja polska

CVE-2023-50254

CVSS 9.3v3.1pub. 2023-12-22upd. 2024-11-21

Deepin Linux's default document reader `deepin-reader` software suffers from a serious vulnerability in versions prior to 6.0.7 due to a design flaw that leads to remote command execution via crafted docx document. This is a file overwrite vulnerability. Remote code execution (RCE) can be achieved by overwriting files like .bash_rc, .bash_login, etc. RCE will be triggered when the user opens the terminal. Version 6.0.7 contains a patch for the issue.

🤖 AI Analysis
How it works

The vulnerability stems from improper path validation when opening DOCX format documents (CWE-22, CWE-27). An attacker creates a crafted DOCX document containing components with path traversal in path names, allowing the file to be written to any location accessible to the user outside the intended directory. This makes it possible to overwrite shell initialization files such as .bash_rc or .bash_login. Malicious code is executed when the victim opens a terminal — without any additional interaction from the attacker after delivering the document.

Impact

An attacker can achieve remote code execution (RCE) in the context of the user account that opens the crafted document. This results in full session compromise and potential persistence in the system through permanent modification of shell configuration files.

Mitigation & patch

Deepin Reader should be updated to version 6.0.7, which contains a patch resolving the issue. Patches are available in the project references on GitHub (commits: 4db7a079fb7bd77257b1b9208a7ab26aade8fe04 and c192fd20a2fe4003e0581c3164489a89e06420c6). Until the update is applied, it is recommended to avoid opening DOCX documents from untrusted sources.

Who is affected

Deepin Reader (deepin-reader) in versions earlier than 6.0.7, which is the default document reader in Deepin Linux system.

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H
  • Deepin Reader

    APP
    Deepin
    < 6.0.7
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
RCEPath Traversal
CWE
References

Related vulnerabilities

CVE-2023-50255CRITICAL9.3PL ✓same vendor

Path traversal w Deepin-Compressor umożliwiający zdalne wykonanie kodu

CVE-2019-13226HIGH7.0same vendor

deepin-clone before 1.1.3 uses a predictable path /tmp/.deepin-clone/mount/<block-dev-basename> in the Helper:...

CVE-2017-7622HIGH8.8same vendor

dde-daemon, the daemon process of DDE (Deepin Desktop Environment) 15.0 through 15.3, runs with root privilege...

CVE-2019-13227MEDIUM5.5same vendor

In GUI mode, deepin-clone before 1.1.3 creates a log file at the fixed path /tmp/.deepin-clone.log as root, an...

CVE-2019-13228MEDIUM4.7same vendor

deepin-clone before 1.1.3 uses a fixed path /tmp/repo.iso in the BootDoctor::fix() function to download an ISO...