Description
The getdirective function in mathtex.cgi in mathTeX, when downloaded before 20090713, allows remote attackers to execute arbitrary commands via shell metacharacters in the dpi tag.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 12 | mathtex | 1.03-1 | — |
References
- ADV-2009-1875 vdb-entry
- 20090713 [oCERT-2009-010] mimeTeX and mathTeX buffer overflows and commandinjection mailing-list
- 35816 third-party-advisory
- mathtex-getdirective-command-execution(51795) vdb-entry
- http://www.ocert.org/advisories/ocert-2009-010.html
- http://groups.google.com/group/comp.text.tex/browse_thread/thread/5d56d3d744351578