Problem
Lynx NNTP Buffer Overflow Vulnerability:Ulf Harnhammar has reported a vulnerability in Lynx, which can be exploited by malicious people to compromise a user's system.
The vulnerability is caused due to a boundary error in the "HTrjis()" function in the handling of article headers sent from NNTP (Network News Transfer Protocol) servers. This can be exploited to cause a stack-based buffer overflow by e.g. tricking a user into visiting a malicious web site which redirects to a malicious NNTP server via the "nntp:" URI handler.
Successful exploitation allows execution of arbitrary code.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-3120 to this issue.
Lynx Command Injection Vulnerability: Remote exploitation of a command injection vulnerability could
allow attackers to execute arbitrary commands with the
privileges of the underlying user.The problem specifically exists within the feature to execute local cgi-bin programs via the "lynxcgi:" URI handler. The handler is generally intended to be restricted to a specific directory or program(s). However, due to a configuration error on multiple platforms, the default settings allow for arbitrary websites to specify commands to run as the user running Lynx.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-2929 to this issue.
Solution
______________________________________________________________________________SCO Security AdvisorySubject: OpenServer 5.0.7 OpenServer 6.0.0 : Lynx Multiple
Vulnerabilities
Advisory number: SCOSA-2006.7
Issue date: 2006 January 10
Cross reference: fz533159 fz533314
CVE-2005-2929 CVE-2005-3120
______________________________________________________________________________1. Problem DescriptionLynx NNTP Buffer Overflow Vulnerability:Ulf Harnhammar has reported a vulnerability in Lynx, which can be exploited by malicious people to compromise a user's system.
The vulnerability is caused due to a boundary error in the "HTrjis()" function in the handling of article headers sent from NNTP (Network News Transfer Protocol) servers. This can be exploited to cause a stack-based buffer overflow by e.g. tricking a user into visiting a malicious web site which redirects to a malicious NNTP server via the "nntp:" URI handler.
Successful exploitation allows execution of arbitrary code.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-3120 to this issue.
Lynx Command Injection Vulnerability:Remote exploitation of a command injection vulnerability could
allow attackers to execute arbitrary commands with the
privileges of the underlying user.The problem specifically exists within the feature to execute local cgi-bin programs via the "lynxcgi:" URI handler. The handler is generally intended to be restricted to a specific directory or program(s). However, due to a configuration error on multiple platforms, the default settings allow for arbitrary websites to specify commands to run as the user running Lynx.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-2929 to this issue.
2. Vulnerable Supported VersionsSystem Binaries
----------------------------------------------------------------------
OpenServer 5.0.7 /usr/bin/lynx
OpenServer 6.0.0 /usr/bin/lynx3. SolutionThe proper solution is to install the latest packages.
4. OpenServer 5.0.74.1 Location of Fixed Binarieshttps://ftp.scoexpert.com/updates/OpenServer/SCOSA-2006.74.2 VerificationMD5 (p533159.507_vol.tar) = f86e8cb4941d567eedfd0ce761f890b3md5 is available for download from
https://ftp.scoexpert.com/security/tools4.3 Installing Fixed BinariesUpgrade the affected binaries with the following sequence:
1) Download p533159.507_vol.tar file to a directory.
2) Extract VOL* files.# tar xvf p533159.507_vol.tar3) Run the custom command, specify an install from media images, and specify the directory as the location of the images.
5. OpenServer 6.0.05.1 Location of Fixed Binarieshttps://ftp.scoexpert.com/updates/OpenServer/SCOSA-2006.75.2 VerificationMD5 (p533159.600_vol.tar) = 8819b849a7463563a50e9575beb15755md5 is available for download from
https://ftp.scoexpert.com/security/tools5.3 Installing Fixed BinariesUpgrade the affected binaries with the following sequence:
1) Download p533159.600_vol.tar file to a directory.
2) Extract VOL* files.# tar xvf p533159.600_vol.tar3) Run the custom command, specify an install from media images, and specify the directory as the location of the images.
6. ReferencesSpecific references for this advisory: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-2929 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-3120 http://lists.grok.org.uk/pipermail/full-disclosure/2005-October/038019.html http://secunia.com/advisories/17216 http://securitytracker.com/id?1015065 http://securitytracker.com/id?1015195 http://www.idefense.com/application/poi/display?id=338&type=vulnerabilities [SecurityFocus — site closed]
SCO security resources:
http://www.sco.com/support/security/index.htmlSCO security advisories via email
http://www.sco.com/support/forums/security.htmlThis security fix closes SCO incidents fz533159 fz533314.
7. DisclaimerSCO is not responsible for the misuse of any of the information we provide on this website and/or through our security advisories. Our advisories are a service to our customers intended to promote secure installation and use of SCO products.
8. AcknowledgmentsSCO would like to thank Ulf Harnhammar for reporting the NNTP buffer overflow vulnerability.
______________________________________________________________________________