Vulnerability & Exploit Database

Back to search

Apache CouchDB Arbitrary Command Execution

CouchDB administrative users can configure the database server via HTTP(S). Some of the configuration options include paths for operating system-level binaries that are subsequently launched by CouchDB. This allows an admin user in Apache CouchDB before 1.7.0 and 2.x before 2.1.1 to execute arbitrary shell commands as the CouchDB user, including downloading and executing scripts from the public internet.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name

exploit/linux/http/apache_couchdb_cmd_exec

Authors

  • Max Justicz
  • Joan Touzet
  • Green-m <greenm.xxoo [at] gmail.com>

References

Targets

  • Automatic
  • Apache CouchDB version 1.x
  • Apache CouchDB version 2.x

Platforms

  • linux

Architectures

  • x86
  • x64

Reliability

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/linux/http/apache_couchdb_cmd_exec msf exploit(apache_couchdb_cmd_exec) > show targets ...targets... msf exploit(apache_couchdb_cmd_exec) > set TARGET <target-id> msf exploit(apache_couchdb_cmd_exec) > show options ...show and set options... msf exploit(apache_couchdb_cmd_exec) > exploit

Related Vulnerabilities

Related Modules