Accessible CouchDB Report

LAST UPDATED: 2022-07-04

Introduction

This report identifies accessible Apache CouchDB servers on port 5984/tcp. Apache CouchDB  is an open-source document-oriented NoSQL database written in Erlang (see Wikipedia).

How we scan 

We scan by sending HTTP “GET /” connection request to port 5984/tcp. The request is tweaked to clarify we speak JSON.

You can reproduce our results by running:

zgrab2 http -p 5984 –custom-headers-names=Accept –custom-headers-values=’application/json’ –endpoint=”/”

If we receive a CouchDB response from an IP we followup with a “GET /_all_dbs” request to see a listing of visible databases (if any).

We do not perform any intrusive checks on a discovered service or database.

As of 2022-07-03, we found 4139 unique CouchDB server instances exposed on IPv4 (daily scan result).

Mitigation

It is unlikely that you need to have a CouchDB server allowing for external connections from the Internet (and thus a possible external attack surface). If you do receive this report from us for your network or constituency make sure to firewall traffic to this service.

In some cases access may be exploitable due to an additional vulnerability. A recent example is a CVSS 9.8 remote code execution vulnerability in Apache CouchDB (CVE-2022-24706).

For more information on our scanning efforts, check out our Internet scanning summary page.

Filename: scan_couchdb

Fields

  • timestamp
    Time that the IP was probed in UTC+0
  • ip
    The IP address of the device in question
  • protocol
    Protocol that the response came on (always TCP)
  • port
    Port that is being queried (port 5984)
  • hostname
    Reverse DNS name of the device in question
  • tag
    Tag set to "couchdb"
  • asn
    ASN of where the device in question resides
  • geo
    Country where the device in question resides
  • region
    State / Province / Administrative region where the device in question resides
  • city
    City in which the device in question resides
  • naics
    North American Industry Classification System Code
  • sic
    Standard Industrial Classification System Code
  • sector
    Sector the identified device belongs to
  • server_version
    CouchDB server version (full)
  • couchdb_message
    Couchdb welcome message
  • couchdb_version
    CouchDB version (short)
  • git_sha
    Git build sha
  • features
    Features available
  • vendor
    Vendor (typically The Apache Software Foundation)
  • visible_databases
    Visible databases
  • error
    Any error (if any)
  • error_reason
    Error reason (if any)

Sample

"timestamp","ip","protocol","port","hostname","tag","asn","geo","region","city","naics","sic","sector","server_version","couchdb_message","couchdb_version","git_sha","features","vendor","visible_databases","error","error_reason"
"2010-02-10 00:00:00",192.168.0.1,tcp,5984,node01.example.com,couchdb,64512,ZZ,Region,City,0,0,,"CouchDB/1.6.1 (Erlang OTP/18)",Welcome,1.6.1,,,"Ubuntu 16.04",_replicator;_users;test;shops;god,,
"2010-02-10 00:00:01",192.168.0.2,tcp,5984,node02.example.com,couchdb,64512,ZZ,Region,City,0,0,"Communications, Service Provider, and Hosting Service","CouchDB/3.2.1 (Erlang OTP/23)",Welcome,3.2.1,244d428af,"access-ready,partitioned,pluggable-storage-engines,reshard,scheduler","The Apache Software Foundation",,,
"2010-02-10 00:00:02",192.168.0.3,tcp,5984,node03.example.com,couchdb,64512,ZZ,Region,City,0,0,"Retail Trade","CouchDB/3.2.1 (Erlang OTP/20)",Welcome,3.2.1,244d428af,"access-ready,partitioned,pluggable-storage-engines,reshard,scheduler","The Apache Software Foundation",,,


Our 128 Report Types