NewsSecurity Vulnerabilities

Keepalived HTTP Status Codes Parsing Heap-Based Buffer Overflow Vulnerability [CVE-2018-19115 ]

CVE Number – CVE-2018-19115

A vulnerability in the extract_status_code() function of Keepalived could allow an unauthenticated, remote attacker to cause a denial of service (DoS) condition on a targeted system.

The vulnerability is due to improper parsing of HTTP responses when the extract_status_code()function, as defined in the lib/html.c source code file of the affected software, does not validate HTTP status codes and writes a significant amount of content to heap memory. An attacker could exploit this vulnerability by sending a request that submits malicious input to a targeted system. A successful exploit could result in a heap-based overflow condition that the attacker could use to cause a DoS condition. 

Proof-of-concept (PoC) code that demonstrates an exploit of this vulnerability is publicly available. 

Keepalived.org has confirmed the vulnerability and released software updates.

Analysis

  • To exploit this vulnerability, the attacker may send a request that submits malicious input to the targeted system, making exploitation more difficult in environments that restrict network access from untrusted sources.

Safeguards

  • Administrators are advised to apply the appropriate updates.

    Administrators are advised to allow only trusted users to have network access.

    Administrators are advised to run both firewall and antivirus applications to minimize the potential of inbound and outbound threats.

    Administrators may consider using IP-based access control lists (ACLs) to allow only trusted systems to access the affected systems.

    Administrators can help protect affected systems from external attacks by using a solid firewall strategy.

    Administrators are advised to monitor affected systems.

Vendor Announcements

Fixed Software

  • Keepalived.org has released software updates at the following link: keepalived 2.0.7

Duncan

Duncan is a technology professional with over 20 years experience of working in various IT roles. He has a interest in cyber security, and has a wide range of other skills in radio, electronics and telecommunications.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.