rsyslog
Mar 18, 2010 - 01:32 PM
Professional Services
Custom written rsyslog.conf? Maintenance Contract?

rsyslog professional services



Donate!
Satisfied with rsyslog?

Donate and help keep
the project alive!

Rainer's Blog

Login




 


 Log in Problems?
 New User? Sign Up!

Online
There are 41 unlogged users and 0 registered users online.

You can log-in or register for a user account here.

Topic: SecurityAdvisories

The new items published under this topic are as follows.
$AllowedSender not honored
A primitive way of access control is offered in rsyslog via the $AllowedSender configuration directive. It permits the operator to specify hosts from which messages are being accepted. If the directive is not specified, messages from all hosts are accepted. If it is, the set is limited to those senders that match the configured criteria (this can be network addresses or host name). Access control can be configured for UDP- based and TCP-based protocols independently.

Note that this directive may be used to simplify firewall setup, where the firewall permits incoming traffic from all remote machines on the port in question. Then rsyslog ACLs are used to control who is actually permitted. The down-side of this approach is that the packets reach rsyslog and any vulnerability in it can be exploited. Please note that UDP addresses can easily be spoofed (though thankfully not as easy any longer on the public Internet thanks to more careful configuration on most ISP's side). So an IP-based access control does not work very well for UDP (neither at the firewall nor at the rsyslog level - but the firewall may have more options at hand, given its comparatively broad knowledge of the perimeter).

Unfortunately, one vulnerability has been found in rsyslog's ACL handling. Due to a coding error in the modularization effort, the $AllowedSender directive is no longer honored but silently accepted. As such, rsyslog-based access control via $AllowedSender is not working and messages from every sender will be accepted by rsyslog. Most importantly, this could lead to misleading log entries or a remote DoS, by a malicious sender simply flooding the system logs with messages until the system runs out of disk space.

This problem was discovered due to a user bug report early this week and has immediately been addressed. Immediate notice has been sent to the rsyslog mailing list as well as mitigation strategies and patches as they came up.

The versions affected are rsyslog 3.12.1 to 3.20.0, 4.1.0 and 4.1.1. The v2-stable branch is not affected. The vulnerability can be fully mitigated by moving the access control to the firewall level. This is recommended in any case, not just as a mitigation (see reasoning above).

We also have now released fixed version of rsyslog. These are available here:



Users, which use $AllowedSender are urged either to mitigate the issue or update to the appropriate release. Note that rsyslog versions prior to 3.20.0 are no longer officially supported. The proper procedure here is to upgrade to the recent v3-stable branch.

For those interested in the root cause of this issue, please read Rainer's blog post "root cause of security issue in rsyslog".


Posted by  rgerhards  on  Thursday, December 04, 2008 4369
 Send this story to someone Printer-friendly page 

SQL Injection Vulnerability in rsyslogd
An SQL injection vulnerability was found in all rsyslog releases prior to the ones announced on 2005-09-23. An attacker can send a specifically-crafted syslog message to rsyslogd and potentially take ownership of the machine.

This can be locally exploited if rsyslogd is listening on the local socket. Wes assume it is doing this in almost all cases. It can also be exploited remotely if rsyslogd is listening on network sockets and the attacker is not blocked from sending messages to rsyslogd (e.g. if not blocked by firewalling).

The vulnerability can potentially be used to take full ownership of the computer a compromised rsyslog is running on. The extend of the compromise is depending on the permissions of the user used to connect to MySQL.

We do not know of any case where this was exploited in practice. The bug was discovered during security-testing rsyslogd.

As of this writing, fixed versions exist both for the stable and the development branch. They are named 1.0.1 and 1.10.1. They can be obtained via the following links:

For 1.0.1 stable:
http://www.rsyslog.com/Downloads-index-req-getit-lid-17.phtml

For 1.10.1 development:
http://www.rsyslog.com/Downloads-index-req-getit-lid-18.phtml

As this is a serious vulnerability, we urge all users to update to the fixed version as soon as possible.

If you have turned on NO_BACKSLASH_ESCAPES in MySQL, you MUST make changes to your configuration file. Read DETAILS below to learn more.



Posted by  rgerhards  on  Friday, September 23, 2005 7933
Read full article: 'SQL Injection Vulnerability in rsyslogd' (2659 bytes more)  Send this story to someone Printer-friendly page 

 rsyslog Sponsors
 
Functionality looking for Sponsors
rsyslog sponsoring
Click here for more information


 Search
 
Google

 Last Forum Posts
 · Re: Segmentation Fault on CentOS 5.4, rs ...
Rainer,I've emailed you the segfault debug log along with another ...
· Nothing but problems (CentOS 5.3)
Hey all,So I had been using another syslog server for a long time ...
· Rsyslog 5.4.0 on Ubuntu 9.10 server x64 ...
Hello,I have been trying to install rsyslog 5.4.0 on ubuntu but I ...
· Re: Ubuntu 9.10 + rsyslog + iptables ...
yeleek,ubuntu is running vers.rsyslogd 4.2.0 which doesn't seem t ...
· Re: Rsyslog 4.4.2 TCP Hangup??
On my machine it just spins, ie. does not leak memory. This bit r ...
· Re: Rsyslog 4.4.2 TCP Hangup??
Yes, I recieve the "error probably okay" also s ...
· Re: Rsyslog with SLES11
Thanks for letting us know, this is probably useful for others as ...
· Re: Rsyslog with SLES11
Thank you Rainer, i found http://rpm.pbone.net/index.php3/stat/4/ ...

:: Syndication: ::
Page created in 0.183385133743 seconds.