vendor:
FreeBSD
by:
Deadbeat
7.5
CVSS
HIGH
Buffer Overflow
120
CWE
Product Name: FreeBSD
Affected Version From: FreeBSD 4.8
Affected Version To: FreeBSD 4.8
Patch Exists: YES
Related CWE: CVE-2003-0352
CPE: o:freebsd:freebsd
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: FreeBSD
2003
Realpath() Buffer Overflow Vulnerability
The 'realpath()' function is a C-library procedure to resolve the canonical, absolute pathname of a file based on a path that may contain values such as '/', './', '../', or symbolic links. A vulnerability that was reported to affect the implementation of 'realpath()' in WU-FTPD has lead to the discovery that at least one implementation of the C library is also vulnerable. Reportedly, this vulnerability has been successfully exploited against WU-FTPD to execute arbitrary instructions.
Mitigation:
Patching the C library alone may not remove all instances of this vulnerability. Statically linked programs may need to be rebuilt with a patched version of the C library. Also, some applications may implement their own version of 'realpath()'. These applications would require their own patches.