Red Hat Bugzilla – Bug 235412
CVE-2007-2027 elinks tries to load .po files from a non-absolute path
Last modified: 2007-11-30 17:12:01 EST
+++ This bug was initially created as a clone of Bug #235411 +++
Description of problem:
Arnaud Giersch discovered that the following chunk of code from
src/intl/gettext/loadmsgcat.c:add_filename_to_string() causes elinks
to read .po files fro man untrusted location.
215 if ((dirnamelen && !add_bytes_to_string(str, program.path, dirnamelen))
216 || !add_to_string(str, "../po/")
217 || !add_bytes_to_string(str,
An untrusted message catalog might lead to a format-string attack when an
attacker tricks user into launching links from a particular directory.
Version-Release number of selected component (if applicable):
Doesn't Affect: RHEL3
It is questionable who would launch elinks from a directory controlled
by someone else and thus whether this is exploitable in real world.
Fixed. Update to elinks-0.11.1-5.2.