Technical article 126335

What is SCOSA-2006.7.1, concerning "REVISED Lynx Multiple Vulnerabilities"?

OpenServer 6.0.0OpenServer 5.0.7

Written

Problem

         SOLUTION:
______________________________________________________________________________
SCO Security Advisory
Subject:                OpenServer 5.0.7 OpenServer 6.0.0 : REVISED Lynx
                        Multiple Vulnerabilities
Advisory number:        SCOSA-2006.7.1
Issue date:             2006 January 13
Cross reference:        SCOSA-2006.7
                        fz533159 fz533314
                        CVE-2005-2929 CVE-2005-3120
______________________________________________________________________________
1. Revision Note
This is a revision of the SCOSA-2006.7 security advisory.
The -justify option was mistakenly dropped.  This option is now
reinstated.  Additionally lynx has been updated to version
2.8.5dev.8.
2. Problem Description
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.

3. Vulnerable Supported Versions
System                          Binaries
----------------------------------------------------------------------
OpenServer 5.0.7                /usr/bin/lynx
OpenServer 6.0.0                /usr/bin/lynx
4. Solution

The proper solution is to install the latest packages.

5. OpenServer 5.0.7
5.1 Location of Fixed Binaries
https://ftp.scoexpert.com/updates/OpenServer/SCOSA-2006.7.1
5.2 Verification
MD5 (p533159.507_vol.tar) = 6be99937d460b7efc822a7c3d59b7ecb
md5 is available for download from
        https://ftp.scoexpert.com/security/tools
5.3 Installing Fixed Binaries

Upgrade 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.tar

3) Run the custom command, specify an install from media images, and specify the directory as the location of the images.

6. OpenServer 6.0.0
6.1 Location of Fixed Binaries
https://ftp.scoexpert.com/updates/OpenServer/SCOSA-2006.7.1
6.2 Verification
MD5 (p533159.600_vol.tar) = 8a93a2fd7458aa8ad23e6695845a9441
md5 is available for download from
        https://ftp.scoexpert.com/security/tools
6.3 Installing Fixed Binaries

Upgrade 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.tar

3) Run the custom command, specify an install from media images, and specify the directory as the location of the images.

7. References
Specific 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.html
SCO security advisories via email
        http://www.sco.com/support/forums/security.html

This security fix closes SCO incidents fz533159 fz533314.

8. Disclaimer

SCO 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.

9. Acknowledgments

SCO would like to thank Ulf Harnhammar for reporting the NNTP buffer overflow vulnerability.

______________________________________________________________________________

From the Xinuos technical article database, record 126335. Reproduced with permission. The original is at www.sco.com/ta/126335, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.