You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/modules/auxiliary/scanner/couchdb/couchdb_enum.md
+70-47Lines changed: 70 additions & 47 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
Apache CouchDB is a nosql database server which communicates over HTTP. This module will enumerate the server and databases hosted on it.
4
4
5
5
The following was done on Ubuntu 16.04, and is largely base on [1and1.com](https://www.1and1.com/cloud-community/learn/database/couchdb/install-and-use-couchdb-on-ubuntu-1604/):
6
-
6
+
7
7
1.`sudo apt install software-properties-common`
8
8
2.`sudo add-apt-repository ppa:couchdb/stable`
9
9
3.`sudo apt update`
@@ -20,54 +20,77 @@ The following was done on Ubuntu 16.04, and is largely base on [1and1.com](https
20
20
21
21
## Options
22
22
23
-
**serverinfo**
23
+
**SERVERINFO**
24
+
25
+
If set to `true`, the server info will also enumerated and set in msf's DB. Defaults to `false`.
26
+
27
+
**CREATEUSER**
24
28
25
-
If set to true, the server info will also enumerated and set in msf's DB. Defaults to `false`
29
+
If set to `true`, the server info will attempt to create an account in CouchDB using configured credentials (limited to CVE-2017-12635 conditions). Defaults to `false`.
26
30
27
31
## Scenarios
28
32
29
-
A run against the configuration from these docs
30
-
31
-
```
32
-
msf5 auxiliary(scanner/afp/afp_login) > use auxiliary/scanner/couchdb/couchdb_enum
33
-
msf5 auxiliary(scanner/couchdb/couchdb_enum) > set rhosts 1.1.1.1
34
-
rhosts => 1.1.1.1
35
-
msf5 auxiliary(scanner/couchdb/couchdb_enum) > set verbose true
36
-
verbose => true
37
-
msf5 auxiliary(scanner/couchdb/couchdb_enum) > run
38
-
39
-
[+] 1.1.1.1:5984 {
40
-
"couchdb": "Welcome",
41
-
"uuid": "6f08e89795bd845efc6c2bf3d57799e5",
42
-
"version": "1.6.1",
43
-
"vendor": {
44
-
"version": "16.04",
45
-
"name": "Ubuntu"
46
-
}
33
+
Dumping databases with `SERVERINFO` and `CREATEUSER` set:
0 commit comments