Cloudanix VulnDB

CVE-2015-5700

Medium · 6.1

CVSS

6.1

EPSS

0.4%

Published

Aug 25, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A local user can trick document processing software into overwriting any chosen file on the computer.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Low
Impact
Data Tampering
Component
Application
Class
Path Traversal
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Local symlink attack in mktexlsr allows writing to arbitrary files by manipulating symbolic links during file operations in texlive packaging.

Why it matters to the business

Local attackers can corrupt or overwrite arbitrary system files, risking data loss, configuration changes, or escalation to broader system compromise on affected document processing environments.

How an attack unfolds

An attacker with local access creates a symlink pointing to a sensitive target file, then invokes the vulnerable mktexlsr revision which follows the link and performs an unintended write operation.

How to fix it

Upgrade texlive to a version that resolves the symlink handling flaw in mktexlsr revisions after 36625; restrict untrusted local user execution of texlive utilities where possible.

How to confirm the fix worked

Review source history or test mktexlsr behavior with symlinks to confirm writes are no longer permitted to arbitrary locations outside intended directories.

Typical attack path

  1. Identify a writable directory used by mktexlsr
  2. Create a symlink from a controlled path to an arbitrary target file
  3. Trigger mktexlsr execution to perform the write operation through the symlink
  4. Verify or leverage the resulting file modification

How to detect it

Search process execution logs and file system audit trails for mktexlsr invocations followed by unexpected writes or symlink creations in non-standard locations.

What your security team should do

  • Prioritize patching texlive installations on multi-user systems
  • Audit local user permissions and remove unnecessary access to texlive tools
  • Implement file integrity monitoring on critical system paths
  • Review historical logs for evidence of symlink abuse if systems remain unpatched

The record

mktexlsr revision 22855 through revision 36625 as packaged in texlive allows local users to write to arbitrary files via a symlink attack.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 texlive-bin 0 2014.20140926.35254-5
Debian:12 texlive-bin 0 2014.20140926.35254-5
Debian:13 texlive-bin 0 2014.20140926.35254-5
Ubuntu:14.04:LTS texlive-bin 0 2013.20130729.30972-2ubuntu0.1
Ubuntu:16.04:LTS texlive-bin 0 2015.20160222.37495-1ubuntu0.1
Ubuntu:18.04:LTS texlive-bin 0 2017.20170613.44572-8ubuntu0.1

Related vulnerabilities