Lynx CRLF injection could be used to send faked HTTP headers
| lynx-crlf-injection (9887) |
Description:
Lynx is a popular text-based Web browser for Unix systems. Lynx fails to remove special character combinations from URL requests. A remote attacker could add CRLF (Carriage Return - Line Feed) combinations to a URL request entered in the Lynx command-line or in the WWW_HOME environment variable to cause faked HTTP headers to be sent. This could result in files that use Lynx for file downloads to be redirected to the wrong Web server.
Consequences:
Bypass Security
Remedy:
Apply the lynx2.8.4rel.1c patch, as listed in VulnWatch Mailing List, Sun Aug 18 2002 - 19:17:04 CDT. See References.
For Caldera OpenLinux 3.1 and 3.1.1 (Workstation and Server):
Upgrade to the latest lynx package (2.8.4-1 or later), as listed in the SCO Security Advisory CSSA-2002-049.0. See References.
For Debian GNU/Linux:
Upgrade to the latest lynx or lynx-ssl package, as listed below. Refer to DSA-210-1 for more information. See References.
lynx:
Debian GNU/Linux 2.2 (potato): 2.8.3-1.1 or later
Debian GNU/Linux 3.0 (woody): 2.8.4.1b-3.2 or later
lynx-ssl:
Debian GNU/Linux 2.2 (potato): 2.8.3.1-1.1 or later
Debian GNU/Linux 3.0 (woody): 2.8.4.1b-3.1 or later
For Red Hat Linux:
Upgrade to the latest lynx package, as listed below. Refer to RHSA-2003:029-08 for more information. See References.
Red Hat 6.2: lynx-2.8.3-2.1 or later
Red Hat 7.0 and 7.1 for iSeries and pSeries: lynx-2.8.4-9.1 or later
Red Hat 7.2 and 7.3: lynx-2.8.4-18.1 or laterM
Red Hat 8.0: lynx-2.8.5-7.1 or later
For OpenPKG:
Upgrade to the latest lynx package as listed below. Refer to OpenPKG Security Advisory OpenPKG-SA-2003.011 for more information. See References.
OpenPKG CURRENT: 2.8.4-20021216 or later
OpenPKG 1.2: 2.8.4-1.2.0 or later
OpenPKG 1.1: 2.8.4-1.1.1 or later
For Mandrake Linux 7.2, 8.0, 8.1, 8.2, 9.0, Multi Network Firewall 8.2, and Single Network Firewall 7.2:
Upgrade to the latest lynx package (2.8.5-0.10mdk or later) as listed in MandrakeSoft Security Advisory MDKSA-2003:023:lynx. See References.
For Conectiva Linux:
Upgrade to the latest lynx package, as listed below. Refer to Conectiva Linux Security Announcement CLSA-2003:720 for more information. See References.
Conectiva Linux 7.0: 2.8.4-1U70_1cl or later
Conectiva Linux 8: 2.8.4-4U80_1cl or later
For Sun Linux 5.0:
Apply the appropriate patch for your system. Refer to Sun Alert ID: 55940 for more information. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
References:
- BugTraq Mailing List, Thu Aug 22 2002 - 12:32:59 CDT: Lynx CRLF Injection, part two.
- Conectiva Linux Security Announcement CLSA-2003:720: lynx.
- Lynx Web site: Lynx Information.
- SCO Security Advisory CSSA-2002-049.0: Linux: lynx CRLF injection vulnerability.
- Sun Alert ID: 55940: Sun Linux 5.0 CRLF Injection Vulnerability in Lynx 2.8.4 and Earlier.
- VulnWatch Mailing List, Sun Aug 18 2002 - 19:17:04 CDT : Lynx CRLF Injection . (From Neohapsis archive)
- BID-5499: Lynx Command Line URL CRLF Injection Vulnerability
- BID-550: Allaire ColdFusion Undocumented CFML Tags Vulnerability
- CVE-2002-1405: CRLF injection vulnerability in Lynx 2.8.4 and earlier allows remote attackers to inject false HTTP headers into an HTTP request that is provided on the command line, via a URL containing encoded carriage return, line feed, and other whitespace characters.
- DSA-210: lynx -- CRLF injection
- MDKSA-2003:023: Updated lynx packages fix CRLF injection vulnerability
- OpenPKG-SA-2003.011: Lynx
- RHSA-2003-029: Updated lynx packages fix CRLF injection vulnerability
- RHSA-2003-030: lynx security update
Platforms Affected:
- Conectiva Linux 7.0
- Conectiva Linux 8.0
- Debian Debian Linux 2.2
- Debian Debian Linux 3.0
- Lynx Lynx 2.8.2rel.1
- Lynx Lynx 2.8.3rel.1
- Lynx Lynx 2.8.4rel.1
- Lynx Lynx 2.8.5dev.5
- MandrakeSoft Mandrake Linux 7.2
- MandrakeSoft Mandrake Linux 8.0 PPC
- MandrakeSoft Mandrake Linux 8.0
- MandrakeSoft Mandrake Linux 8.1 IA64
- MandrakeSoft Mandrake Linux 8.1
- MandrakeSoft Mandrake Linux 8.2
- MandrakeSoft Mandrake Linux 8.2 PPC
- MandrakeSoft Mandrake Linux 9.0
- MandrakeSoft Mandrake Multi Network Firewall 8.2
- MandrakeSoft Mandrake Single Network Firewall 7.2
- OpenPKG OpenPKG 1.1
- OpenPKG OpenPKG 1.2
- OpenPKG OpenPKG CURRENT
- RedHat Enterprise Linux 2.1 AS
- RedHat Linux 6.2
- RedHat Linux 7
- RedHat Linux 7.1
- RedHat Linux 7.1 for iSeries
- RedHat Linux 7.1 for pSeries
- RedHat Linux 7.2
- RedHat Linux 7.3
- RedHat Linux 8.0
- RedHat Linux Advanced Workstation 2.1 Itanium
- SCO Caldera OpenLinux Server 3.1
- SCO Caldera OpenLinux Server 3.1.1
- SCO Caldera OpenLinux Workstation 3.1
- SCO Caldera OpenLinux Workstation 3.1.1
- Sun Linux 5.0
Reported:
Aug 18, 2002
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
