SANE Insecure Temporary File Creation Vulnerability

BID:3987

Info

SANE Insecure Temporary File Creation Vulnerability

Bugtraq ID: 3987
Class: Design Error
CVE: CVE-2001-0890
Remote: No
Local: Yes
Published: Dec 11 2001 12:00AM
Updated: Jul 11 2009 09:56AM
Credit: This vulnerability was first publicized in the changelog for SANE version 1.0.7-beta1.
Vulnerable: SANE SANE 1.0.6
SANE SANE 1.0.5
+ Redhat Advanced Workstation for the Itanium Processor 2.1
+ Redhat Enterprise Linux AS 2.1 IA64
+ Redhat Enterprise Linux AS 2.1
+ Redhat Enterprise Linux ES 2.1 IA64
+ Redhat Enterprise Linux ES 2.1
+ Redhat Enterprise Linux WS 2.1 IA64
+ Redhat Enterprise Linux WS 2.1
+ Redhat Linux 7.2 ia64
+ Redhat Linux 7.2 i386
+ SuSE Linux 7.3 sparc
+ SuSE Linux 7.3 ppc
+ SuSE Linux 7.3
SANE SANE 1.0.4
SANE SANE 1.0.3
+ Redhat Linux 7.1 ia64
+ Redhat Linux 7.1 i386
+ Redhat Linux 7.1 alpha
+ Redhat Linux 7.0 i386
+ Redhat Linux 7.0 alpha
SANE SANE 1.0.2
SANE SANE 1.0.1
SANE SANE 1.0 .0
Not Vulnerable: SANE SANE 1.0.7 -beta2
SANE SANE 1.0.7 -beta1

Discussion

SANE Insecure Temporary File Creation Vulnerability

SANE (Scanner Access Now Easy) is a scanner application programming interface. It will run on most Unix and Linux variants and is often front-ended by xSANE graphical user interface.

SANE creates temporary files in the /tmp directory which have predictable file names. As a result, it is possible for a local user to create a symbolic link to any file that is write-accessible by the user executing SANE, and overwrite the contents of the file.

The impact is that a local attacker may overwrite files, possibly resulting in a loss of critical data, a denial of service or escalation of privileges.

Exploit / POC

SANE Insecure Temporary File Creation Vulnerability

No exploit is required for this vulnerability.

Solution / Fix

SANE Insecure Temporary File Creation Vulnerability

Solution:
This issue has been addressed in SANE 1.0.7-beta1 and later. Additional upgrades are also available.

Conectiva Linux has released an advisory (CLA-2003:769) to address this issue. Please see the referenced advisory for more information.


SANE SANE 1.0 .0

SANE SANE 1.0.1

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

References

SANE Insecure Temporary File Creation Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report