Posts Tagged ‘Red Hat’
Tuesday, May 20, 2014 @ 05:05 AM gHale
There is a flaw in the Linux kernel that could let a local user crash or run programs as an administrator.
Administrators running Ubuntu, some Red Hat systems, Debian, among others are moving to patch a moderately serious memory corruption flaw affecting the n_tty_write function in the Linux kernel up to 3.14.3.
The “n_tty_write function in drivers/tty/n_tty.c in the Linux kernel through 3.14.3 does not properly manage tty driver access in the “LECHO & !OPOST” case, which allows local users to cause a denial of service (memory corruption and system crash) or gain privileges by triggering a race condition involving read and write operations with long strings,” according to the US CERT release for CVE-2014-0196.
In UNIX/Linux parlance, TTY, derived from Teletype, refers to the command line interface terminal.
The race condition occurs in a feature introduced in 2009 that changed how “pty” — a pseudo tty — handled write buffering, one security researcher said.
“When two processes/threads write to the same pty, the buffer end could be overwritten and so memory corruption into adjacent buffers could lead to crashes / code execution,” the researcher said.
Only a local user can exploit the bug, however, the condition still may pose a risk for affected systems in shared server environments.
Red Hat is working on corrected kernel packages for Red Hat Enterprise Linux (RHEL) 6 and Red Hat Enterprise MRG 2 but has said that RHEL 5 is not affected. Debian has its available fixes and Ubuntu released details about its patches.
Wednesday, March 5, 2014 @ 03:03 PM gHale
A cryptographic bug similar to the one in iOS and OS X is in the GnuTLS code library, widely used in open source software and Linux distributions.
“The GnuTLS library provides support for cryptographic algorithms and for protocols such as Transport Layer Security (TLS). It was discovered that GnuTLS did not correctly handle certain errors that could occur during the verification of an X.509 certificate, causing it to incorrectly report a successful verification,” the Red Hat security team explained in a security advisory. “An attacker could use this flaw to create a specially crafted certificate that could be accepted by GnuTLS as valid for a site chosen by the attacker (CVE-2014-0092).”
The flaw first came to light by Nikos Mavrogiannopoulos of the Red Hat Security Technologies Team during an audit of GnuTLS for Red Hat.
They found another bug in the way GnuTLS handled version 1 X.509 certificates, which could allow an attacker able to obtain such a certificate from a trusted CA to issue certificates for other sites accepted by GnuTLS as valid (CVE-2009-5138).
They patched the vulnerabilities and GnuTLS users should upgrade to the updated packages and to restart all applications linked to the GnuTLS library in order for the change to take effect.
Other projects have moved to fix the bug in this library, including Debian and Ubuntu, but hundreds of more applications and operating systems using it are yet to do so.
GnuTLS developers have also provided a new version of the library that fixes the issue and, as an alternative to it, a patch that temporarily mitigates it.
The flaw is pretty serious, as it could allow attackers to impersonate any web site and intercept and decode all the encrypted traffic that goes from end user to server and back.
Monday, November 25, 2013 @ 02:11 PM gHale
There is a vulnerability that compromises JBoss Java EE application servers that exposes the HTTP Invoker service to the Internet, researchers said.
In October, security researcher Andrea Micalizzi released an exploit for a vulnerability in products from multiple vendors including Hewlett-Packard, McAfee, Symantec and IBM that use 4.x and 5.x versions of JBoss. That vulnerability, CVE-2013-4810, allows unauthenticated attackers to install an arbitrary application on JBoss deployments that expose the EJBInvokerServlet or JMXInvokerServlet. Attackers are actively exploiting the vulnerability.
Micalizzi’s exploit installs a Web shell application called pwn.jsp that can execute shell commands on the operating system via HTTP requests. The commands end up executed with the privileges of the OS user running JBoss, which in the case of some JBoss deployments can be a high privileged, administrative user.
Researchers from security firm Imperva found an increase in attacks against JBoss servers that used Micalizzi’s exploit to install the original pwn.jsp shell, but also a more complex Web shell called JspSpy.
Over 200 sites running on JBoss servers, including some that belong to governments and universities ended up hacked and infected with these Web shell applications, said Barry Shteiman, director of security strategy at Imperva.
The problem is actually bigger because the vulnerability described by Micalizzi stems from insecure default configurations that leave JBoss management interfaces and invokers exposed to unauthenticated attacks.
Shteiman said the number of JBoss servers with management interfaces exposed to the Internet has more than tripled since 2011, reaching over 23,000.
One reason for this increase is probably that people have not fully understood the risks associated with this issue and continue to deploy insecure JBoss installations, Shteiman said. Also, some vendors ship products with insecure JBoss configurations, like the products vulnerable to Micalizzi’s exploit, he said.
Red Hat developed JBoss, but they just renamed it WildFly. Its latest stable version is 7.1.1, but Shteiman said quite a few organizations still use JBoss 4.x and 5.x for compatibility reasons as they need to run old applications developed for those versions.
Those organizations should follow the instructions for securing their JBoss installations that are available on the JBoss Community website, he said.
The Red Hat Security Response Team said while CVE-2013-4810 refers to the exposure of unauthenticated JMXInvokerServlet and EJBInvokerServlet interfaces on HP ProCurve Manager, “These servlets are also exposed without authentication by default on older unsupported community releases of JBoss AS (WildFly) 4.x and 5.x. All supported Red Hat JBoss products that include the JMXInvokerServlet and EJBInvokerServlet interfaces apply authentication by default, and are not affected by this issue. Newer community releases of JBoss AS (WildFly) 7.x are also not affected by this issue.”
Thursday, May 30, 2013 @ 04:05 PM gHale
A security hole that allows attackers to take control of the server is in Apache.
The vulnerability is in the do_rewritelog() log function of mod_rewrite.
This function insufficiently filters the data written to the log file. Attackers can potentially use specially crafted HTTP requests to inject escape sequences into the log file, which could possibly cause the server to execute commands without the administrator’s authorization when the log file ends up displayed in the terminal.
The 2.2.x versions of Apache are vulnerable, but other branches may also have the issue. Currently, the only way of mitigating the issue is to apply a patch.
For Red Hat Enterprise Linux users, the issue is under control and fixed in RHEL 5 and 6 updates.
Monday, September 10, 2012 @ 03:09 PM gHale
A virtual machine escape attack exploits the vulnerability in Xen hypervisors and allows an attacker within a guest virtual machine to escape to the host and execute code.
This new exploit would escalate an attacker’s local privileges to the most privileged domain, essentially giving the outsider control over the host and other guest VMs, said VUPEN researcher Jordan Gruskovnjak.
The exploit targets a vulnerability reported in June that affects the way Intel processors implement error handling in the AMD SYSRET instruction. The vulnerability is in the instruction, and not the chip, US-CERT said in its June alert.
“The x86-64 kernel system-call functionality in Xen 4.1.2 and earlier incorrectly uses the SYSRET path in cases where a certain address is not a canonical address, which allows local users to gain privileges via a crafted application,” said the advisory for CVE-2012-0217.
The Xen Project, which manages the open source code, repaired the vulnerability in June, as did Citrix and other virtualization vendors such as Red Hat, Microsoft, Oracle, FreeBSD, NetBSD and SUSE Linux patched their respective products. Unpatched versions remain vulnerable.
VUPEN said it was able to exploit this vulnerability on a 64-bit Linux paravirtualized guest running on Citrix XenServer 6.0.0 with Xen version 4.1.1. It cautions other versions are vulnerable as well. The attack is a local privilege escalation attack that targets the dom0 virtual machine, the most privileged domain. Dom0, VUPEN said, is the only VM by default having access to hardware, and from there can manipulate the hypervisor to launch unpriviledged domains.
“The strategy here will be to inject a dom0 root process with a bindshell (or reverse shell) payload in order to get a root shell from dom0,” Gruskovnjak said. “The same idea as in remote kernel exploitation will be used: Hijack the interrupt 0x80 syscall handler in order to wait for an interruption from dom0 to occur. When an interrupt is triggered from dom0, one is assured that dom0 virtual pages are mapped into memory.”
Tim Deegan, a computer scientist in England and one of the maintainers of the Xen hypervisor code, said it was interesting VUPEN would choose to inject code into dom0 rather than exploit the hypervisor privilege or elevate the privilege of the calling domain.
“I had imagined that an attacker would elevate the privilege of their malicious VM to and then map other VMs’ memory and CPU state directly, but that involves doing some work to understand the OS structures of the other VMs,” Deegan said. “Injecting a process into dom0 lets them just use the existing management toolstack to manipulate other VMs.”
Thursday, October 27, 2011 @ 05:10 PM gHale
A new worm is turning servers running older versions of the JBoss Application Server into botnet drones.
The malware behind the attack is significant because it targets servers rather than PCs and it relies on exploiting a vulnerability that is over a year old: A flaw in JBoss Application Server patched by Red Hat in April 2010. The worm’s payload includes a variety of Perl scripts, one of which builds a backdoor on compromised machines.
Marcus Carey, security researcher and community manager at Rapid7, said outsourcing practices had exacerbated the patching deficiencies the worm exploited.
“Many businesses outsource web application development and once the application is deployed, service contracts may lapse or IT staff may not be paying much attention to them,” Carey said.
“The use of this new malware associated with JBoss is something we have not seen before. However, the actual vulnerability it is exploiting should have been snuffed out years ago. This is far more a business failure than a software security failure at this point,” he added.
The last edition of Microsoft’s Security Intelligence Report found exploits with a patch available for over a year accounted for 3.2 per cent of compromises. By comparison zero-day attacks were responsible for 0.12 per cent of malicious activity.
Friday, March 4, 2011 @ 04:03 PM gHale
Wireshark developers released version 1.2.15 and 1.4.4 of their open source, cross-platform network protocol analyzer; maintenance updates that address two highly critical security vulnerabilities that could cause the application to crash.
The first issue (CVE-2011-0538), discovered by Huzaifa Sidhpurwala of the Red Hat Security Response Team, could lead to memory corruption when reading a .pcap file in the pcap-ng format. A remote hacker could use this to effect a denial-of-service (DoS) attack. The other (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-0713 CVE-2011-0713) is a bug that could lead to a heap-based buffer overflow when reading a specially crafted Nokia DCT3 trace file, possibly leading to the execution of arbitrary code. Further changes include fixes for 32-bit systems when reading a malformed 6LoWPAN packet and updates to various dissectors. All users should update to the latest versions as soon as possible.
Wireshark binaries for Windows and Mac OS X, as well as the source code, are available to download and documentation is available. Wireshark, formerly known as Ethereal, has a license under version 2 of the GNU General Public Licence (GPLv2).