W3Mail File Disclosure Vulnerability

BID:6170

Info

W3Mail File Disclosure Vulnerability

Bugtraq ID: 6170
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Nov 12 2002 12:00AM
Updated: Nov 12 2002 12:00AM
Credit: Discovered by Tim Brown <[email protected]>.
Vulnerable: CascadeSoft W3Mail 1.0.6
Not Vulnerable:

Discussion

W3Mail File Disclosure Vulnerability

Versions of W3Mail 1.0.6 and greater are susceptible to a file disclosure vulnerability. To view attachments, the script "viewAttachment.cgi" accepts the parameter "file". The value of this parameter is passed to the open() function as the filename argument without being sanitized. Attackers may cause any file on the filesystem to open by specifying its relative path using directory traversal characters.

Exploit / POC

W3Mail File Disclosure Vulnerability

There is no exploit code required. The attacker need only issue a request with the target path, for example:

viewAttachment.cgi?file=../../../../../etc/passwd

References

W3Mail File Disclosure 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