CVE-2025-5637
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-06-05

Last updated on: 2025-06-24

Assigner: VulDB

Description
A vulnerability, which was classified as critical, was found in PCMan FTP Server 2.0.7. Affected is an unknown function of the component SYSTEM Command Handler. The manipulation leads to buffer overflow. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-06-05
Last Modified
2025-06-24
Generated
2026-05-07
AI Q&A
2025-06-05
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
pcman ftp_server to 2.0.7 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-119 The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
CWE-120 The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2025-5637 is a critical buffer overflow vulnerability in PCMan FTP Server version 2.0.7, specifically in the SYSTEM Command Handler component. The vulnerability occurs because the server copies input data to an output buffer without checking if the input size exceeds the buffer size, leading to a buffer overflow (CWE-120). This flaw allows an attacker to remotely send a specially crafted SYSTEM command that overflows the buffer, overwriting memory and enabling execution of arbitrary code on the server without authentication. [1, 3]


How can this vulnerability impact me? :

This vulnerability can severely impact you by allowing remote attackers to execute arbitrary code on the affected PCMan FTP Server without any authentication. Exploiting this flaw can compromise the confidentiality, integrity, and availability of the system. Attackers can gain remote shell access, potentially taking full control of the server, leading to data theft, service disruption, or further network compromise. The exploit is easy to perform and publicly available, increasing the risk of attacks. [1, 2, 3]


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by attempting to exploit the buffer overflow in the SYSTEM command of the PCMan FTP Server 2.0.7. Detection involves sending an overly long input to the SYSTEM command and observing if the server crashes or behaves abnormally, indicating a buffer overflow. Using tools like Metasploit Framework, you can generate a cyclic pattern with `msf-pattern_create -l 3000` and send it to the SYSTEM command to identify the offset where the crash occurs. After the crash, use `msf-pattern_offset -q <EIP_value>` to find the exact offset. Additionally, network monitoring for unusual SYSTEM command payloads or unexpected crashes on the FTP server can help detect exploitation attempts. Example commands include: 1) Using a TCP client or netcat to connect to the FTP server on port 21 and manually sending a long SYSTEM command payload. 2) Using Metasploit or custom scripts to send crafted payloads as shown in the public exploit. However, no specific detection commands are provided in the resources. [2, 3]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include replacing the affected PCMan FTP Server 2.0.7 software with an alternative FTP server product, as no known countermeasures or patches currently exist. Restricting access to the FTP server from untrusted networks and monitoring for suspicious SYSTEM command usage can reduce exposure. Disabling or restricting the SYSTEM command functionality, if possible, may also help mitigate risk. Since the exploit is publicly available and easy to execute remotely without authentication, urgent replacement or removal of the vulnerable software is strongly recommended. [1]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart