Kiwiyumi

TrakSYS - Direct and unauthenticated access to export Pages funcionality

Fri Jun 21, 2024

What is TrakSYS

TrakSYS is a software platform developed by Parsec Automation Corp. for managing real-time operations and optimizing manufacturing processes. It is widely used in industries to monitor, analyze and improve the efficiency and productivity of production processes.

Versions affected

During my tests it was observed that versions 11.x.x are vulnerable.

Affected Endpoint

https://site[.]com/TS/export/contentpage?ID={id}

Impact

An attacker is able to export the pages code of the pages without having any credentials to access the application.

Description

It was not possible to confirm the presence of mechanisms that check whether the user is authorized to carry out certain actions in the system, or whether the user has been authenticated by the application. Because of this, it was possible to export the application’s source code.

The following images illustrate successful unauthenticated requests to the affected endpoint:

Recommendation

It is strongly recommended that changes be made to the application’s existing session management and access control, such that access to sensitive functionalities is available only to to autenticated users, and that these users perform only actions by their authorization profile.

PoC

  1. Do the following request replacing the ID with a valid id and host with your target:
GET /TS/export/contentpage?ID={ID} HTTP/2
Host: {HOST}
  1. Note that it is possible to export and view the source code.

Fonts