National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2005-4784 Detail

Description

Multiple buffer overflows in the POSIX readdir_r function, as used in multiple packages, allow local users to cause a denial of service and possibly execute arbitrary code via (1) a symlink attack that exploits a race condition between opendir and pathcon calls and changes the filesystem to one with a larger maximum directory-entry name length, or (2) possibly via programmer-introduced errors on operating systems with a small struct dirent, such as Solaris or BeOS, as demonstrated in packages including (a) gcj, (b) KDE, (c) libwww, (d) the Rudiments library, (e) teTeX, (f) xmail, (g) bfbtester, (h) ncftp, (i) netwib, (j) OpenOffice.org, (k) Pike, (l) reprepro, (m) Tcl, and (n) xgsmlib.

Source:  MITRE      Last Modified:  12/31/2005

Quick Info

CVE Dictionary Entry:
CVE-2005-4784
Original release date:
12/31/2005
Last revised:
09/05/2008
Source:
US-CERT/NIST

Impact

CVSS Severity (version 2.0):
CVSS v2 Base Score:
5.6 MEDIUM
Vector:
(AV:L/AC:H/Au:N/C:C/I:N/A:C) (legend)
Impact Subscore:
9.2
Exploitability Subscore:
1.9
CVSS Version 2 Metrics:
Access Vector:
Locally exploitable
Access Complexity:
High
Authentication:
Not required to exploit
Impact Type:
Allows unauthorized disclosure of information; Allows disruption of service

Vendor Statements (disclaimer)

Official Statement from Red Hat (08/30/2006)

This issue did not affect the Linux glibc.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource Type Source Name
http://womble.decadentplace.org.uk/readdir_r-advisory.html Vendor Advisory External Source MISC http://womble.decadentplace.org.uk/readdir_r-advisory.html
http://www.securityfocus.com/archive/1/415781 External Source BUGTRAQ 20051101 readdir_r considered harmful
http://www.securityfocus.com/archive/1/415790/30/0/threaded External Source BUGTRAQ 20051105 Re: readdir_r considered harmful
http://www.securityfocus.com/archive/1/415995/30/0/threaded External Source BUGTRAQ 20051105 Re: readdir_r considered harmful
http://www.securityfocus.com/archive/1/415998/30/0/threaded External Source BUGTRAQ 20051106 Re: readdir_r considered harmful
http://www.securityfocus.com/archive/1/415999/30/0/threaded External Source BUGTRAQ 20051106 Re: readdir_r considered harmful
http://www.securityfocus.com/archive/1/416002/30/0/threaded External Source BUGTRAQ 20051106 Re: readdir_r considered harmful
http://www.securityfocus.com/archive/1/416048/30/0/threaded External Source BUGTRAQ 20051108 Re: readdir_r considered harmful
http://www.securityfocus.com/bid/15259 External Source BID 15259

Technical Details

Vulnerability Type (View All)

Vulnerable software and versions Switch to CPE 2.2

Configuration 1
OR
cpe:2.3:o:austin_group:posix:*:*:*:*:*:*:*:*

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History 1 change record found - show changes