// For flags

CVE-2003-0466

FreeBSD 4.8 - 'realpath()' Off-by-One Buffer Overflow

Severity Score

9.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

7
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

Off-by-one error in the fb_realpath() function, as derived from the realpath function in BSD, may allow attackers to execute arbitrary code, as demonstrated in wu-ftpd 2.5.0 through 2.6.2 via commands that cause pathnames of length MAXPATHLEN+1 to trigger a buffer overflow, including (1) STOR, (2) RETR, (3) APPE, (4) DELE, (5) MKD, (6) RMD, (7) STOU, or (8) RNTO.

Error de fuera-por-uno (off-by-one) en la función fb_realpath(), derivada de la función realpath de BSD, pude permitir a atacantes ejecutar código arbitrario, como se ha demostrado en wu-ftpd 2.5.0 a 2.6.2 mediante comandos que causan que nombres de rutas de tamaño MAXPATHLEN+1 disparen un desbordamiento de búfer, incluyendo: (1) STOR, (2) RETR, (3) APPE, (4) DELE, (5) MKD, (6) RMD, (7) STOU, y (8) RNTO.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2003-06-26 CVE Reserved
  • 2003-07-31 First Exploit
  • 2003-08-01 CVE Published
  • 2024-02-08 EPSS Updated
  • 2024-08-08 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-193: Off-by-one Error
CAPEC
References (34)
URL Date SRC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Redhat
Search vendor "Redhat"
Wu Ftpd
Search vendor "Redhat" for product "Wu Ftpd"
2.6.1-16
Search vendor "Redhat" for product "Wu Ftpd" and version "2.6.1-16"
-
Affected
Wuftpd
Search vendor "Wuftpd"
Wu-ftpd
Search vendor "Wuftpd" for product "Wu-ftpd"
>= 2.5.0 <= 2.6.2
Search vendor "Wuftpd" for product "Wu-ftpd" and version " >= 2.5.0 <= 2.6.2"
-
Affected
Apple
Search vendor "Apple"
Mac Os X
Search vendor "Apple" for product "Mac Os X"
10.2.6
Search vendor "Apple" for product "Mac Os X" and version "10.2.6"
-
Affected
Apple
Search vendor "Apple"
Mac Os X Server
Search vendor "Apple" for product "Mac Os X Server"
10.2.6
Search vendor "Apple" for product "Mac Os X Server" and version "10.2.6"
-
Affected
Freebsd
Search vendor "Freebsd"
Freebsd
Search vendor "Freebsd" for product "Freebsd"
>= 4.0 <= 5.0
Search vendor "Freebsd" for product "Freebsd" and version " >= 4.0 <= 5.0"
-
Affected
Netbsd
Search vendor "Netbsd"
Netbsd
Search vendor "Netbsd" for product "Netbsd"
>= 1.5 <= 1.6.1
Search vendor "Netbsd" for product "Netbsd" and version " >= 1.5 <= 1.6.1"
-
Affected
Openbsd
Search vendor "Openbsd"
Openbsd
Search vendor "Openbsd" for product "Openbsd"
>= 2.0 <= 3.3
Search vendor "Openbsd" for product "Openbsd" and version " >= 2.0 <= 3.3"
-
Affected
Sun
Search vendor "Sun"
Solaris
Search vendor "Sun" for product "Solaris"
9.0
Search vendor "Sun" for product "Solaris" and version "9.0"
sparc
Affected