Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Protect OrangePi from gpio file injection

Featured Replies

Hello everybody, 

 

I have a orange pi zero h2 and when I connect the gpio on some pcb, sometime the pcb inject file inside the linux and create dpkg error.

 

is it possible to enable something to protect the system.

 

thx you

  • Author

hi martinayotte, 

 

I remember you in the past, this is my new account but we have work 4 year on this forum in stratup of armbian. So in clear trust me when I insert the orange pi zero on a specify pcb , the pcb have arm chip on it.

 

I just start the linux and everything is working well but the second we do apt-get update, the "dpkg configure "  is broken. When I go the dpkg configure -a for fix the issue, who 6 new library forced to be installed

3 minutes ago, Jimmy Raymond Belanger said:

orange pi zero - usb 4 pin gpio - exploit buffer overlow inject file by usb gpio voila

Then you talk about an USB issue, not a GPIO issue.. (a pin on a board doesn't mean it's a gpio - general purpose input/output). If you don't want that something on the USB pins on pinheader happens, I think (didn't test) it should be sufficient to just disable the device tree overlay which activate those USBs (as a 'hot fix'), and then probably report it to the sunxi mailing list in case it turns out to be a kernel-issue. 

  • Author

seriouly.... the orange pi zero have 4 GPIO PIN = USB.... usb or gpio same think for me it 4 pin...

 

my research is private, no information about security is provided.

 

it just look like the driver send by the controler board have malisious software....

 

I give you feedback after disable usb gpio port

 

 

 

 

Orange-Pi-Zero-Pinout-banner2-700x700.jpg

6 minutes ago, Jimmy Raymond Belanger said:

it just look like the driver send by the controler board have malisious software...

You should detailed what is that famous board and how it is connected to OPi headers.

If you have it connected only on dual-header, there is no USB there, so no injection possible on those pins ...

  • Author

famous board = sorry private information

 

yes every pin of the orange pi on it, I disable the usb port by removing the 4 port physicaly with my power left hand.

 

the software come from  (gpio) usb port.

 

thx you

14 minutes ago, Jimmy Raymond Belanger said:

seriouly.... the orange pi zero have 4 GPIO PIN = USB.... usb or gpio same think for me it 4 pin...

And that's where your thinking goes wrong and why @martinayotte immediately thought you must be wrong. Pin != GPIO, otherwise you could argue that the 5V Pin on the pinheader must also be a GPIO. Nevertheless, it might be interesting which 'HAT' you stick to your OPi-Zero (even when it's not a GPIO issue it might be an USB issue, or an issue where this "HAT" doesn't do sane things) and for:

1 hour ago, Jimmy Raymond Belanger said:

sometime the pcb inject file inside the linux and create dpkg error.

 

it might be interesting to see some logs so that others can have a look whats going on here.. e.g. an 'armbianmonitor -u' could be a good starter?

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.