dcsimg
Linux Today: Linux News On Internet Time.




More on LinuxToday


Caldera Systems Security Advisory: rpm_query allows everyone to list installed rpms

Mar 22, 2000, 23:23 (0 Talkback[s])

Caldera Systems, Inc. Security Advisory

Subject:                rpm_query allows everyone to list installed rpms
Advisory number:        CSSA-2000-007.1
Issue date:             2000 March, 8
Last change:            2000 March, 14
Cross reference:

1. Problem Description

The OpenLinux package contains a CGI script called rpm_query that allows a user to obtain a list of all RPM packages installed on that machine, provided the Apache Web server is running.

This could be used by an intruder to determine what part of the system to attack.

2. Vulnerable Versions

   System                       Package
   -----------------------------------------------------------
   OpenLinux Desktop 2.3        All packages previous to
                                OpenLinux-2.3-17

   OpenLinux eServer 2.3        All packages previous to
                                OpenLinux-2.3-24S
3. Solution

Workaround:

Remove the script by executing:

rm -f /home/httpd/cgi-bin/rpm_query
The proper solution is to upgrade to the latest packages

4. OpenLinux Desktop 2.3

4.1 Location of Fixed Packages

The upgrade packages can be found on Caldera's FTP site at:

ftp://ftp.calderasystems.com/pub/openlinux/updates/2.3/current/RPMS

The corresponding source code package can be found at:

ftp://ftp.calderaystems.com/pub/openlinux/updates/2.3/current/SRPMS

4.2 Verification

       22b659a2fa09f8fdc706bd4819fe3da9  RPMS/OpenLinux-2.3-17.i386.rpm
       f7395be49db3a4f1cbde7d3588aaa3df  SRPMS/OpenLinux-2.3-17.src.rpm
4.3 Installing Fixed Packages

Upgrade the affected packages with the following commands:

rpm -F OpenLinux-2.3-17.i386.rpm
5. OpenLinux eServer 2.3

5.1 Location of Fixed Packages

The upgrade packages can be found on Caldera's FTP site at:

ftp://ftp.calderasystems.com/pub/eServer/updates/2.3/current/RPMS

The corresponding source code package can be found at:

ftp://ftp.calderaystems.com/pub/eServer/updates/2.3/current/SRPMS

5.2 Verification

       81c4532a3001aadf6342828f0b4e2a9a  RPMS/OpenLinux-2.3-24S.i386.rpm
       1e9984e645d188bdb1a86d66f6fb578f  SRPMS/OpenLinux-2.3-24S.src.rpm
5.3 Installing Fixed Packages

Upgrade the affected packages with the following commands:

rpm -F OpenLinux-2.3-24S.i386.rpm
6. References

This and other Caldera security resources are located at:

http://www.calderasystems.com/support/security/index.html

This security fix closes Caldera's internal Problem Report 5918

7. Disclaimer

Caldera Systems, Inc. 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 Caldera OpenLinux.