CVE-2016-8742 Privilege escalation in Apache CouchDB

High 7.8 Published Updated

Local attackers can escalate privileges to administrator by replacing executables in the CouchDB Windows installer directory due to inherited weak permissions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2016-8742?

CVE-2016-8742 is a high-severity vulnerability in Apache CouchDB, published on 12 Feb 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The Windows installer that the Apache CouchDB team provides was vulnerable to local privilege escalation. All files in the install inherit the file permissions of the parent directory and therefore a non-privileged user can substitute any executable for the nssm.exe service launcher, or CouchDB batch or binary files. A subsequent service or server restart will then run that binary with administrator privilege. This issue affected CouchDB 2.0.0 (Windows platform only) and was addressed in CouchDB 2.0.0.1.

Weakness: CWE-264

Which versions are affected by CVE-2016-8742?

It affects 1 product.

Products include Apache Couchdb.

How do I fix CVE-2016-8742?

No fix has been published for CVE-2016-8742 yet. Limit exposure of the affected software until one is available.

Is CVE-2016-8742 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2016-8742 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-gq4g-cfc7-fgw7.

Is CVE-2016-8742 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free