[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1087765384.40d5fb88d7a72@webmail.uu.se>
From: Ulf.Harnhammar.9485 at student.uu.se (Ulf Härnhammar)
Subject: Re: [SECURITY] [DSA 523-1] New www-sql packages fix buffer overflow
www-sql has an include command, allowing programs written in www-sql
to include files. The buffer overflow occurs when an include command
in a web page has a too long path, either one that is hardcoded or
one that is stored in a variable. The buffer overflow is stack-based
and gives you control over EIP.
In the special case where the include command uses a parameter
controlled by the web page's visitors (by form data or otherwise),
the overflow can be exploited remotely. Otherwise it is a local
privilege escalation.
I have attached a patch (against version 0.5.7) and a sample
web page.
// Ulf Harnhammar
Debian Security Audit Project
http://www.debian.org/security/audit/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.sql
Type: text/x-sql
Size: 1281 bytes
Desc: not available
Url : http://lists.grok.org.uk/pipermail/full-disclosure/attachments/20040620/59b0ec23/test.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: www-sql.patch
Type: text/x-patch
Size: 752 bytes
Desc: not available
Url : http://lists.grok.org.uk/pipermail/full-disclosure/attachments/20040620/59b0ec23/www-sql.bin
Powered by blists - more mailing lists