Ncurses fmt_entry Function Stack-Based Buffer Overflow Vulnerability [CVE-2017-10684]

CVE Number – CVE-2017-10684

A vulnerability in the fmt_entry function of ncurses could allow an unauthenticated, remote attacker to execute arbitrary code on a targeted system.

The vulnerability is due to insufficient validation of user-supplied input that is processed by the affected software. An attacker could exploit this vulnerability by sending a request that submits malicious input to the affected software on a targeted system. A successful exploit could cause a stack-based buffer overflow condition, which could be used to execute arbitrary code on the targeted system.

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

Ncurses has confirmed the vulnerability and released software updates.

Analysis
  • To exploit this vulnerability, the attacker must send a request that submits malicious input to the targeted system, which may require access to trusted, internal networks. This access requirement could reduce the likelihood of a successful exploit.
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
  • Ncurses has released a changelog at the following link: 20170701
Fixed Software
  • Ncurses has released software updates at the following link: ncurses 6.1





Duncan Newell

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.

%d bloggers like this: