noip-updater: Execution of arbitrary code

Security Team  Contact Address

Updated January 18, 2009

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200901-12 / noip-updater
Release Date January 18, 2009
Latest Revision January 18, 2009: 01
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-dns/noip-updater < 2.1.9 >= 2.1.9 All supported architectures

Related bugreports: #248709

Synopsis

A buffer overflow in noip-updater can lead to arbitrary code execution.

2.  Impact Information

Background

noip-updater is a tool used for updating IP addresses of dynamic DNS records at no-ip.com.

Description

xenomuta found out that the GetNextLine() function in noip2.c misses a length check, leading to a stack-based buffer overflow.

Impact

A remote attacker could exploit this vulnerability to execute arbitrary code by sending a specially crafted HTTP message to the client. NOTE: Successful exploitation requires a man in the middle attack, a DNS spoofing attack or a compromise of no-ip.com servers.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All noip-updater users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-dns/noip-updater-2.1.9"

4.  References