LPRng use_syslog() Remote Format String Arbitrary Command Execution

This script is Copyright (C) 2000-2014 Tenable Network Security, Inc.


Synopsis :

The remote print service is affected by format string vulnerabilities.

Description :

LPRng seems to be running on this port.

Versions of LPRng prior to 3.6.24 are missing format string arguments
in at least two calls to 'syslog()' that handle user-supplied input.

Using specially crafted input with format strings, an unauthenticated,
remote attacker may be able to leverage these issues to execute
arbitrary code subject to the privileges under which the service
operates, typically 'root'.

Note that Nessus has not determined that the remote installation of
LPRng is vulnerable, only that it is listening on this port.

See also :

http://archives.neohapsis.com/archives/bugtraq/2000-09/0293.html

Solution :

Upgrade, if necessary, to LPRng version 3.6.25.

Risk factor :

Critical / CVSS Base Score : 10.0
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 8.3
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: Gain a shell remotely

Nessus Plugin ID: 10522 (LPRng.nasl)

Bugtraq ID: 1712

CVE ID: CVE-2000-0917