Apache CouchDB < 1.0.4 / 1.1.2 / 1.2.1 Multiple Vulnerabilities

medium Nessus Plugin ID 63642

Synopsis

The remote database server is potentially affected by multiple vulnerabilities.

Description

According to its banner, the version of CouchDB running on the remote host is earlier than 1.0.4, 1.1.x earlier than 1.1.2 or 1.2.x earlier than 1.2.1. It is, therefore, potentially affected by the following vulnerabilities :

- An unspecified error exists in the included MochiWeb HTTP library that can allow access to arbitrary files via directory traversal attacks. Note that reportedly, this issue only affects installs on Windows hosts.
(CVE-2012-5641)

- An error related to JSONP callbacks can allow an unspecified cross-site scripting attack. (CVE-2012-5649)

- An input validation error exists related to unspecified query parameters and the Futon UI that can allow DOM- based cross-site scripting attacks. (CVE-2012-5650)

Note that Nessus did not actually test for these flaws but instead, has relied on the version in CouchDB's banner.

Solution

Upgrade to CouchDB 1.0.4 / 1.1.2 / 1.2.1 or later.

See Also

https://www.securityfocus.com/archive/1/525297/30/0/threaded

https://www.securityfocus.com/archive/1/525299/30/0/threaded

https://www.securityfocus.com/archive/1/525300/30/0/threaded

Plugin Details

Severity: Medium

ID: 63642

File Name: couchdb_1_2_1.nasl

Version: 1.8

Type: remote

Family: Databases

Published: 1/22/2013

Updated: 12/4/2019

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.8

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2012-5649

Vulnerability Information

CPE: cpe:/a:apache:couchdb

Required KB Items: Settings/ParanoidReport, www/couchdb

Exploit Ease: No known exploits are available

Patch Publication Date: 1/14/2013

Vulnerability Publication Date: 1/14/2013

Reference Information

CVE: CVE-2012-5641, CVE-2012-5649, CVE-2012-5650

BID: 57313, 57314, 57321

CWE: 20, 442, 629, 711, 712, 722, 725, 74, 750, 751, 79, 800, 801, 809, 811, 864, 900, 928, 931, 990