Lucene search
K

TX Text Control .NET Server For ASP.NET Arbitrary File Read / Write

🗓️ 13 Nov 2024 00:00:00Reported by Filip PalianType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 302 Views

Security issue in TX Text Control .NET Server for ASP.NET, allows arbitrary file read/write by changing system path via JavaScript API

Code
`Hej,  
  
  
Let's keep it short ...  
  
  
=====  
  
Intro  
  
=====  
  
A "sudo make me a sandwich" security issue has been identified in the TX  
Text  
  
Control .NET Server for ASP.NET[1].  
  
According to the vendor[2], "the most powerful, MS Word compatible document  
  
editor that runs in all browsers".  
  
Likely all versions are affected however, it was not confirmed.  
  
  
=====  
  
Issue  
  
=====  
  
It was possible to change the configured system path for reading and writing  
  
files in the underlying operating system with privileges of the user  
running a  
  
web application. This could be achieved by calling the setfiledirectory()  
  
function exposed via JavaScript API[3].  
  
  
===  
  
PoC  
  
===  
  
-- cut --  
  
TXTextControl.setFileDirectory(0, "c:\\")  
  
-- cut --  
  
  
See also the attached image file for details.  
  
  
===========  
  
Remediation  
  
===========  
  
Contact the vendor[4] directly for remediation guidance.  
  
  
========  
  
Timeline  
  
========  
  
14.10.2024: Security contact requested from [email protected]  
.  
  
31.10.2024: CVE requested from MITRE.  
  
......2024: Nobody cares.  
  
12.11.2024: The advisory has been released.  
  
  
==========  
  
References  
  
==========  
  
[1]  
https://www.textcontrol.com/products/asp-dotnet/tx-text-control-dotnet-server/overview/  
  
[2] https://www.textcontrol.com  
  
[3]  
https://docs.textcontrol.com/textcontrol/asp-dotnet/ref.javascript.txtextcontrol.setfiledirectory.method.htm  
  
[4] https://www.textcontrol.com/contact/email/general/  
  
  
  
Cheers,  
  
Filip Palian  
`

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