Skip to main content
Vulnerability Database/CVE-2025-41073

CVE-2025-41073: Gandia Integra Total Path Traversal Flaw

CVE-2025-41073 is a path traversal vulnerability in Tesigandia Gandia Integra Total version 4.4.2236.1 that lets authenticated attackers download sensitive files from parent directories. This article covers technical details, impact assessment, and security measures.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-41073 Overview

CVE-2025-41073 is a path traversal vulnerability [CWE-22] in TESI Gandia Integra Total version 4.4.2236.1. An authenticated attacker can abuse the direstudio parameter in /encuestas/integraweb[_v4]/integra/html/view/comprimir.php to download a ZIP archive containing arbitrary files from the underlying server. By supplying traversal sequences such as ..\..\.., an attacker can read files outside the intended survey directory, including sensitive configuration and application data.

Critical Impact

Authenticated attackers can exfiltrate arbitrary files from the host filesystem, including configuration files that may contain credentials or business data.

Affected Products

  • TESI Gandia Integra Total 4.4.2236.1
  • Deployments exposing /encuestas/integraweb/integra/html/view/comprimir.php
  • Deployments exposing /encuestas/integraweb_v4/integra/html/view/comprimir.php

Discovery Timeline

  • 2025-10-23 - CVE-2025-41073 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-41073

Vulnerability Analysis

The flaw resides in the comprimir.php endpoint, which compresses a directory into a ZIP archive and returns it to the requester. The endpoint accepts a user-controlled parameter named direstudio that specifies the source directory. The application does not canonicalize or restrict the value before using it to enumerate and package files.

An authenticated user can therefore submit traversal sequences such as ..\..\.. to escape the expected survey directory. The resulting ZIP file contains files from arbitrary parent directories on the server. Because the operation runs with the privileges of the web application, attackers can retrieve source code, configuration files, and any other content readable by the service account.

Root Cause

The root cause is missing input validation on the direstudio parameter. The endpoint trusts client-supplied directory paths without normalizing separators, resolving relative components, or enforcing an allow-list rooted at the intended survey base directory. This matches the classic pattern described in CWE-22: Improper Limitation of a Pathname to a Restricted Directory.

Attack Vector

Exploitation requires network access to the web interface and valid authenticated credentials. The attacker issues a request to comprimir.php and sets direstudio to a traversal payload targeting a parent directory. The server responds with a ZIP archive containing the traversed content. No user interaction beyond the authenticated request is required.

Refer to the INCIBE CERT Notice on Path Traversal in Gandia Integra Total for the coordinated advisory details.

Detection Methods for CVE-2025-41073

Indicators of Compromise

  • HTTP requests to /encuestas/integraweb/integra/html/view/comprimir.php or /encuestas/integraweb_v4/integra/html/view/comprimir.php containing ..\ or ../ sequences in the direstudio parameter.
  • Unexpected outbound transfers of ZIP archives generated by the application to unusual client addresses.
  • Access to comprimir.php outside of normal survey administration workflows or business hours.

Detection Strategies

  • Inspect web server and application logs for direstudio parameter values containing .., encoded traversal sequences (%2e%2e, %2f, %5c), or absolute paths.
  • Deploy a web application firewall rule that blocks or alerts on traversal patterns targeting comprimir.php.
  • Correlate authenticated session activity with archive download volume to surface accounts downloading unusually large or frequent ZIP responses.

Monitoring Recommendations

  • Enable verbose access logging for the /encuestas/integraweb* paths and forward logs to a centralized analytics platform.
  • Alert on any request to comprimir.php where the direstudio value resolves outside the expected survey root directory.
  • Track failed and successful authentication attempts against the Integra web console to identify credential abuse preceding traversal attempts.

How to Mitigate CVE-2025-41073

Immediate Actions Required

  • Restrict network access to the Integra web interface to trusted administrative networks or VPN users.
  • Rotate credentials for all Integra accounts and enforce strong, unique passwords to reduce the likelihood of authenticated abuse.
  • Review web server logs for prior exploitation attempts against comprimir.php and treat any exfiltrated files as compromised.

Patch Information

No vendor patch URL is listed in the enriched CVE data at the time of writing. Consult the INCIBE CERT Notice on Path Traversal in Gandia Integra Total and contact TESI Gandia directly for a fixed release beyond version 4.4.2236.1.

Workarounds

  • Block requests to comprimir.php at the reverse proxy or WAF when the direstudio parameter contains .., %2e%2e, backslashes, or absolute path prefixes.
  • Remove or rename the comprimir.php endpoint if the ZIP download functionality is not required for operations.
  • Enforce filesystem-level access controls so the web service account cannot read directories outside the application root.
bash
# Example nginx rule to block traversal payloads targeting comprimir.php
location ~* /encuestas/integraweb(_v4)?/integra/html/view/comprimir\.php$ {
    if ($arg_direstudio ~* "(\.\./|\.\.\\|%2e%2e|^/|^[a-zA-Z]:)") {
        return 403;
    }
    proxy_pass http://integra_backend;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.