Security Experts:

Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Vulnerabilities

ShareLaTeX Fixes Remote Command Execution Vulnerability

Two security holes have been identified in ShareLaTeX, the online real-time collaborative LaTeX editor. Only one of the vulnerabilities has been addressed, but a workaround is available for the unpatched bug.

Two security holes have been identified in ShareLaTeX, the online real-time collaborative LaTeX editor. Only one of the vulnerabilities has been addressed, but a workaround is available for the unpatched bug.

According to CERT/CC, the vulnerabilities affect ShareLaTeX versions prior to 0.1.3. One of the flaws is a path traversal (CVE-2015-0933) caused by the improper limitation of a pathname to a restricted directory. The bug allows a remote, authenticated attacker to gain access to information that can be used in further attacks.

“ShareLaTeX 0.1.3 and previous versions allow a remote user to obtain information about other users or the server on which ShareLaTeX is installed by allowing a user to \include{} any valid absolute path name in the document, which is then forwarded to the latex process. When processed, the output document will contain the contents of the file specified,” CERT noted in an advisory.

The second vulnerability can be exploited by a remote attacker to run arbitrary commands on the affected server with the privileges of the ShareLaTeX process. The command injection flaw (CVE-2015-0934) is caused by the improper filtering of special characters in filenames.

This vulnerability has been fixed in ShareLaTeX 0.1.3 by escaping any shell special characters in the Common LaTeX Service Interface (CLSI) root path.

The information disclosure flaw has not been addressed, but it can be mitigated by making some changes to the LaTeX configuration file located on the ShareLaTeX server.

ShareLaTeX was released as open source in February 2014, allowing users to run the service on their own servers. According to the official website, ShareLaTeX is used by more than 300,000 students and academics at major universities across the world.

ShareLaTeX developers encourage those who identify security issues to report them at [email protected]. The company’s security hall of fame currently includes the names of over 30 researchers.

Written By

Eduard Kovacs (@EduardKovacs) is a contributing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

Expert Insights

Related Content

Mobile & Wireless

Technical details published for an Arm Mali GPU flaw leading to arbitrary kernel code execution and root on Pixel 6.

Mobile & Wireless

Apple rolled out iOS 16.3 and macOS Ventura 13.2 to cover serious security vulnerabilities.

Cloud Security

VMware vRealize Log Insight vulnerability allows an unauthenticated attacker to take full control of a target system.

Mobile & Wireless

Apple’s iOS 12.5.7 update patches CVE-2022-42856, an actively exploited vulnerability, in old iPhones and iPads.

Vulnerabilities

Security researchers have observed an uptick in attacks targeting CVE-2021-35394, an RCE vulnerability in Realtek Jungle SDK.

Mobile & Wireless

Two vulnerabilities in Samsung’s Galaxy Store that could be exploited to install applications or execute JavaScript code by launching a web page.

Vulnerabilities

Several vulnerabilities have been patched in OpenText’s enterprise content management (ECM) product.

Vulnerabilities

Google has awarded more than $25,000 to the researchers who reported the vulnerabilities patched with the release of the latest Chrome update.