Security issue with App Lab

Hi all that read this.
I'm noticing that i am freely able to change the Linux password of the Uno Q and Ventuno Q using App Lab and I think that's a safety issue because I can change any board's password without any verification. This means I can access any board without any authorization and I just wanted to bring that up.
-TS

Hi @ts_king528. I believe your concern is addressed in this document:

https://docs.arduino.cc/tutorials/uno-q/security-hardening-guide/#physical-access

(the document is written for the UNO Q, but the information is also applicable to the VENTUNO Q)

To be clear, this is limited to boards that are connected to your computer with a USB cable. Furthermore, it is limited to boards that have a running ADB daemon. As the document I linked above states, it is expected that you will disable the daemon on the board in the case where there is a concern about an attacker having physical access to the board.

Treating physical access as full access is a common position for development boards, where convenience while programming is the main goal.

As suggested, disabling the ADB daemon removes the cheapest attack vector, a USB cable and a laptop, but it only moves the boundary: an attacker with physical access can still plug in a monitor and keyboard and face the login prompt, so the strength of the arduino user's password becomes the main remaining control.

if you are worried about such security, then keep in mind that reducing the attack surface of a dev board against an attacker with unrestricted physical access is quite a challenge, since by design it exposes many low level interfaces such as JTAG or JCTL, not to mention relatively easy access to the components themselves - all are physical attack vectors that disabling ADB does not close.

Industry practice for products that must resist physical attackers is defense in depth: secure boot so only signed firmware runs, locked debug interfaces, encrypted storage with keys held in hardware, unique credentials per device, unused services disabled, and a tamper resistant enclosure.

The hardware offers part of this, since the STM32U585 microcontroller includes TrustZone, several readout protection levels, password protected debug and secure boot support. There are Linux images such as the Yocto-based Linux microPlatform from Foundries.io that are built around secure boot, but that is not what ships as standard, which seems to be a plain Debian.

As I don't own such devices so I don't know if such features are active or even possible on a stock board.

Your security stance should guide you on whether a dev board is the suitable choice for your deployment, or whether a purpose built device with these protections, or an enclosure and location that deny physical access, is needed….

PS @ptillisch: the hardware elements mentioned above might be beneficial to include in the hardening guide, along with whether the App Lab password change requires the current password, an explicit statement on whether physical attackers are within the threat model, and whether encryption beyond the private directory is available.

Just a minor observation - this thread should be titled "Security Issue..." not "Safety Issue...". I realize this may just be a translation issue(I don't know the OP's country or language), but I think such subtleties are important.

I have changed the name