Bug 235411 (CVE-2007-2027)
| Summary: | CVE-2007-2027 elinks tries to load .po files from a non-absolute path | ||
|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | Lubomir Kundrak <lkundrak> |
| Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | unspecified | CC: | kreilly, mfabry, ovasik, stefan.cornelius |
| Target Milestone: | --- | Keywords: | Reopened, Security |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417789 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-10-01 18:16:42 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 525695, 525696, 525697, 525698, 833894 | ||
| Bug Blocks: | 235412 | ||
Upstream patches: http://pasky.or.cz/gitweb.cgi?p=elinks.git;a=commit;h=110c564af3c12f40743b7e1adcfd3a034d73b601 http://pasky.or.cz/gitweb.cgi?p=elinks.git;a=commit;h=928f364ba2803f98d71775dc03b694d6403c0754 These patches were questioned in the debian bug, however it seems like doubts were unreasonable. FC6 update: elinks-0.11.1-5.2 Closing...already fixed quiet long time ago... as CURRENT_RELEASE elinks-0.11.1-5.2 Re-open to get the fixes to RHEL4/5 too. This issue has been addressed in following products: Red Hat Enterprise Linux 4 Red Hat Enterprise Linux 5 Via RHSA-2009:1471 https://rhn.redhat.com/errata/RHSA-2009-1471.html |
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 Affects: RHEL4 Affects: RHEL5 Affects: FC5 Affects: FC6 Additional info: It is questionable who would launch elinks from a directory controlled by someone else and thus whether this is exploitable in real world.