CVE-2004-0695: Stack Buffer Overflow in 4D WebSTAR FTP Service
- Vendor
- 4d
A stack-based buffer overflow exists in the FTP service of 4D WebSTAR versions 5.3.2 and earlier. The vulnerability is triggered when a remote attacker sends an overly long FTP command, which overflows a stack buffer and allows for the execution of arbitrary code.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to execute arbitrary code with the privileges of the FTP service, potentially leading to full system compromise.
Mitigation
If you can’t patch tonight, do this now.
Restrict network access to the FTP service to trusted hosts only, and monitor for abnormal or unexpected FTP command lengths. Employ network intrusion detection systems to detect and block exploit attempts.
Remediation
Patch, then assume compromise.
Upgrade to a version of 4D WebSTAR FTP service later than 5.3.2 where this vulnerability is patched. If an upgrade is not possible, disable the FTP service until a fix is available.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2004-0695 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2004-0695 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2004-0695?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2004-0695, the earliest disclosed Jul 13, 2004.
- Is there a patch for CVE-2004-0695?
- Upgrade to a version of 4D WebSTAR FTP service later than 5.3.2 where this vulnerability is patched. If an upgrade is not possible, disable the FTP service until a fix is available.
- What products are affected by CVE-2004-0695?
- 4d Webstar.
- How severe is CVE-2004-0695?
- CVE-2004-0695 has a CVSS v2 score of 7.5 (High) and an EPSS score of 38.2% (99th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.