Descrizione
AnythingLLM is an application that turns pieces of content into context that any LLM can use as references during chatting. If AnythingLLM prior to version 1.10.0 is configured to use Qdrant as the vector database with an API key, this QdrantApiKey could be exposed in plain text to unauthenticated users via the `/api/setup-complete` endpoint. Leakage of QdrantApiKey allows an unauthenticated attacker full read/write access to the Qdrant vector database instance used by AnythingLLM. Since Qdrant often stores the core knowledge base for RAG in AnythingLLM, this can lead to complete compromise of the semantic search / retrieval functionality and indirect leakage of confidential uploaded documents. Version 1.10.0 patches the issue.
Tipo di vulnerabilità
CWE-201
Informazioni sensibili inserite nei dati inviati
Il prodotto invia dati a un altro soggetto, ma una parte di quei dati contiene informazioni sensibili a cui il destinatario non dovrebbe avere accesso.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza |
Leggere file o cartelle, Leggere la memoria, Leggere i dati dell’applicazione |
Come si previene
Requisiti
Specify which data in the software should be regarded as sensitive. Consider which types of users should have access to which types of data.
Sviluppo
Ensure that any possibly sensitive data specified in the requirements is verified with designers to ensure that it is either a calculated risk or mitigated elsewhere. Any information that is not necessary to the functionality should be removed in order to lower both the overhead and the possibility of security sensitive data being sent.
Configurazione del sistema
Setup default error messages so that unexpected errors do not disclose sensitive information.
Architettura e progettazione · Separazione dei privilegi
Suddividi il sistema in compartimenti, con aree sicure i cui confini di fiducia siano tracciati senza ambiguità. Non lasciare uscire i dati sensibili da questi confini e presta sempre attenzione quando interagisci con un compartimento esterno all’area sicura. La suddivisione va prevista già in fase di progettazione e deve favorire la separazione dei privilegi; per decidere quando usare i privilegi e quando rinunciarvi, segui il principio del privilegio minimo.
Tutte le 514 CVE di tipo CWE-201, con andamento e prevenzione