lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 14 Feb 2004 08:58:09 +0000 (GMT)
From: Dr Andrew C Aitchison <A.C.Aitchison@...ms.cam.ac.uk>
To: iDefense Labs <labs@...fense.com>
Cc: bugs@...uritytracker.com, <bugtraq@...urityfocus.com>
Subject: Re: iDEFENSESecurityAdvisory02.10.04: XFree86FontInformationFileBufferOverflow


On Tue, 10 Feb 2004, iDefense Labs wrote:

> - - - From XFree86-4.2.1/xc/lib/font/fontfile/dirfile.c: 
>
> ReadFontAlias(char *directory, Bool isFile, FontDirectoryPtr *pdir)
> {
> char alias[MAXFONTNAMELEN]; 

>        switch (token) {
>        case NAME:
>          strcpy(alias, lexToken); 
> 
> If lexToken is longer than MAXFONTNAMELEN (1024 chars) an overflow 
> occurs. 

I note that this code also ocurs in Xvnc,
and that ReadFontAlias is essentially unchanged in XFree86 CVS since 
version 1.1, which has the CVS id string
/* $XConsortium: dirfile.c,v 1.11 94/04/17 20:17:01 gildea Exp $ */

I would expect that X servers from many vendors have the same 
vunerablility.

-- 
Dr. Andrew C. Aitchison		Computer Officer, DPMMS, Cambridge
A.C.Aitchison@...ms.cam.ac.uk	http://www.dpmms.cam.ac.uk/~werdna




Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ