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.

Advertisement. Scroll to continue reading.
Written By

Eduard Kovacs (@EduardKovacs) is a managing 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

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

Expert Insights

Related Content

Vulnerabilities

Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Data Breaches

OpenAI has confirmed a ChatGPT data breach on the same day a security firm reported seeing the use of a component affected by an...

IoT Security

A group of seven security researchers have discovered numerous vulnerabilities in vehicles from 16 car makers, including bugs that allowed them to control car...

Vulnerabilities

A researcher at IOActive discovered that home security systems from SimpliSafe are plagued by a vulnerability that allows tech savvy burglars to remotely disable...

Risk Management

The supply chain threat is directly linked to attack surface management, but the supply chain must be known and understood before it can be...

Cybercrime

Patch Tuesday: Microsoft calls attention to a series of zero-day remote code execution attacks hitting its Office productivity suite.

Vulnerabilities

Patch Tuesday: Microsoft warns vulnerability (CVE-2023-23397) could lead to exploitation before an email is viewed in the Preview Pane.

Vulnerabilities

The latest Chrome update brings patches for eight vulnerabilities, including seven reported by external researchers.