File: 2068.txt

package info (click to toggle)
snort 2.9.7.0-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 55,000 kB
  • ctags: 38,464
  • sloc: ansic: 266,667; sh: 12,508; makefile: 2,908; yacc: 497; perl: 496; lex: 261; sed: 14
file content (74 lines) | stat: -rw-r--r-- 1,359 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
Rule:

--
Sid:
2068

--
Summary:
input handling error in BitKeeper.

--
Impact:
Arbitrary code execution

--
Detailed Information:
BitKeeper is a cross platform commercial application for managing 
software development.

When used in daemon mode, BitKeeper opens a listening service that can 
be accessed via an ordinary http request. The input from this request is
not correctly processed and allows execution of arbitrary code.

A proof of concept exploit is available for this vulnerability.

--
Affected Systems:
All versions of BitKeeper up to and including version 3.0 running in 
daemon mode.

--
Attack Scenarios:
The attacker can send a specially crafted URI to the listening service 
that contains code the attacker wishes to execute.

Proof of concept URI by Maurycy Prodeus:
http://www.example.com:port/diffs/foo.c@%27;echo%20%3Eiwashere%27?nav=index.html|src/|hist/foo.c

--
Ease of Attack:
Simple

--
False Positives:
None Known

--
False Negatives:
None Known

--
Corrective Action:
Upgrade to version 3.0.1.

Do not run BitKeeper in daemon mode.

Disallow all access to the BitKeeper server via http.

--
Contributors:
Sourcefire Research Team
Brian Caswell <bmc@sourcefire.com>
Nigel Houghton <nigel.houghton@sourcefire.com>

--
Additional References:

Bugtraq:
http://www.securityfocus.com/bid/6588

BitKeeper:
http://www.bitkeeper.com/

--