Vulnerabilities > CVE-2016-6830 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Call-Cc Chicken

047910
CVSS 7.5 - HIGH
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
PARTIAL
network
low complexity
call-cc
CWE-119
nessus

Summary

The "process-execute" and "process-spawn" procedures in CHICKEN Scheme used fixed-size buffers for holding the arguments and environment variables to use in its execve() call. This would allow user-supplied argument/environment variable lists to trigger a buffer overrun. This affects all releases of CHICKEN up to and including 4.11 (it will be fixed in 4.12 and 5.0, which are not yet released).

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Nessus

  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DLA-643.NASL
    descriptionMultiple vulnerabilities have been found in the CHICKEN Scheme compiler : CVE-2016-6830 Buffer overrun in CHICKEN Scheme
    last seen2020-03-17
    modified2016-10-04
    plugin id93834
    published2016-10-04
    reporterThis script is Copyright (C) 2016-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/93834
    titleDebian DLA-643-1 : chicken security update
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2016-9B3ED5F170.NASL
    descriptionSecurity fix for CVE-2016-6830, CVE-2016-6831 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-05
    modified2017-01-19
    plugin id96615
    published2017-01-19
    reporterThis script is Copyright (C) 2017-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/96615
    titleFedora 25 : chicken (2016-9b3ed5f170)
  • NASL familyFreeBSD Local Security Checks
    NASL idFREEBSD_PKG_C6932DD4EAFF11E69AC1A4BADB2F4699.NASL
    descriptionPeter Bex reports : A buffer overflow error was found in the POSIX unit
    last seen2020-06-01
    modified2020-06-02
    plugin id96995
    published2017-02-06
    reporterThis script is Copyright (C) 2017-2018 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/96995
    titleFreeBSD : chicken -- multiple vulnerabilities (c6932dd4-eaff-11e6-9ac1-a4badb2f4699)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2016-0EF628998F.NASL
    descriptionSecurity fix for CVE-2016-6830, CVE-2016-6831 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-05
    modified2017-01-19
    plugin id96614
    published2017-01-19
    reporterThis script is Copyright (C) 2017-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/96614
    titleFedora 24 : chicken (2016-0ef628998f)