J-Security Center

Latest Attack Object Updates
  • IDP Daily Update #1545
    posted: 11/19/09
  • NSM Daily Update #1545
    posted: 11/19/09
  • Deep Inspection 5.3r5 and above, 5.4, 6.0 #1545
    posted: 11/19/09
  • Deep Inspection 5.1 and 5.2 #1435
    posted: 11/19/09
  • Deep Inspection 5.0, 5.3r4 and below #1132
    posted: 03/28/08 (04/01/08 for 5.0)
  • Antivirus
    posted: 11/19/09

Title: Stunnel Local Arbitrary Command Execution Vulnerability

Severity: HIGH

Description:

Stunnel is an SSL encryption wrapper by Michal Trojnara. It is available for a number of platforms including FreeBSD, Debian Linux and RedHat Linux.

Insecurely-structured calls to syslog() found in certain versions of Stunnel (prior to version 3.9) pass user-supplied data to the syslog() function in such a way that maliciously embedded format specifiers in this data can cause the process to overwrite sections of its own memory with arbitrary data.

This user-supplied data is obtained from an identd server of a connecting host. If an attacker controls an ident server, an arbitrary username value containing malicious format specifiers can be sent to Stunnel.

This string would then be passed as part of the format string for the syslog() function, where the format specifiers would be interpreted.

This can lead to remote access being gained by the attacker on the target host with privileges of Stunnel, which can be required to run as root.

Affected Products:

  • Conectiva Linux 4.0.0
  • Conectiva Linux 4.0.0 es
  • Conectiva Linux 4.1.0
  • Conectiva Linux 4.2.0
  • Conectiva Linux 5.0.0
  • Conectiva Linux 5.1.0
  • Conectiva Linux 6.0.0
  • EnGarde Secure Linux 1.0.1
  • Stunnel Stunnel 3.3.0
  • Stunnel Stunnel 3.4.0a
  • Stunnel Stunnel 3.7.0
  • Stunnel Stunnel 3.8.0

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.