Davfs2 Insecure Temporary File Creation Vulnerability

BID:11661

Info

Davfs2 Insecure Temporary File Creation Vulnerability

Bugtraq ID: 11661
Class: Design Error
CVE:
Remote: No
Local: Yes
Published: Nov 11 2004 12:00AM
Updated: Nov 11 2004 12:00AM
Credit: Florian Schilhabel from the Gentoo Linux Security Audit Team discovered this vulnerability.
Vulnerable: Gentoo Linux
Davfs Davfs2 0.2.2
Davfs Davfs2 0.2.1
Davfs Davfs2 0.2 .0
Not Vulnerable: Davfs Davfs2 0.2.3

Discussion

Davfs2 Insecure Temporary File Creation Vulnerability

Davfs2 is affected by an insecure temporary file creation vulnerability. This issue is likely due to a design error that causes the application to fail to verify a files existence before writing to it.

An attacker may leverage this issue to overwrite arbitrary files with the privileges of an unsuspecting user that activates the vulnerable application.

Exploit / POC

Davfs2 Insecure Temporary File Creation Vulnerability

An exploit is not required.

Solution / Fix

Davfs2 Insecure Temporary File Creation Vulnerability

Solution:
The vendor has released version 0.2.3 of the affected package to address this issue.

Gentoo Linux has released advisory GLSA 200411-22 to address this issue. Users of affected packages are urged to execute the following commands with superuser privileges:
emerge --sync
emerge --ask --oneshot --verbose ">=net-fs/davfs2-0.2.2-r1"
Please see the referenced advisory for further information.


Davfs Davfs2 0.2 .0

Davfs Davfs2 0.2.1

Davfs Davfs2 0.2.2

References

Davfs2 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