Quantum Secular Labs / Blog / Advisories
CVE-2003-0466: Red Hat Wu Ftpd: Buffer overflow
CVE-2003-0466 is rated critical with a CVSS v3.1 base score of 9.8 and affects Red Hat Wu Ftpd, along with 6 other products in NVD’s configuration data. Per its scoring, it can be exploited over the network, without authentication, without any user interaction. The scored impact on confidentiality, integrity and availability is the highest available.
Vulnerability description
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.
Severity breakdown
CVSS v3.1 9.8: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector: Network. Exploitable remotely over the network, with no need for local or physical access.
- Attack complexity: Low. No special conditions; the attack can be repeated reliably.
- Privileges required: None. No account or prior access is needed.
- User interaction: None. No action from any user is needed.
- Scope: Unchanged. Impact stays within the vulnerable component.
- Confidentiality impact: High. Total loss of confidentiality; sensitive data can be fully disclosed.
- Integrity impact: High. Total loss of integrity; data or system state can be fully modified.
- Availability impact: High. Total loss of availability; the component can be shut down.
Underlying weakness
CWE-193: Off-by-one Error
A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.
Affected products
- Red Hat Wu Ftpd: 2.6.1-16
- Wu Ftpd: from 2.5.0 up to and including 2.6.2
- Apple Mac OS X: 10.2.6
- Apple Mac OS X Server: 10.2.6
- Freebsd: from 4.0 up to and including 5.0
- Netbsd: from 1.5 up to and including 1.6.1
- Openbsd: from 2.0 up to and including 3.3
- Sun Solaris: 9.0
References
- http://www.securityfocus.com/bid/8315
- http://archives.neohapsis.com/archives/vulnwatch/2003-q3/0065.html
- http://securitytracker.com/id?1007380
- http://www.kb.cert.org/vuls/id/743092
- http://www.mandriva.com/security/advisories?name=MDKSA-2003:080
- http://www.securityfocus.com/archive/1/424852/100/0/threaded
- http://www.securityfocus.com/archive/1/425061/100/0/threaded
- https://exchange.xforce.ibmcloud.com/vulnerabilities/12785
- http://download.immunix.org/ImmunixOS/7+/Updates/errata/IMNX-2003-7+-019-01
- http://isec.pl/vulnerabilities/isec-0011-wu-ftpd.txt
- http://marc.info/?l=bugtraq&m=105967301604815&w=2
- http://marc.info/?l=bugtraq&m=106001410028809&w=2
- http://marc.info/?l=bugtraq&m=106001702232325&w=2
- http://marc.info/?l=bugtraq&m=106002488209129&w=2