{"vuid":"VU#302668","idnumber":"302668","name":"ShareLaTeX vulnerable to remote command execution and information disclosure","keywords":["path traversal","command injection","latex","CWE-22","CWE-77"],"overview":"ShareLaTeX is a server-based software allowing group collaboration on LaTeX documents. ShareLaTeX prior to version 0.1.3 has been found to be vulnerable to command injections and information disclosure.","clean_desc":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') - CVE-2015-0933 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. CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')  - CVE-2015-0934 ShareLaTeX prior to version 0.1.3 allows a remote user to run commands on the server with the permissions of the ShareLaTeX process by not properly filtering out backticks from the names of files. The CVSS score below is based on CVE-2015-0934.","impact":"CVE-2015-0933 allows a remote authenticated user to obtain information about other users or the server on which ShareLaTeX is installed. This information can include information like user accounts, which may be used to mount further attacks against the server. CVE-2015-0934 allows a remote authenticated user to run commands on the server with the permissions of the ShareLaTeX process. Note that user authentication as of ShareLaTeX 0.1.3 is currently limited to registering an email address and does not require moderator/administrator approval. Therefore it is possible for an authenticated user to remain anonymous.","resolution":"Apply an update CVE-2015-0934 was addressed in CLSI 0.1.3, which is included in ShareLaTeX 0.1.3. Users are recommended to update as soon as possible. This update does not address CVE-2015-0933, however. You may consider the following workaround for CVE-2015-0933.","workarounds":"Change LaTeX configuration CVE-2015-0933 may be mitigated by making some changes to the LaTeX configuration file on the server running ShareLaTeX. ShareLaTeX provides some extra security guidance.","sysaffected":"","thanks":"Thanks to Tobias Fiebig for reporting this vulnerability.","author":"This document was written by Garret Wassermann.","public":["https://github.com/sharelatex/sharelatex/wiki/Production-Installation-Instructions#securing-latex","https://github.com/sharelatex/sharelatex/tree/v0.1.3","https://www.pressestelle.tu-berlin.de/menue/tub-medien/publications/press_releases/2015/maerz_2015/media_information_no_46_e/parameter/en/"],"cveids":["CVE-2015-0933","CVE-2015-0934"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2015-01-05T13:54:33Z","publicdate":"2015-03-02T00:00:00Z","datefirstpublished":"2015-03-03T17:51:24Z","dateupdated":"2015-03-03T17:51:55Z","revision":45,"vrda_d1_directreport":"1","vrda_d1_population":"3","vrda_d1_impact":"3","cam_widelyknown":"0","cam_exploitation":"0","cam_internetinfrastructure":"0","cam_population":"0","cam_impact":"0","cam_easeofexploitation":"0","cam_attackeraccessrequired":"0","cam_scorecurrent":"0","cam_scorecurrentwidelyknown":"0","cam_scorecurrentwidelyknownexploited":"0","ipprotocol":"","cvss_accessvector":"N","cvss_accesscomplexity":"L","cvss_authentication":null,"cvss_confidentialityimpact":"P","cvss_integrityimpact":"P","cvss_availabilityimpact":"N","cvss_exploitablity":null,"cvss_remediationlevel":"OF","cvss_reportconfidence":"C","cvss_collateraldamagepotential":"ND","cvss_targetdistribution":"L","cvss_securityrequirementscr":"ND","cvss_securityrequirementsir":"ND","cvss_securityrequirementsar":"ND","cvss_basescore":"6.4","cvss_basevector":"AV:N/AC:L/Au:N/C:P/I:P/A:N","cvss_temporalscore":"5","cvss_environmentalscore":"1.2572864940825","cvss_environmentalvector":"CDP:ND/TD:L/CR:ND/IR:ND/AR:ND","metric":0.0,"vulnote":null}