cbrPager: User-assisted execution of arbitrary code — GLSA 200806-05

Insecure filename usage in cbrPager may allow for the remote execution of arbitrary code.

Affected packages

app-misc/cbrpager on all architectures
Affected versions < 0.9.17
Unaffected versions >= 0.9.17

Background

cbrPager is a comic book pager.

Description

Mamoru Tasaka discovered that filenames of the image archives are not properly sanitized before being passed to decompression utilities like unrar and unzip, which use the system() libc library call.

Impact

A remote attacker could entice a user to open an archive with a specially crafted filename, resulting in arbitrary code execution with the privileges of the user running the application.

Workaround

There is no known workaround at this time.

Resolution

All cbrPager users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=app-misc/cbrpager-0.9.17"

References

Release date
June 16, 2008

Latest revision
June 16, 2008: 01

Severity
normal

Exploitable
remote

Bugzilla entries