GNU Aspell Stack Buffer Overflow Vulnerability
BID:10497
Info
GNU Aspell Stack Buffer Overflow Vulnerability
| Bugtraq ID: | 10497 |
| Class: | Boundary Condition Error |
| CVE: |
CVE-2004-0548 |
| Remote: | No |
| Local: | Yes |
| Published: | Jun 08 2004 12:00AM |
| Updated: | Jul 05 2016 09:27PM |
| Credit: | Shaun Colley <[email protected]> disclosed this vulnerability to Bugtraq. |
| Vulnerable: |
Mandriva Linux Mandrake 10.1 x86_64 Mandriva Linux Mandrake 10.1 Mandriva Linux Mandrake 10.0 AMD64 Mandriva Linux Mandrake 10.0 GNU Aspell 0.50.5 Gentoo Linux 1.4 |
| Not Vulnerable: | |
Discussion
GNU Aspell Stack Buffer Overflow Vulnerability
It is reported that the word-list-compress utility, which is a part of aspell contains a buffer overflow vulnerability.
The word-list-compress utility is used for the compression and decompression of word lists. Improper bounds checking allows a buffer overflow condition allowing code execution in the context of the victim's account.
An attacker would have to have access to influence the contents of another user's dictionary to successfully exploit this issue. Potentially through social engineering, improper file permissions, or a file association vulnerability.
It is reported that the word-list-compress utility, which is a part of aspell contains a buffer overflow vulnerability.
The word-list-compress utility is used for the compression and decompression of word lists. Improper bounds checking allows a buffer overflow condition allowing code execution in the context of the victim's account.
An attacker would have to have access to influence the contents of another user's dictionary to successfully exploit this issue. Potentially through social engineering, improper file permissions, or a file association vulnerability.
Exploit / POC
GNU Aspell Stack Buffer Overflow Vulnerability
Some proof of concept examples were provided by Shaun Colley <[email protected]>.
echo `perl -e 'print "a"x1000'` | word-list-compress c
echo `perl -e 'print "a"x1000'` | word-list-compress d
These commands should produce a segmentation fault, with the resulting core dumps showing the ability of the attacker to influence the execution of the utility.
c0d3r / root . [email protected] provided a proof of concept exploit:
Some proof of concept examples were provided by Shaun Colley <[email protected]>.
echo `perl -e 'print "a"x1000'` | word-list-compress c
echo `perl -e 'print "a"x1000'` | word-list-compress d
These commands should produce a segmentation fault, with the resulting core dumps showing the ability of the attacker to influence the execution of the utility.
c0d3r / root . [email protected] provided a proof of concept exploit:
Solution / Fix
GNU Aspell Stack Buffer Overflow Vulnerability
Solution:
Mandrake has released an advisory (MDKSA-2004:153) dealing with this issue. Please see the referenced advisory for more information.
Gentoo Linux has released advisory GLSA 200406-14 dealing with this issue. Please see the referenced advisory for further information. Users of affected packages are urged to execute the following as superuser:
emerge sync
emerge -pv ">=app-text/aspell-0.50.5-r2"
emerge ">=app-text/aspell-0.50.5-r2"
Gentoo has released a revision to their initial advisory. User's are recommended to update their packages to the latest available using the emerge tool. Please see the referenced advisory for more information.
OpenPKG has released an advisory (OpenPKG-SA-2004.042) dealing with this issue. Please see the referenced advisory for more information.
GNU Aspell 0.50.5
Mandriva Linux Mandrake 10.0
Mandriva Linux Mandrake 10.0 AMD64
Mandriva Linux Mandrake 10.1
Mandriva Linux Mandrake 10.1 x86_64
Solution:
Mandrake has released an advisory (MDKSA-2004:153) dealing with this issue. Please see the referenced advisory for more information.
Gentoo Linux has released advisory GLSA 200406-14 dealing with this issue. Please see the referenced advisory for further information. Users of affected packages are urged to execute the following as superuser:
emerge sync
emerge -pv ">=app-text/aspell-0.50.5-r2"
emerge ">=app-text/aspell-0.50.5-r2"
Gentoo has released a revision to their initial advisory. User's are recommended to update their packages to the latest available using the emerge tool. Please see the referenced advisory for more information.
OpenPKG has released an advisory (OpenPKG-SA-2004.042) dealing with this issue. Please see the referenced advisory for more information.
GNU Aspell 0.50.5
-
OpenPKG aspell-0.50.5-2.0.1.src.rpm
ftp://ftp.openpkg.org/release/2.0/UPD/aspell-0.50.5-2.0.1.src.rpm -
OpenPKG aspell-0.50.5-2.1.1.src.rpm
ftp://ftp.openpkg.org/release/2.1/UPD/aspell-0.50.5-2.1.1.src.rpm
Mandriva Linux Mandrake 10.0
-
Mandrake aspell-0.50.4.1-2.1.100mdk.i586.rpm
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libaspell15-0.50.4.1-2.1.100mdk.i586.rpm
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libaspell15-devel-0.50.4.1-2.1.100mdk.i586.rpm
http://www.mandrakesecure.net/en/ftp.php
Mandriva Linux Mandrake 10.0 AMD64
-
Mandrake aspell-0.50.4.1-2.1.100mdk.amd64.rpm
http://www.mandrakesecure.net/en/ftp.php -
Mandrake lib64aspell15-0.50.4.1-2.1.100mdk.amd64.rpm
http://www.mandrakesecure.net/en/ftp.php -
Mandrake lib64aspell15-devel-0.50.4.1-2.1.100mdk.amd64.rpm
http://www.mandrakesecure.net/en/ftp.php
Mandriva Linux Mandrake 10.1
-
Mandrake aspell-0.50.5-3.1.101mdk.i586.rpm
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libaspell15-0.50.5-3.1.101mdk.i586.rpm
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libaspell15-devel-0.50.5-3.1.101mdk.i586.rpm
http://www.mandrakesecure.net/en/ftp.php
Mandriva Linux Mandrake 10.1 x86_64
-
Mandrake aspell-0.50.5-3.1.101mdk.x86_64.rpm
http://www.mandrakesecure.net/en/ftp.php -
Mandrake lib64aspell15-0.50.5-3.1.101mdk.x86_64.rpm
http://www.mandrakesecure.net/en/ftp.php -
Mandrake lib64aspell15-devel-0.50.5-3.1.101mdk.x86_64.rpm
http://www.mandrakesecure.net/en/ftp.php
References
GNU Aspell Stack Buffer Overflow Vulnerability
References:
References:
- Aspell Home Page (GNU)
- Aspell 'word-list-compress' stack overflow vulnerability (Shaun Colley
) - Oracle Solaris Third Party Bulletin - January 2016 (Oracle)