{"id":60284,"date":"2024-11-13T21:15:05","date_gmt":"2024-11-13T18:15:05","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/182654\/txtextcontrol-fileread.txt"},"modified":"2024-11-13T21:15:05","modified_gmt":"2024-11-13T18:15:05","slug":"tx-text-control-net-server-for-asp-net-arbitrary-file-read-write","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/tx-text-control-net-server-for-asp-net-arbitrary-file-read-write\/","title":{"rendered":"TX Text Control .NET Server For ASP.NET Arbitrary File Read \/ Write"},"content":{"rendered":"<p>Hej,<\/p>\n<p>Let&#8217;s keep it short &#8230;<\/p>\n<p>=====<\/p>\n<p>Intro<\/p>\n<p>=====<\/p>\n<p>A &#8220;sudo make me a sandwich&#8221; security issue has been identified in the TX<br \/>Text<\/p>\n<p>Control .NET Server for ASP.NET[1].<\/p>\n<p>According to the vendor[2], &#8220;the most powerful, MS Word compatible document<\/p>\n<p>editor that runs in all browsers&#8221;.<\/p>\n<p>Likely all versions are affected however, it was not confirmed.<\/p>\n<p>=====<\/p>\n<p>Issue<\/p>\n<p>=====<\/p>\n<p>It was possible to change the configured system path for reading and writing<\/p>\n<p>files in the underlying operating system with privileges of the user<br \/>running a<\/p>\n<p>web application. This could be achieved by calling the setfiledirectory()<\/p>\n<p>function exposed via JavaScript API[3].<\/p>\n<p>===<\/p>\n<p>PoC<\/p>\n<p>===<\/p>\n<p>&#8212; cut &#8212;<\/p>\n<p>TXTextControl.setFileDirectory(0, &#8220;c:\\\\&#8221;)<\/p>\n<p>&#8212; cut &#8212;<\/p>\n<p>See also the attached image file for details.<\/p>\n<p>===========<\/p>\n<p>Remediation<\/p>\n<p>===========<\/p>\n<p>Contact the vendor[4] directly for remediation guidance.<\/p>\n<p>========<\/p>\n<p>Timeline<\/p>\n<p>========<\/p>\n<p>14.10.2024: Security contact requested from sales.department@textcontrol.com<br \/>.<\/p>\n<p>31.10.2024: CVE requested from MITRE.<\/p>\n<p>&#8230;&#8230;2024: Nobody cares.<\/p>\n<p>12.11.2024: The advisory has been released.<\/p>\n<p>==========<\/p>\n<p>References<\/p>\n<p>==========<\/p>\n[1]https:\/\/www.textcontrol.com\/products\/asp-dotnet\/tx-text-control-dotnet-server\/overview\/<\/p>\n[2] https:\/\/www.textcontrol.com<\/p>\n[3]https:\/\/docs.textcontrol.com\/textcontrol\/asp-dotnet\/ref.javascript.txtextcontrol.setfiledirectory.method.htm<\/p>\n[4] https:\/\/www.textcontrol.com\/contact\/email\/general\/<\/p>\n<p>Cheers,<\/p>\n<p>Filip Palian<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hej, Let&#8217;s keep it short &#8230; ===== Intro ===== A &#8220;sudo make me a sandwich&#8221; security issue has been identified in the TXText Control .NET Server for ASP.NET[1]. According to the vendor[2], &#8220;the most powerful, MS Word compatible document editor that runs in all browsers&#8221;. Likely all versions are affected however, it was not confirmed. &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-60284","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/60284","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=60284"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/60284\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=60284"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=60284"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=60284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}