In questa pagina sono elencati gli avvisi e i consigli critici per Couchbase.
Rimanete informati sugli ultimi avvisi e avvisi critici per Couchbase Server iscrivendovi alle nostre notifiche di aggiornamento. Per iscriversi, registrarsi sul nostro sito di supporto e seguire questo articolo: Annunci – Supporto Couchbase
Avvisi di sicurezza per le aziende
-
Couchbase Server returns a WWW-Authenticate response to unauthenticated requests.
The Server REST API responds with a {{WWW-Authenticate}} header to unauthenticated requests which allows the user to authenticate via a user / password dialog in a web browser. The problem is that these credentials are cached by the browser which allows a hacker to use CSRF to attack a cluster in the event that an administrator has used their browser to check the results of a REST API request. This behavior can be disabled by using couchbase-cli (couchbase-cli setting-security –set –disable-www-authenticate 1 -c localhost:8091 -u -p ). This is not disabled by default as it might break existing tools or scripts. Riconoscimento: Team di sicurezza di Apple
-
The Cluster Management and Views endpoints are vulnerable to the “Slowloris” denial-of-service attack as they don’t more aggressively terminate slow connections.
The Slowloris is a type of denial-of-service attack that allows an attacker to take down a target web endpoint by sending requests that periodically send additional headers and never terminate. Reducing the timeout on receipt of HTTP headers is an effective mitigation of this attack and this is the approach taken in the cluster management and views REST endpoints.
-
FTS UI to upgrade to angular 1.6.9
The Full Text Seach user interface uses AngularJS 1.4.7 for which some known high severity security vulnerabilities exist. These AngularJS libraries have been updated to a more recent version of Angular which has addressed these vulnerabilities.
-
Fino a Core-io 1.7.11 (e di conseguenza Java SDK 2.7.11), la verifica dell'hostname nelle connessioni TLS/SSL non è abilitata e può rappresentare un rischio per la sicurezza in determinati ambienti.
Java 6 (JDK 1.6 – la versione base SDK più vecchia) non supportava la verifica dell’hostname di serie. Una volta che il SDK è passato a Java 7 (Java 1.7) come base, era possibile aggiungere il supporto. Ciò è avvenuto in jvm-core 1.7.11 (che corrisponde a java-client 2.7.11). In versioni precedenti non è possibile aggiungerlo manualmente come soluzione provvisoria, poiché le funzionalità per personalizzarlo in modo appropriato non sono disponibili. Nota che per non interrompere le applicazioni che fanno affidamento sul vecchio comportamento, la verifica dell’hostname è ancora disabilitata per impostazione predefinita, ma può essere attivata nella configurazione del SDK (classe CouchbaseEnvironment).
-
Il port 8092 non include l'header di protezione X-XSS.
Alcune aziende richiedono che gli endpoint REST API includano intestazioni correlate alla sicurezza nelle risposte REST. Tuttavia, tali intestazioni come X-Frame-Options e X-Content-Type-Options sono generalmente consigliate; alcuni professionisti della sicurezza informatica, tuttavia, ricercano anche X-Permitted-Cross-Domain-Policies e X-XSS-Protection, che sono più generalmente applicabili agli endpoint HTML e che devono essere inclusi anche nelle risposte del Couchbase Server Views REST API (porta 8092). Queste intestazioni sono ora incluse nelle risposte del server Couchbase tramite l'API REST (porta 8092).
-
Prevenire l'iniezione di N1QL in Sync Gateway tramite _all_docs startkey, endkey.
Un attaccante in possesso dell’accesso all’API REST pubblica di Sync Gateway è stato in grado di emettere ulteriori comandi N1QL e di estrarre dati sensibili o di chiamare funzioni N1QL arbitrarie tramite i parametri “startkey” e “endkey” nell’endpoint “_all_docs”. Emettendo query nidificate con operazioni CPU intensive, potrebbero aver potuto causare un aumento dell’utilizzo delle risorse e condizioni di negazione del servizio. L’endpoint “_all_docs” non è necessario per la replicazione di Couchbase Mobile e l’accesso esterno a questo endpoint REST è stato bloccato per mitigare questo problema. Riconoscimento: Denis Werner/HiSolutions AG