CVSTrac の format.c の is_eow 関数におけるサービス運用妨害 (DoS) の脆弱性
タイトル CVSTrac の format.c の is_eow 関数におけるサービス運用妨害 (DoS) の脆弱性
概要

CVSTrac の format.c の is_eow 関数は、"'" (引用符) 文字を適切にチェックしないため、特定の SQL インジェクション攻撃を実行される、およびサービス運用妨害 (データベースエラー) 状態となる脆弱性が存在します。

想定される影響 リモート認証されたユーザにより、特定のメッセージ、チケット、または Wiki エントリ内の "'" 文字を介して、特定の SQL インジェクション攻撃を実行される、およびサービス運用妨害 (データベースエラー) 状態にされる可能性があります。
対策

ベンダ情報および参考情報を参照して適切な対策を実施してください。

公表日 2007年1月29日0:00
登録日 2012年6月26日15:46
最終更新日 2012年6月26日15:46
CVSS2.0 : 警告
スコア 4.3
ベクター AV:N/AC:M/Au:N/C:N/I:N/A:P
影響を受けるシステム
cvstrac
cvstrac 2.0.1 未満
CVE (情報セキュリティ 共通脆弱性識別子)
ベンダー情報
変更履歴
No 変更内容 変更日
0 [2012年06月26日]
  掲載
2018年2月17日10:37

NVD脆弱性情報
CVE-2007-0347
概要

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.

概要

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".

概要

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.

概要

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

公表日 2007年1月30日5:28
登録日 2021年1月29日14:05
最終更新日 2018年10月17日1:32
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:cvstrac:cvstrac:1.1:*:*:*:*:*:*:*
cpe:2.3:a:cvstrac:cvstrac:1.1.1:*:*:*:*:*:*:*
cpe:2.3:a:cvstrac:cvstrac:1.1.2:*:*:*:*:*:*:*
cpe:2.3:a:cvstrac:cvstrac:1.1.3:*:*:*:*:*:*:*
cpe:2.3:a:cvstrac:cvstrac:1.1.4:*:*:*:*:*:*:*
cpe:2.3:a:cvstrac:cvstrac:*:*:*:*:*:*:*:* 2.0
関連情報、対策とツール
共通脆弱性一覧