curl 'Content-Disposition' HTTP Header Arbitrary File Overwrite Vulnerability

BID:44086

Info

curl 'Content-Disposition' HTTP Header Arbitrary File Overwrite Vulnerability

Bugtraq ID: 44086
Class: Input Validation Error
CVE: CVE-2010-3842
Remote: Yes
Local: No
Published: Oct 13 2010 12:00AM
Updated: Oct 13 2010 12:00AM
Credit: Dan Fandrich
Vulnerable: Daniel Stenberg curl 7.20
Daniel Stenberg curl 7.20.1
Not Vulnerable: Daniel Stenberg curl 7.20.2

Discussion

curl 'Content-Disposition' HTTP Header Arbitrary File Overwrite Vulnerability

curl is prone to an arbitrary file-overwrite vulnerability because it fails to properly sanitize user-supplied data.

Attackers can overwrite arbitrary files on an unsuspecting user's computer in the context of the vulnerable application. Arbitrary code execution may also be possible.

curl 7.20.0 through 7.21.1 are vulnerable.

Exploit / POC

curl 'Content-Disposition' HTTP Header Arbitrary File Overwrite Vulnerability

Currently we are not aware of any working exploits. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].

Solution / Fix

curl 'Content-Disposition' HTTP Header Arbitrary File Overwrite Vulnerability

Solution:
Updates are available. Please see the references for details.


Daniel Stenberg curl 7.20.1

Daniel Stenberg curl 7.20

References

curl 'Content-Disposition' HTTP Header Arbitrary File Overwrite 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