Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 18 Aug 2017 15:24:50 +0200
From: Marcus Meissner <>
Subject: Re: ***UNCHECKED*** UnRAR: directory traversal +
 memory safety bugs

On Tue, Aug 15, 2017 at 12:39:48AM +0200, Jakub Wilk wrote:
> (I'm not sure UnRAR bugs are on-topic here. UnRAR is not free software, even
> though the source is available. But the last time UnRAR was discussed nobody
> objected, so hey, let me try too.)
> I found directory traversal and a few memory safety bugs in UnRAR 5.5.6.
> These bugs have been fixed in UnRAR 5.5.7.
> The memory safety bugs were found using American Fuzzy Lop.
> Here are details of the bugs:
> * Directory traversal
> The PoC (traversal.rar) contains two symlinks and a regular file:
>   cur -> .
>   cur/par -> ..
>   par/moo
> This setup defeats UnRAR's directory traversal protections:
>   $ ls ../moo
>   /bin/ls: cannot access '../moo': No such file or directory
>   $ unrar x traversal.rar
>   ...
>   Extracting  cur                                                       OK
>   Extracting  cur/par                                                   OK
>   Extracting  par/moo                                                   OK
>   All OK
>   $ ls ../moo
>   ../moo
> The code that was used to generate the PoC is available here:

The directory traversal has been assigned CVE-2017-12938.

(My request just yielded this 1 CVE, i replied requesting also for the other issues.)

Ciao, Marcus

Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.