Security
The Honeynet report on Linux life expectancy
Numerous electrons have been expended on the recently-released Honeynet report (PDF) on the life expectancy of systems exposed to the Internet. That report concluded that an unpatched Linux system would last, on the average, for about three months before being compromised, while a Windows system had a life expectancy measured in hours. That is an outcome which is certainly welcome to those who are concerned about the security of Linux systems.If you actually read the report, however, you'll find some interesting things. The test, it would seem, was set up in a way designed to make the Linux systems as easy as possible to compromise. Among other things:
- The Linux distributions installed were old: Red Hat Linux 7.2, SUSE
Linux 6.3, etc. The most current distribution installed was Fedora
Core 1, put on two boxes (neither of which was compromised)..
- These systems had a number of services installed; some of those
(i.e. SMB) are not necessarily something one would enable on systems
directly connected to the net.
- The systems were set up with easily guessed passwords as well.
Of the four Linux systems which were compromised, two of them fell to brute-force password guessing. This episode may be a good lesson in why choosing good passwords is still important, but it has nothing to do with Linux security.
The report authors note that the expected lifetime of Linux systems has increased - an interesting development, given that the net has not exactly become a friendlier place. The authors guess, as usual, that the relative popularity of Windows makes it a more attractive target. They also note, however, that default Linux installations have become more secure over time. Certainly much effort has gone toward that end; it is nice to see that it is having an effect.
New vulnerabilities
debmake: insecure temp directories
| Package(s): | debmake | CVE #(s): | CAN-2004-1179 | ||||
| Created: | December 23, 2004 | Updated: | January 5, 2005 | ||||
| Description: | debmake contains a script that can make insecure temporary directories. This can be used by a symlink attack to create and overwrite arbitrary files. | ||||||
| Alerts: |
| ||||||
htmlheadline: insecure temporary files
| Package(s): | htmlheadline | CVE #(s): | CAN-2004-1181 | ||||
| Created: | January 3, 2005 | Updated: | January 5, 2005 | ||||
| Description: | Javier Fernández-Sanguino Peña has discovered multiple insecure uses of temporary files that could lead to overwriting arbitrary files via a symlink attack. | ||||||
| Alerts: |
| ||||||
kdelibs: unwanted email origination
| Package(s): | kdelibs | CVE #(s): | |||||
| Created: | January 5, 2005 | Updated: | January 5, 2005 | ||||
| Description: | The Konqueror browser (via kdelibs) contains a vulnerability which can cause it to send email without the user's interaction or consent. See this bug report for details. | ||||||
| Alerts: |
| ||||||
kernel: 32bit emulation privilege escalation
| Package(s): | kernel | CVE #(s): | CAN-2004-1144 | ||||||||
| Created: | December 23, 2004 | Updated: | January 5, 2005 | ||||||||
| Description: | The 2.4 Linux Kernel on the AMD64 platform has a missing argument checking vulnerability that can allow a local attacker to gain root privileges. | ||||||||||
| Alerts: |
| ||||||||||
LinPopUp: buffer overflow in message reply
| Package(s): | linpopup | CVE #(s): | CAN-2004-1282 | ||||||||
| Created: | January 4, 2005 | Updated: | January 10, 2005 | ||||||||
| Description: | Stephen Dranger discovered that LinPopUp contains a buffer overflow in string.c, triggered when replying to a remote user message. A remote attacker could craft a malicious message that, when replied to using LinPopUp, would exploit the buffer overflow. This would result in the execution of arbitrary code with the privileges of the user running LinPopUp. | ||||||||||
| Alerts: |
| ||||||||||
netkit-telnet-ssl: format string vulnerability
| Package(s): | netkit-telnet-ssl | CVE #(s): | CAN-2004-0998 | ||||
| Created: | December 23, 2004 | Updated: | January 5, 2005 | ||||
| Description: | telnetd-ssl has a format string vulnerability that may be exploitable for executing arbitrary code. | ||||||
| Alerts: |
| ||||||
pcal: buffer overflows
| Package(s): | pcal | CVE #(s): | CAN-2004-1289 | ||||
| Created: | January 5, 2005 | Updated: | January 5, 2005 | ||||
| Description: | Two buffer overflows have been found in the pcal utility; they could be exploited by a hostile calendar file to execute arbitrary code. | ||||||
| Alerts: |
| ||||||
PHProjekt: PHP code execution
| Package(s): | phprojekt | CVE #(s): | |||||
| Created: | January 5, 2005 | Updated: | January 5, 2005 | ||||
| Description: | PHProject, prior to version 4.2-r2, has a vulnerability wherein a remote attacker can define a global variable and execute arbitrary PHP code. | ||||||
| Alerts: |
| ||||||
shoutcast server: buffer overflow
| Package(s): | shoutcast-server | CVE #(s): | |||||
| Created: | January 5, 2005 | Updated: | January 5, 2005 | ||||
| Description: | The shoutcast server contains a remotely exploitable buffer overflow vulnerability; upgrading to version 1.9.5 fixes the problem. | ||||||
| Alerts: |
| ||||||
tetex: insecure temp files
| Package(s): | tetex | CVE #(s): | |||||
| Created: | December 23, 2004 | Updated: | January 5, 2005 | ||||
| Description: | The xdvizilla script can create insecure temporary files and directories, allowing a symbolic link attack that can overwrite arbitrary files. | ||||||
| Alerts: |
| ||||||
xpdf: buffer overflow
| Package(s): | xpdf | CVE #(s): | CAN-2004-1125 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Created: | December 23, 2004 | Updated: | April 1, 2005 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description: | xpdf has a potential buffer overflow problem caused by insufficient input validation. A specially crafted PDF file can allow an attacker to execute code with privileges of the xpdf user. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Alerts: |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Resources
Secure programmer: Call components safely (IBM developerWorks)
David A. Wheeler's latest article in the "Secure Programmer" series looks at how to call components from an application in a secure way, on IBM developerWorks. "Application programs typically make calls to other components, such as the underlying operating system, database systems, reusable libraries, Internet services (like DNS), Web services, and so on. This article explains how to prevent attackers from exploiting those calls to other components by discussing the use of only secure components, passing only valid data, making sure the data will be correctly interpreted, checking return values and exceptions, and protecting data as it flows between applications and components."
Page editor: Jonathan Corbet
Next page:
Kernel development>>
