module

Apache CouchDB Arbitrary Command Execution

Disclosed
2016-04-06
Created
2018-07-25

Description

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.

Authors

Max Justicz
Joan Touzet
Green-m greenm.xxoo@gmail.com

Platform

Linux

Architectures

x86, x64

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

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.