Openswan XAUTH and PAM buffer overflow

openswan-xauth-pam-bo (19078) The risk level is classified as HighHigh Risk

Description:

Openswan is vulnerable to a stack-based buffer overflow, caused by improper bounds checking in the pluto program. If Openswan is compiled with XAUTH and PAM options enabled, which is not the default setting, a remote attacker could exploit this vulnerability to overflow a buffer and execute arbitrary code on the system with privileges of the pluto process.


Consequences:

Gain Access

Remedy:

Upgrade to the latest version of Openswan (1.0.9 or 2.3.0 or later), as listed in iDEFENSE Security Advisory 01.26.05. See References.

References:

  • iDEFENSE Security Advisory 01.26.05: Openswan XAUTH/PAM Buffer Overflow Vulnerability .
  • BID-12377: Xelerance Corporation Openswan XAUTH/PAM Remote Buffer Overflow Vulnerability
  • CVE-2005-0162: Stack-based buffer overflow in the get_internal_addresses function in the pluto application for Openswan 1.x before 1.0.9, and Openswan 2.x before 2.3.0, when compiled with XAUTH and PAM enabled, allows remote authenticated attackers to execute arbitrary code.
  • SA14038: Openswan XAUTH/PAM Buffer Overflow Vulnerability
  • SECTRACK ID: 1013014: Openswan Pluto get_internal_addresses() Remote Buffer Overflow Lets Remote Authenticated Users Execute Arbitrary Code

Platforms Affected:

  • Open Source Openswan 2.2.0

Reported:

Jan 26, 2005

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page