Vulnerabilities > CVE-2013-6411 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Openttd
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
The HandleCrashedAircraft function in aircraft_cmd.cpp in OpenTTD 0.3.6 through 1.3.2 allows remote attackers to cause a denial of service (out-of-bounds read and crash) by crashing an aircraft outside of the map.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
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 family Fedora Local Security Checks NASL id FEDORA_2013-23378.NASL description Fixes CVE-2013-6411: DoS using forcefully crashed aircrafts Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-03-17 modified 2013-12-24 plugin id 71623 published 2013-12-24 reporter This script is Copyright (C) 2013-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/71623 title Fedora 18 : openttd-1.3.3-1.fc18 (2013-23378) code #%NASL_MIN_LEVEL 80502 # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Fedora Security Advisory 2013-23378. # include("compat.inc"); if (description) { script_id(71623); script_version("1.3"); script_set_attribute(attribute:"plugin_modification_date", value:"2020/03/12"); script_cve_id("CVE-2013-6411"); script_xref(name:"FEDORA", value:"2013-23378"); script_name(english:"Fedora 18 : openttd-1.3.3-1.fc18 (2013-23378)"); script_summary(english:"Checks rpm output for the updated package."); script_set_attribute( attribute:"synopsis", value:"The remote Fedora host is missing a security update." ); script_set_attribute( attribute:"description", value: "Fixes CVE-2013-6411: DoS using forcefully crashed aircrafts Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues." ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1035991" ); # https://lists.fedoraproject.org/pipermail/package-announce/2013-December/125028.html script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?fc1ea254" ); script_set_attribute( attribute:"solution", value:"Update the affected openttd package." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:openttd"); script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:18"); script_set_attribute(attribute:"patch_publication_date", value:"2013/12/15"); script_set_attribute(attribute:"plugin_publication_date", value:"2013/12/24"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2013-2020 Tenable Network Security, Inc."); script_family(english:"Fedora Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/RedHat/release"); if (isnull(release) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora"); os_ver = eregmatch(pattern: "Fedora.*release ([0-9]+)", string:release); if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora"); os_ver = os_ver[1]; if (! ereg(pattern:"^18([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 18.x", "Fedora " + os_ver); if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Fedora", cpu); flag = 0; if (rpm_check(release:"FC18", reference:"openttd-1.3.3-1.fc18")) flag++; if (flag) { if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get()); else security_warning(0); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "openttd"); }
NASL family Gentoo Local Security Checks NASL id GENTOO_GLSA-201407-01.NASL description The remote host is affected by the vulnerability described in GLSA-201407-01 (OpenTTD: Denial of Service) The vulnerability is caused due to missing out-of-bound check within the “HandleCrashedAircraft()” function. Impact : A remote attacker could possibly cause a Denial of Service condition. Workaround : There is no known workaround at this time. last seen 2020-06-01 modified 2020-06-02 plugin id 76397 published 2014-07-08 reporter This script is Copyright (C) 2014-2015 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/76397 title GLSA-201407-01 : OpenTTD: Denial of Service NASL family FreeBSD Local Security Checks NASL id FREEBSD_PKG_D20732375B5211E380F7C86000CBC6EC.NASL description The OpenTTD Team reports : The problem is caused by incorrectly handling the fact that the aircraft circling the corner airport will be outside of the bounds of the map. In the last seen 2020-06-01 modified 2020-06-02 plugin id 71166 published 2013-12-03 reporter This script is Copyright (C) 2013-2018 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/71166 title FreeBSD : OpenTTD -- Denial of service using forcefully crashed aircrafts (d2073237-5b52-11e3-80f7-c86000cbc6ec) NASL family SuSE Local Security Checks NASL id OPENSUSE-2013-999.NASL description This update fixes the following security issue with openttd : - add patch 60.patch: Aircraft crashing near the map last seen 2020-06-05 modified 2014-06-13 plugin id 75244 published 2014-06-13 reporter This script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/75244 title openSUSE Security Update : openttd (openSUSE-SU-2013:1932-1) NASL family Fedora Local Security Checks NASL id FEDORA_2013-23432.NASL description Fixes CVE-2013-6411: DoS using forcefully crashed aircrafts Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-03-17 modified 2013-12-24 plugin id 71625 published 2013-12-24 reporter This script is Copyright (C) 2013-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/71625 title Fedora 19 : openttd-1.3.3-1.fc19 (2013-23432) NASL family Fedora Local Security Checks NASL id FEDORA_2013-23339.NASL description Fixes CVE-2013-6411: DoS using forcefully crashed aircrafts Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-03-17 modified 2013-12-24 plugin id 71621 published 2013-12-24 reporter This script is Copyright (C) 2013-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/71621 title Fedora 20 : openttd-1.3.3-1.fc20 (2013-23339)
References
- http://bugs.openttd.org/task/5820
- http://bugs.openttd.org/task/5820
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00095.html
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00095.html
- http://seclists.org/oss-sec/2013/q4/375
- http://seclists.org/oss-sec/2013/q4/375
- http://secunia.com/advisories/55589
- http://secunia.com/advisories/55589
- http://secunia.com/advisories/56218
- http://secunia.com/advisories/56218
- http://vcs.openttd.org/svn/changeset/26134
- http://vcs.openttd.org/svn/changeset/26134
- http://www.securityfocus.com/bid/64003
- http://www.securityfocus.com/bid/64003
- https://exchange.xforce.ibmcloud.com/vulnerabilities/89334
- https://exchange.xforce.ibmcloud.com/vulnerabilities/89334
- https://security.openttd.org/en/CVE-2013-6411
- https://security.openttd.org/en/CVE-2013-6411