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.7

Type: remote

Family: Databases

Published: 2013/01/22

Updated: 2018/11/15

Dependencies: 51922

Configuration: Enable paranoid mode

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 4.3

Temporal Score: 3.2

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

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

Vulnerability Information

CPE: cpe:/a:apache:couchdb

Required KB Items: Settings/ParanoidReport, www/couchdb

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2013/01/14

Vulnerability Publication Date: 2013/01/14

Reference Information

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

BID: 57313, 57314, 57321

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