CVE-2025-6774 in sublinkXinfo

Summary

by MITRE • 06/27/2025

A vulnerability was found in gooaclok819 sublinkX up to 1.8. It has been rated as critical. Affected by this issue is the function AddTemp of the file api/template.go. The manipulation of the argument filename leads to path traversal. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 1.9 is able to address this issue. The patch is identified as 778d26aef723daa58df98c8060c43f5bf5d1b10b. It is recommended to upgrade the affected component.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 06/28/2025

The vulnerability identified as CVE-2025-6774 represents a critical path traversal flaw in the gooaclok819 sublinkX application version 1.8 and earlier. This security issue resides within the AddTemp function located in the api/template.go file, where improper validation of the filename argument creates an exploitable condition that allows attackers to manipulate file paths. The vulnerability's classification as critical stems from its remote exploitability and the fact that a public exploit has already been disclosed, making it immediately actionable by threat actors. Path traversal vulnerabilities of this nature typically occur when applications fail to properly sanitize user input before using it in file system operations, allowing attackers to navigate outside of intended directories and potentially access sensitive files or execute arbitrary code.

The technical exploitation of this vulnerability occurs through manipulation of the filename parameter passed to the AddTemp function, which then processes this input without adequate validation or sanitization. When an attacker provides a malicious filename containing directory traversal sequences such as ../ or ..\, the application fails to properly validate these inputs, allowing the traversal to occur. This flaw directly maps to CWE-22, which specifically addresses Path Traversal vulnerabilities in software systems. The attack vector is remote, meaning that an attacker can exploit this vulnerability without requiring physical access to the system, making it particularly dangerous in networked environments where the application is exposed to external traffic. The vulnerability's exploitability is further enhanced by the public disclosure, which provides threat actors with readily available tools and techniques to leverage this weakness.

The operational impact of CVE-2025-6774 extends beyond simple unauthorized file access, potentially enabling complete system compromise if attackers can leverage the path traversal to access system configuration files, application secrets, or other sensitive resources. The vulnerability's presence in a web application's API layer means that successful exploitation could allow attackers to read arbitrary files on the server, potentially accessing database credentials, application source code, or other confidential information. Additionally, depending on the application's permissions and the underlying operating system, attackers might be able to write files to arbitrary locations, potentially leading to code execution or privilege escalation. This vulnerability affects not only data confidentiality but also integrity and availability, as attackers could potentially overwrite critical system files or inject malicious content into the application's file system.

The recommended mitigation strategy involves upgrading the affected application to version 1.9, which contains the necessary patch to address the path traversal vulnerability. The specific patch identified as 778d26aef723daa58df98c8060c43f5bf5d1b10b implements proper input validation and sanitization for the filename parameter within the AddTemp function. Organizations should prioritize this upgrade as a critical security measure, especially given the public availability of exploit code. Additional mitigations should include implementing proper input validation at multiple layers, employing web application firewalls to detect and block suspicious path traversal attempts, and conducting thorough security testing to identify similar vulnerabilities in other application components. The vulnerability also aligns with ATT&CK technique T1059.007, which covers path traversal attacks, and demonstrates the importance of proper input sanitization as outlined in the OWASP Top Ten security principles, particularly the use of secure coding practices to prevent injection vulnerabilities that can lead to path traversal exploits.

Responsible

VulDB

Disclosure

06/27/2025

Moderation

accepted

Exploit

Download

EPSS

0.00420

KEV

no

Activities

very low

Sources

Interested in the pricing of exploits?

See the underground prices here!