Vulnerabilities > CVE-2007-1995 - Improper Input Validation vulnerability in Quagga
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
bgpd/bgp_attr.c in Quagga 0.98.6 and earlier, and 0.99.6 and earlier 0.99 versions, does not validate length values in the MP_REACH_NLRI and MP_UNREACH_NLRI attributes, which allows remote attackers to cause a denial of service (daemon crash or exit) via crafted UPDATE messages that trigger an assertion error or out of bounds read.
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.
- Server Side Include (SSI) Injection An attacker can use Server Side Include (SSI) Injection to send code to a web application that then gets executed by the web server. Doing so enables the attacker to achieve similar results to Cross Site Scripting, viz., arbitrary code execution and information disclosure, albeit on a more limited scale, since the SSI directives are nowhere near as powerful as a full-fledged scripting language. Nonetheless, the attacker can conveniently gain access to sensitive files, such as password files, and execute shell commands.
- Cross Zone Scripting An attacker is able to cause a victim to load content into their web-browser that bypasses security zone controls and gain access to increased privileges to execute scripting code or other web objects such as unsigned ActiveX controls or applets. This is a privilege elevation attack targeted at zone-based web-browser security. In a zone-based model, pages belong to one of a set of zones corresponding to the level of privilege assigned to that page. Pages in an untrusted zone would have a lesser level of access to the system and/or be restricted in the types of executable content it was allowed to invoke. In a cross-zone scripting attack, a page that should be assigned to a less privileged zone is granted the privileges of a more trusted zone. This can be accomplished by exploiting bugs in the browser, exploiting incorrect configuration in the zone controls, through a cross-site scripting attack that causes the attackers' content to be treated as coming from a more trusted page, or by leveraging some piece of system functionality that is accessible from both the trusted and less trusted zone. This attack differs from "Restful Privilege Escalation" in that the latter correlates to the inadequate securing of RESTful access methods (such as HTTP DELETE) on the server, while cross-zone scripting attacks the concept of security zones as implemented by a browser.
- Cross Site Scripting through Log Files An attacker may leverage a system weakness where logs are susceptible to log injection to insert scripts into the system's logs. If these logs are later viewed by an administrator through a thin administrative interface and the log data is not properly HTML encoded before being written to the page, the attackers' scripts stored in the log will be executed in the administrative interface with potentially serious consequences. This attack pattern is really a combination of two other attack patterns: log injection and stored cross site scripting.
- Command Line Execution through SQL Injection An attacker uses standard SQL injection methods to inject data into the command line for execution. This could be done directly through misuse of directives such as MSSQL_xp_cmdshell or indirectly through injection of data into the database that would be interpreted as shell commands. Sometime later, an unscrupulous backend application (or could be part of the functionality of the same application) fetches the injected data stored in the database and uses this data as command line arguments without performing proper validation. The malicious data escapes that data plane by spawning new commands to be executed on the host.
Nessus
NASL family CentOS Local Security Checks NASL id CENTOS_RHSA-2007-0389.NASL description An updated quagga package that fixes a security bug is now available for Red Hat Enterprise Linux 3, 4 and 5. This update has been rated as having moderate security impact by the Red Hat Security Response Team. Quagga is a TCP/IP based routing software suite. An out of bounds memory read flaw was discovered in Quagga last seen 2020-06-01 modified 2020-06-02 plugin id 25354 published 2007-06-01 reporter This script is Copyright (C) 2007-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/25354 title CentOS 3 / 4 / 5 : quagga (CESA-2007:0389) NASL family Misc. NASL id QUAGGA_0_99_7.NASL description According to its self-reported version number, the installation of Quagga last seen 2020-06-01 modified 2020-06-02 plugin id 59794 published 2012-06-29 reporter This script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/59794 title Quagga < 0.98.7 / 0.99.7 BGPD Denial of Service Vulnerability NASL family Red Hat Local Security Checks NASL id REDHAT-RHSA-2007-0389.NASL description An updated quagga package that fixes a security bug is now available for Red Hat Enterprise Linux 3, 4 and 5. This update has been rated as having moderate security impact by the Red Hat Security Response Team. Quagga is a TCP/IP based routing software suite. An out of bounds memory read flaw was discovered in Quagga last seen 2020-06-01 modified 2020-06-02 plugin id 25363 published 2007-06-01 reporter This script is Copyright (C) 2007-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/25363 title RHEL 3 / 4 / 5 : quagga (RHSA-2007:0389) NASL family Gentoo Local Security Checks NASL id GENTOO_GLSA-200705-05.NASL description The remote host is affected by the vulnerability described in GLSA-200705-05 (Quagga: Denial of Service) The Quagga development team reported a vulnerability in the BGP routing deamon when processing NLRI attributes inside UPDATE messages. Impact : A malicious peer inside a BGP area could send a specially crafted packet to a Quagga instance, possibly resulting in a crash of the Quagga daemon. Workaround : There is no known workaround at this time. last seen 2020-06-01 modified 2020-06-02 plugin id 25155 published 2007-05-03 reporter This script is Copyright (C) 2007-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/25155 title GLSA-200705-05 : Quagga: Denial of Service NASL family Fedora Local Security Checks NASL id FEDORA_2007-0838.NASL description Upgrade to new upstream 0.99.7 should also fix the CVE-2007-1995 Quagga bgpd DoS 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-06-01 modified 2020-06-02 plugin id 27682 published 2007-11-06 reporter This script is Copyright (C) 2007-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/27682 title Fedora 7 : quagga-0.99.7-1.fc7 (2007-0838) NASL family SuSE Local Security Checks NASL id SUSE_QUAGGA-3233.NASL description Remote attackers could crash quagga via specially crafted last seen 2020-06-01 modified 2020-06-02 plugin id 27417 published 2007-10-17 reporter This script is Copyright (C) 2007-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/27417 title openSUSE 10 Security Update : quagga (quagga-3233) NASL family Ubuntu Local Security Checks NASL id UBUNTU_USN-461-1.NASL description It was discovered that Quagga did not correctly verify length information sent from configured peers. Remote malicious peers could send a specially crafted UPDATE message which would cause bgpd to abort, leading to a denial of service. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 28061 published 2007-11-10 reporter Ubuntu Security Notice (C) 2007-2019 Canonical, Inc. / NASL script (C) 2018 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/28061 title Ubuntu 6.06 LTS / 6.10 / 7.04 : quagga vulnerability (USN-461-1) NASL family SuSE Local Security Checks NASL id SUSE_QUAGGA-3230.NASL description Remote attackers could crash quagga via specially crafted last seen 2020-06-01 modified 2020-06-02 plugin id 29567 published 2007-12-13 reporter This script is Copyright (C) 2007-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/29567 title SuSE 10 Security Update : quagga (ZYPP Patch Number 3230) NASL family Scientific Linux Local Security Checks NASL id SL_20070530_QUAGGA_ON_SL5_X__SL4_X__SL3_X.NASL description An out of bounds memory read flaw was discovered in Quagga last seen 2020-06-01 modified 2020-06-02 plugin id 60193 published 2012-08-01 reporter This script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/60193 title Scientific Linux Security Update : quagga on SL5.x, SL4.x, SL3.x i386/x86_64 NASL family Oracle Linux Local Security Checks NASL id ORACLELINUX_ELSA-2007-0389.NASL description From Red Hat Security Advisory 2007:0389 : An updated quagga package that fixes a security bug is now available for Red Hat Enterprise Linux 3, 4 and 5. This update has been rated as having moderate security impact by the Red Hat Security Response Team. Quagga is a TCP/IP based routing software suite. An out of bounds memory read flaw was discovered in Quagga last seen 2020-06-01 modified 2020-06-02 plugin id 67506 published 2013-07-12 reporter This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/67506 title Oracle Linux 3 / 4 / 5 : quagga (ELSA-2007-0389) NASL family Debian Local Security Checks NASL id DEBIAN_DSA-1293.NASL description Paul Jakma discovered that specially crafted UPDATE messages can trigger an out of boundary read that can result in a system crash of quagga, the BGP/OSPF/RIP routing daemon. last seen 2020-06-01 modified 2020-06-02 plugin id 25258 published 2007-05-20 reporter This script is Copyright (C) 2007-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/25258 title Debian DSA-1293-1 : quagga - out of boundary read NASL family Fedora Local Security Checks NASL id FEDORA_2007-525.NASL description This update contains rebase to quagga-0.99.7 along with fix for CVE-2007-1995. 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-06-01 modified 2020-06-02 plugin id 25448 published 2007-06-07 reporter This script is Copyright (C) 2007-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/25448 title Fedora Core 6 : quagga-0.99.7-1.fc6 (2007-525)
Oval
accepted | 2013-04-29T04:11:04.355-04:00 | ||||||||||||||||||||||||||||||||
class | vulnerability | ||||||||||||||||||||||||||||||||
contributors |
| ||||||||||||||||||||||||||||||||
definition_extensions |
| ||||||||||||||||||||||||||||||||
description | bgpd/bgp_attr.c in Quagga 0.98.6 and earlier, and 0.99.6 and earlier 0.99 versions, does not validate length values in the MP_REACH_NLRI and MP_UNREACH_NLRI attributes, which allows remote attackers to cause a denial of service (daemon crash or exit) via crafted UPDATE messages that trigger an assertion error or out of bounds read. | ||||||||||||||||||||||||||||||||
family | unix | ||||||||||||||||||||||||||||||||
id | oval:org.mitre.oval:def:11048 | ||||||||||||||||||||||||||||||||
status | accepted | ||||||||||||||||||||||||||||||||
submitted | 2010-07-09T03:56:16-04:00 | ||||||||||||||||||||||||||||||||
title | bgpd/bgp_attr.c in Quagga 0.98.6 and earlier, and 0.99.6 and earlier 0.99 versions, does not validate length values in the MP_REACH_NLRI and MP_UNREACH_NLRI attributes, which allows remote attackers to cause a denial of service (daemon crash or exit) via crafted UPDATE messages that trigger an assertion error or out of bounds read. | ||||||||||||||||||||||||||||||||
version | 27 |
Redhat
advisories |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
rpms |
|
References
- http://bugzilla.quagga.net/show_bug.cgi?id=354
- http://bugzilla.quagga.net/show_bug.cgi?id=354
- http://bugzilla.quagga.net/show_bug.cgi?id=355
- http://bugzilla.quagga.net/show_bug.cgi?id=355
- http://secunia.com/advisories/24808
- http://secunia.com/advisories/24808
- http://secunia.com/advisories/25084
- http://secunia.com/advisories/25084
- http://secunia.com/advisories/25119
- http://secunia.com/advisories/25119
- http://secunia.com/advisories/25255
- http://secunia.com/advisories/25255
- http://secunia.com/advisories/25293
- http://secunia.com/advisories/25293
- http://secunia.com/advisories/25312
- http://secunia.com/advisories/25312
- http://secunia.com/advisories/25428
- http://secunia.com/advisories/25428
- http://secunia.com/advisories/29743
- http://secunia.com/advisories/29743
- http://security.gentoo.org/glsa/glsa-200705-05.xml
- http://security.gentoo.org/glsa/glsa-200705-05.xml
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-236141-1
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-236141-1
- http://www.debian.org/security/2007/dsa-1293
- http://www.debian.org/security/2007/dsa-1293
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:096
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:096
- http://www.novell.com/linux/security/advisories/2007_9_sr.html
- http://www.novell.com/linux/security/advisories/2007_9_sr.html
- http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.015.html
- http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.015.html
- http://www.quagga.net/news2.php?y=2007&m=4&d=8#id1176073740
- http://www.quagga.net/news2.php?y=2007&m=4&d=8#id1176073740
- http://www.redhat.com/support/errata/RHSA-2007-0389.html
- http://www.redhat.com/support/errata/RHSA-2007-0389.html
- http://www.securityfocus.com/bid/23417
- http://www.securityfocus.com/bid/23417
- http://www.securitytracker.com/id?1018142
- http://www.securitytracker.com/id?1018142
- http://www.trustix.org/errata/2007/0017/
- http://www.trustix.org/errata/2007/0017/
- http://www.ubuntu.com/usn/usn-461-1
- http://www.ubuntu.com/usn/usn-461-1
- http://www.vupen.com/english/advisories/2007/1336
- http://www.vupen.com/english/advisories/2007/1336
- http://www.vupen.com/english/advisories/2008/1195/references
- http://www.vupen.com/english/advisories/2008/1195/references
- https://exchange.xforce.ibmcloud.com/vulnerabilities/33547
- https://exchange.xforce.ibmcloud.com/vulnerabilities/33547
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11048
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11048