SANE Internal Wire Memory Disclosure Vulnerability
BID:8594
Info
SANE Internal Wire Memory Disclosure Vulnerability
| Bugtraq ID: | 8594 |
| Class: | Boundary Condition Error |
| CVE: |
CVE-2003-0774 |
| Remote: | Yes |
| Local: | No |
| Published: | Feb 09 2003 12:00AM |
| Updated: | Jul 11 2009 11:56PM |
| Credit: | Discovery is credited to Alexander Hvostov, Julien Blache, and Aurelien Jarno. |
| Vulnerable: |
SGI ProPack 2.3 SGI ProPack 2.2.1 SANE sane-backend 1.0.10 SANE SANE 1.0.9 SANE SANE 1.0.8 SANE SANE 1.0.7 -beta2 SANE SANE 1.0.7 -beta1 SANE SANE 1.0.7 SANE SANE 1.0.6 SANE SANE 1.0.5 SANE SANE 1.0.4 SANE SANE 1.0.3 SANE SANE 1.0.2 SANE SANE 1.0.1 SANE SANE 1.0 .0 Redhat sane-devel-1.0.3-10.pseries.rpm Redhat sane-devel-1.0.3-10.iseries.rpm Redhat sane-devel-1.0.3-10.i386.rpm Redhat sane-backends-devel-1.0.8-5.i386.rpm Redhat sane-backends-devel-1.0.7-6.i386.rpm Redhat sane-backends-devel-1.0.5-4.ia64.rpm Redhat sane-backends-devel-1.0.5-4.i386.rpm Redhat sane-backends-1.0.8-5.i386.rpm Redhat sane-backends-1.0.7-6.i386.rpm Redhat sane-backends-1.0.5-4.ia64.rpm Redhat sane-backends-1.0.5-4.i386.rpm Redhat sane-1.0.3-10.pseries.rpm Redhat sane-1.0.3-10.iseries.rpm Redhat sane-1.0.3-10.i386.rpm |
| Not Vulnerable: |
SANE sane-backend 1.0.11 |
Discussion
SANE Internal Wire Memory Disclosure Vulnerability
SANE is prone to a vulnerability that could expose sensitive information. This could be an issue if saned is running as a service, through a super-server such as inetd or xinetd.
When a connection drop is undetected, access to an internal buffer will escape the bounds of the memory allocated for the buffer. Prior to a segmentation fault, random memory adjacent to the allocated buffer will be read, potentially exposing sensitive memory. saned will also crash as a side-effect, but will be restarted by the super-server.
This issue could potentially be exploited to execute arbitrary code if memory can be corrupted with user-supplied input, though this has not been confirmed.
SANE is prone to a vulnerability that could expose sensitive information. This could be an issue if saned is running as a service, through a super-server such as inetd or xinetd.
When a connection drop is undetected, access to an internal buffer will escape the bounds of the memory allocated for the buffer. Prior to a segmentation fault, random memory adjacent to the allocated buffer will be read, potentially exposing sensitive memory. saned will also crash as a side-effect, but will be restarted by the super-server.
This issue could potentially be exploited to execute arbitrary code if memory can be corrupted with user-supplied input, though this has not been confirmed.
Exploit / POC
SANE Internal Wire Memory Disclosure Vulnerability
Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Solution / Fix
SANE Internal Wire Memory Disclosure Vulnerability
Solution:
The Sane project has released a new version to address this issue.
SuSE Linux has released a security advisory (SuSE-SA:2003:046) and fixes to address this issue. Users who are potentially affected by this vulnerability are advised to apply appropriate fixes as soon as possible. Please see the referenced advisory for additional details regarding the application of applicable fixes. Fixes are linked below.
Red Hat has released an advisory (RHSA-2003:278-01) to address this issue. Affected users are advised to apply the fixes as soon as possible. Further details regarding obtaining and applying relevant fixes is available in the referenced advisory.
Debian has released security advisory DSA 379-1 to address these issues. See referenced advisory for additional details.
Red Hat has released advisory RHSA-2003:285-03 to address this issue.
Mandrake has released an advisory (MDKSA-2003:099) to address this issue. Please see the attached advisory for details on obtaining and applying fixes.
Conectiva Linux has released an advisory (CLA-2003:769) to address this issue. Please see the attached advisory for details on obtaining and applying fixes.
SGI has released an advisory (20031002-01-U) pertaining to their ProPack Linux distribution. The advisory has been released in response to a number of RHSA advisories, and includes a patch (Patch 10027) containing updated RPM packages relating to 22 different BIDS.
Patch 10027 can be obtained via the following link:
http://support.sgi.com/
For information regarding how to obtain individual RPM packages included in Patch 10027, please see the attached advisory.
SCO has released an advisory (CSSA-2004-005.0) and fixes to address this issue for OpenLinux. See the referenced advisory for links to fixes.
SANE SANE 1.0 .0
SANE SANE 1.0.1
SANE sane-backend 1.0.10
SANE SANE 1.0.2
SANE SANE 1.0.3
SANE SANE 1.0.4
SANE SANE 1.0.5
SANE SANE 1.0.6
SANE SANE 1.0.7 -beta2
SANE SANE 1.0.7
SANE SANE 1.0.7 -beta1
SANE SANE 1.0.8
SANE SANE 1.0.9
Solution:
The Sane project has released a new version to address this issue.
SuSE Linux has released a security advisory (SuSE-SA:2003:046) and fixes to address this issue. Users who are potentially affected by this vulnerability are advised to apply appropriate fixes as soon as possible. Please see the referenced advisory for additional details regarding the application of applicable fixes. Fixes are linked below.
Red Hat has released an advisory (RHSA-2003:278-01) to address this issue. Affected users are advised to apply the fixes as soon as possible. Further details regarding obtaining and applying relevant fixes is available in the referenced advisory.
Debian has released security advisory DSA 379-1 to address these issues. See referenced advisory for additional details.
Red Hat has released advisory RHSA-2003:285-03 to address this issue.
Mandrake has released an advisory (MDKSA-2003:099) to address this issue. Please see the attached advisory for details on obtaining and applying fixes.
Conectiva Linux has released an advisory (CLA-2003:769) to address this issue. Please see the attached advisory for details on obtaining and applying fixes.
SGI has released an advisory (20031002-01-U) pertaining to their ProPack Linux distribution. The advisory has been released in response to a number of RHSA advisories, and includes a patch (Patch 10027) containing updated RPM packages relating to 22 different BIDS.
Patch 10027 can be obtained via the following link:
http://support.sgi.com/
For information regarding how to obtain individual RPM packages included in Patch 10027, please see the attached advisory.
SCO has released an advisory (CSSA-2004-005.0) and fixes to address this issue for OpenLinux. See the referenced advisory for links to fixes.
SANE SANE 1.0 .0
-
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
SANE SANE 1.0.1
-
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
SANE sane-backend 1.0.10
-
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
SANE SANE 1.0.2
-
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
SANE SANE 1.0.3
-
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
SANE SANE 1.0.4
-
Conectiva sane-1.0.4-3U70_1cl.i386.rpm
Upgrade for Conectiva Linux 7.
ftp://atualizacoes.conectiva.com.br/7.0/RPMS/sane-1.0.4-3U70_1cl.i386. rpm -
Conectiva sane-devel-1.0.4-3U70_1cl.i386.rpm
Upgrade for Conectiva Linux 7.
ftp://atualizacoes.conectiva.com.br/7.0/RPMS/sane-devel-1.0.4-3U70_1cl .i386.rpm -
Conectiva sane-devel-static-1.0.4-3U70_1cl.i386.rpm
Upgrade for Conectiva Linux 7.
ftp://atualizacoes.conectiva.com.br/7.0/RPMS/sane-devel-static-1.0.4-3 U70_1cl.i386.rpm -
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
SANE SANE 1.0.5
-
Red Hat sane-backends-1.0.5-4.3.i386.rpm
Red Hat Enterprise Linux AS
http://rhn.redhat.com -
Red Hat sane-backends-1.0.5-4.3.i386.rpm
Red Hat Enterprise Linux ES
http://rhn.redhat.com -
Red Hat sane-backends-1.0.5-4.3.i386.rpm
Red Hat Enterprise Linux WS
http://rhn.redhat.com -
Red Hat sane-backends-1.0.5-4.3.ia64.rpm
Red Hat Enterprise Linux AS
http://rhn.redhat.com -
Red Hat sane-backends-1.0.5-4.3.ia64.rpm
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor
http://rhn.redhat.com -
Red Hat sane-backends-devel-1.0.5-4.3.i386.rpm
Red Hat Enterprise Linux AS
http://rhn.redhat.com -
Red Hat sane-backends-devel-1.0.5-4.3.i386.rpm
Red Hat Enterprise Linux ES
http://rhn.redhat.com -
Red Hat sane-backends-devel-1.0.5-4.3.i386.rpm
Red Hat Enterprise Linux WS
http://rhn.redhat.com -
Red Hat sane-backends-devel-1.0.5-4.3.ia64.rpm
Red Hat Enterprise Linux AS
http://rhn.redhat.com -
Red Hat sane-backends-devel-1.0.5-4.3.ia64.rpm
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor
http://rhn.redhat.com -
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
SANE SANE 1.0.6
-
Conectiva sane-1.0.6-3U80_1cl.i386.rpm
Upgrade for Conectiva Linux 8.
ftp://atualizacoes.conectiva.com.br/8/RPMS/sane-1.0.6-3U80_1cl.i386.rp m -
Conectiva sane-devel-1.0.6-3U80_1cl.i386.rpm
Upgrade for Conectiva Linux 8.
ftp://atualizacoes.conectiva.com.br/8/RPMS/sane-devel-1.0.6-3U80_1cl.i 386.rpm -
Conectiva sane-devel-static-1.0.6-3U80_1cl.i386.rpm
Upgrade for Conectiva Linux 8.
ftp://atualizacoes.conectiva.com.br/8/RPMS/sane-devel-static-1.0.6-3U8 0_1cl.i386.rpm -
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
SANE SANE 1.0.7 -beta2
-
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
SANE SANE 1.0.7
-
Debian libsane-dev_1.0.7-4_alpha.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/s/sane-backends/libsane-d ev_1.0.7-4_alpha.deb -
Debian libsane-dev_1.0.7-4_arm.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/s/sane-backends/libsane-d ev_1.0.7-4_arm.deb -
Debian libsane-dev_1.0.7-4_hppa.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/s/sane-backends/libsane-d ev_1.0.7-4_hppa.deb -
Debian libsane-dev_1.0.7-4_i386.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/s/sane-backends/libsane-d ev_1.0.7-4_i386.deb -
Debian libsane-dev_1.0.7-4_ia64.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/s/sane-backends/libsane-d ev_1.0.7-4_ia64.deb -
Debian libsane-dev_1.0.7-4_m68k.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/s/sane-backends/libsane-d ev_1.0.7-4_m68k.deb -
Debian libsane-dev_1.0.7-4_mips.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/s/sane-backends/libsane-d ev_1.0.7-4_mips.deb -
Debian libsane-dev_1.0.7-4_mipsel.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/s/sane-backends/libsane-d ev_1.0.7-4_mipsel.deb -
Debian libsane-dev_1.0.7-4_powerpc.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/s/sane-backends/libsane-d ev_1.0.7-4_powerpc.deb -
Debian libsane-dev_1.0.7-4_s390.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/s/sane-backends/libsane-d ev_1.0.7-4_s390.deb -
Debian libsane-dev_1.0.7-4_sparc.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/s/sane-backends/libsane-d ev_1.0.7-4_sparc.deb -
Debian libsane_1.0.7-4_alpha.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/s/sane-backends/libsane_1 .0.7-4_alpha.deb -
Debian libsane_1.0.7-4_arm.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/s/sane-backends/libsane_1 .0.7-4_arm.deb -
Debian libsane_1.0.7-4_hppa.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/s/sane-backends/libsane_1 .0.7-4_hppa.deb -
Debian libsane_1.0.7-4_i386.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/s/sane-backends/libsane_1 .0.7-4_i386.deb -
Debian libsane_1.0.7-4_ia64.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/s/sane-backends/libsane_1 .0.7-4_ia64.deb -
Debian libsane_1.0.7-4_m68k.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/s/sane-backends/libsane_1 .0.7-4_m68k.deb -
Debian libsane_1.0.7-4_mips.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/s/sane-backends/libsane_1 .0.7-4_mips.deb -
Debian libsane_1.0.7-4_mipsel.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/s/sane-backends/libsane_1 .0.7-4_mipsel.deb -
Debian libsane_1.0.7-4_powerpc.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/s/sane-backends/libsane_1 .0.7-4_powerpc.deb -
Debian libsane_1.0.7-4_s390.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/s/sane-backends/libsane_1 .0.7-4_s390.deb -
Debian libsane_1.0.7-4_sparc.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/s/sane-backends/libsane_1 .0.7-4_sparc.deb -
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
SANE SANE 1.0.7 -beta1
-
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
SANE SANE 1.0.8
-
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
SANE SANE 1.0.9
-
Conectiva sane-1.0.9-23360U90_1cl.i386.rpm
Upgrade for Conectiva Linux 9.
ftp://atualizacoes.conectiva.com.br/9/RPMS/sane-1.0.9-23360U90_1cl.i38 6.rpm -
Conectiva sane-devel-1.0.9-23360U90_1cl.i386.rpm
Upgrade for Conectiva Linux 9.
ftp://atualizacoes.conectiva.com.br/9/RPMS/sane-devel-1.0.9-23360U90_1 cl.i386.rpm -
Conectiva sane-devel-static-1.0.9-23360U90_1cl.i386.rpm
Upgrade for Conectiva Linux 9.
ftp://atualizacoes.conectiva.com.br/9/RPMS/sane-devel-static-1.0.9-233 60U90_1cl.i386.rpm -
Mandrake libsane1-1.0.9-3.3.90mdk.i586.rpm
Mandrake Corporate Server 2.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libsane1-1.0.9-3.3.90mdk.i586.rpm
Mandrake Linux 9.0
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libsane1-1.0.9-3.3.90mdk.x86_64.rpm
Mandrake Corporate Server 2.1/x86_64
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libsane1-devel-1.0.9-3.3.90mdk.i586.rpm
Mandrake Corporate Server 2.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libsane1-devel-1.0.9-3.3.90mdk.i586.rpm
Mandrake Linux 9.0
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libsane1-devel-1.0.9-3.3.90mdk.x86_64.rpm
Mandrake Corporate Server 2.1/x86_64
http://www.mandrakesecure.net/en/ftp.php -
Mandrake sane-backends-1.0.9-3.3.90mdk.i586.rpm
Mandrake Corporate Server 2.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake sane-backends-1.0.9-3.3.90mdk.i586.rpm
Mandrake Linux 9.0
http://www.mandrakesecure.net/en/ftp.php -
Mandrake sane-backends-1.0.9-3.3.90mdk.x86_64.rpm
Mandrake Corporate Server 2.1/x86_64
http://www.mandrakesecure.net/en/ftp.php -
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
References
SANE Internal Wire Memory Disclosure Vulnerability
References:
References:
- RHSA-2003:285-03 Updated SANE packages fix remote vulnerabilities (Red Hat)
- saned bug: possible remote DoS (denial of service) (Henning Meier-Geinitz)