||Home : Advisories : LPRng contains potential root compromise|
||LPRng contains potential root compromise
||13th October 2000
-----BEGIN PGP SIGNED MESSAGE-----
FreeBSD-SA-00:56 Security Advisory
Topic: LPRng contains potential root compromise
Credits: Chris Evans
Affects: Ports collection prior to the correction date.
Vendor status: Updated version released
FreeBSD only: NO
LPRng is a popular printer daemon.
II. Problem Description
The LPRng port, versions prior to 3.6.24, contains a potential
vulnerability which may allow root compromise from both local and
remote systems. The vulnerability is due to incorrect usage of the
syslog(3) function. Local and remote users can send string-formatting
operators to the printer daemon to corrupt the daemon's execution,
potentially gaining root access.
The LPRng port is not installed by default, nor is it "part of
FreeBSD" as such: it is part of the FreeBSD ports collection, which
contains nearly 4000 third-party applications in a ready-to-install
format. The ports collections shipped with FreeBSD 3.5.1, 4.1 and
4.1.1 contain this problem since it was discovered after the releases.
FreeBSD makes no claim about the security of these third-party
applications, although an effort is underway to provide a security
audit of the most security-critical ports.
Local and remote users may potentially gain root privileges on systems
If you have not chosen to install the LPRng port/package, then your
system is not vulnerable to this problem.
Deinstall the LPRng port/package, if you you have installed it.
One of the following:
1) Upgrade your entire ports collection and rebuild the LPRng port.
2) Deinstall the old package and install a new package dated after the
correction date, obtained from:
NOTE: It may be several days before updated packages are available.
3) download a new port skeleton for the cvsweb port from:
and use it to rebuild the port.
4) Use the portcheckout utility to automate option (3) above. The
portcheckout port is available in /usr/ports/devel/portcheckout or the
package can be obtained from:
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----