Bug 757181 - (CVE-2011-4350) CVE-2011-4350 yaws: Directory traversal flaw
CVE-2011-4350 yaws: Directory traversal flaw
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20111124,repor...
: Security
Depends On: 757183 757184
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-25 12:36 EST by Jan Lieskovsky
Modified: 2012-04-02 21:03 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Jan Lieskovsky 2011-11-25 12:36:21 EST
A directory traversal flaw was found in the way yaws, web server for dynamic content written in Erlang, processed certain URLs. A remote, authenticated yaws user could use this flaw to obtain content of arbitrary local file, available to the yaws server user via specially-crafted URL request.

References:
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650009
[2] https://github.com/klacke/yaws/issues/69
Comment 1 Jan Lieskovsky 2011-11-25 12:42:11 EST
Public PoC from [1]:
====================

curl 'http://localhost:8080/..\\..\\..\\..\\/etc/passwd'

I am not sure, versions of yaws, as shipped in Fedora release of 14, 15, and 16, and as shipped with Fedora EPEL 6, are affected by this issue. Have tried above PoC (and couple of its combinations), but was unsuccessful to reproduce the issue (even with 'auth' disabled).
Comment 2 Jan Lieskovsky 2011-11-25 12:42:46 EST
CVE request:
[3] http://www.openwall.com/lists/oss-security/2011/11/25/5
Comment 3 Jan Lieskovsky 2011-11-25 12:43:46 EST
Created yaws tracking bugs for this issue

Affects: fedora-all [bug 757183]
Affects: epel-6 [bug 757184]
Comment 4 Peter Lemenkov 2011-11-25 14:30:04 EST
I'll take a closer look tomorrow on this issue.
Comment 5 Kurt Seifried 2011-11-25 15:36:24 EST
We don't appear to have fixed CVE-2010-4181 (similar issue, directory traversal)?
Comment 6 Vincent Danen 2011-11-28 13:29:56 EST
This was assigned CVE-2011-4350:

http://www.openwall.com/lists/oss-security/2011/11/25/7

Note You need to log in before you can comment on or make changes to this bug.