Resolve vulnerability VDP-3322
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- docker-compose, javascript
- Ambito
- networking, security
Direzione di ricerca
Start by reading the Mosquitto configuration and the MQTT service's port mapping in docker-compose.yml; the issue also points to mqtt_client.py as the path into PostgreSQL. The full reproduction details are in a PDF available from @mfarina1, and the issue relates to #426 and VDP-33156. Done means anonymous network clients can no longer read or publish broker messages under the shipped defaults.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
In accordance with the findings from the NASA Vulnerability Disclosure Program, a summary of VDP 3322 can be found below, as well as suggestions for remediation. For more information like how to recreate the issue, contact @mfarina1 for the full PDF description. Note that this issue should is a low priority compared to VDP-33156, but they are interrelated and also related to #426.
Researcher Description
The ANMS Mosquitto MQTT broker ships with allow_anonymous true and zero ACLs. Port 1883 is
bound to the host in docker-compose.yml. Anyone on the network can subscribe to all topics (wildcard
#), read internal DTN agent messages, and publish arbitrary data into the ANMS pipeline. This is the
shipped default · not a deployment misconfiguration.
The entire Mosquitto config file is two lines:
listener 1883
allow_anonymous true
No password_file, no acl_file, no TLS. And docker-compose.yml exposes the port:
ports:
- "${MQTT_PORT:-1883}:1883"
Business Impact
An attacker on the network can eavesdrop on all DTN agent telemetry and internal ANMS service
communication, publish poisoned data to any topic (which flows into PostgreSQL via mqtt_client.py),
and hijack MQTT client IDs to disconnect legitimate ANMS services from the message bus.
Remediation Advice
- API: Use security focused APIs to check for proper security controls.
- Session Management: Use proper session management checks to disallow unauthenticated users
accessing protected and sensitive resources. - Access Control: Use proper access control checks to disallow unprivileged users from accessing
protected and sensitive resources.
- Lingua principale
- JavaScript
- Stelle
- 3
- Fork
- 2
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di NASA-AMMOS/anms
-
bug CRIT-3
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
NASA-AMMOS/anms#426 ·
-
bug CRIT-4
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
NASA-AMMOS/anms#424 ·
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
NASA-AMMOS/anms#412 ·
-
enhancement javascript
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
NASA-AMMOS/anms#263 ·
-
bug CRIT-2
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
NASA-AMMOS/anms#427 ·
Tutte le issue di NASA-AMMOS/anms
Issue simili
-
Entity picker filter keeps the first kind's groups after switching Specific Term / Specific PostApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
davidofchatham/bws-gb-dynamic-tags-extensions#177 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
ioBroker/ioBroker.zigbee#3069 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
has-image has-license has-readme new-tool ready-to-approve repo-verified
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
shanselman/TinyToolTown#957 ·
I maintainer di solito rispondono entro 2 giorni
-
Sign-in page: label GitHub as for Team Managers and Google as for Team MembersForse già presa @StatsLateral l’ha presa oggi. Apertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
StatsLateral/teamctx#343 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno