Mission and Overview
NVD is the U.S. government repository of standards based vulnerability management data. This data enables automation of vulnerability management, security measurement, and compliance (e.g. FISMA).
Resource Status
NVD contains:

Last updated: 8/1/2014 8:24:44 PM

CVE Publication rate: 17.5

Email List

NVD provides four mailing lists to the public. For information and subscription instructions please visit NVD Mailing Lists

Workload Index
Vulnerability Workload Index: 6.81
About Us
NVD is a product of the NIST Computer Security Division and is sponsored by the Department of Homeland Security's National Cyber Security Division. It supports the U.S. government multi-agency (OSD, DHS, NSA, DISA, and NIST) Information Security Automation Program. It is the U.S. government content repository for the Security Content Automation Protocol (SCAP).

National Cyber Awareness System

Vulnerability Summary for CVE-2007-0347

Original release date: 01/29/2007
Last revised: 03/07/2011
Source: US-CERT/NIST

Overview

The is_eow function in format.c in CVSTrac before 2.0.1 does not properly check for the "'" (quote) character, which allows remote authenticated users to execute limited SQL injection attacks and cause a denial of service (database error) via a ' character in certain messages, tickets, or Wiki entries.

Description

The DoS vulnerability exists because the is_eow() function in "format.c" does NOT just check the FIRST character of the supplied string for an End-Of-Word terminating character, but instead iterates over string and this way can skip a single embedded quotation mark. The is_repository_file() function then in turn assumes that the filename string can never contain a single quotation mark and traps into a SQL escaping problem.

Impact

CVSS Severity (version 2.0):
CVSS v2 Base Score: 4.3 (MEDIUM) (AV:N/AC:M/Au:N/C:N/I:N/A:P) (legend)
Impact Subscore: 2.9
Exploitability Subscore: 8.6
CVSS Version 2 Metrics:
Access Vector: Network exploitable
Access Complexity: Medium
Authentication: Not required to exploit
Impact Type: Allows disruption of service
An SQL injection via this technique is somewhat limited as is_eow() bails on whitespace. So while one _can_ do an SQL injection, one is limited to SQL queries containing only characters which get past the function isspace(3). This effectively limits attacks to SQL commands like "VACUUM".

Solution

Successful remote unauthenticated exploit requires that CVSTrac is explicitly configured to allow anonymous users to add tickets (it is not by default).

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

External Source: SREASON
Name: 2192
External Source: FULLDISC
Name: 20070129 CVSTrac 2.0.0 Denial of Service (DoS) vulnerability
Type: Advisory; Patch Information
External Source: BID
Name: 22296
External Source: OSVDB
Name: 31935
External Source: OPENPKG
Name: OpenPKG-SA-2007.008
Type: Advisory
External Source: VUPEN
Name: ADV-2007-0398
External Source: SECUNIA
Name: 23940
External Source: CONFIRM
Name: http://www.cvstrac.org/cvstrac/chngview?cn=850
Type: Advisory; Patch Information
External Source: BUGTRAQ
Name: 20070129 CVSTrac 2.0.0 Denial of Service (DoS) vulnerability
Type: Advisory; Patch Information
External Source: MISC
Name: http://www.cvstrac.org/cvstrac/tktview?tn=683
Type: Advisory; Patch Information

Technical Details

Vulnerability Type (View All)