e-m-b-a / embark

EMBArk - The firmware security scanning environment
https://www.securefirmware.de
MIT License
312 stars 47 forks source link

Server Error without Label Name #208

Closed D4n1ng closed 2 months ago

D4n1ng commented 2 months ago

When setting up firmware to analyze and not setting a label name the tool is not capable of analyzing. It redirects to embark.local/uploader/start/ and gives a Server Error (500). The logs revealed it is due to not having a label name given. When given a label name it worked properly again.

Steps to reproduce the behavior:

  1. EMBArk installation (default mode/docker-mode)
  2. Start EMBArk: sudo ./run-server.sh
  3. Use the firmware available here: (https://www.tp-link.com/de/support/download/tl-wr802n/#Firmware)
  4. Upload Firmware
  5. Add new Vendor
  6. Define the device-under-test
  7. Analyze (with Firmwareversion added)
  8. See error

Expected behavior After setting up the tool should redirect to the embark.local/dashboard/service page after the analyze button was clicked.

The other variant seen on the screenshot called test had a label name and worked fine.

Screenshots

image image image

github-actions[bot] commented 2 months ago

Thank you for contributing an issue!

Welcome to the EMBA firmware analysis community!

We are glad you are here and appreciate your contribution. Please keep in mind our contributing guidelines here and here. Also, please check existing open issues and consider to open a discussion in the dedicated discussion area. Additionally, we have collected a lot of details around EMBArk, the installation and the usage of EMBArk in our Wiki.

If you like EMBA you have the chance to support us by becoming a Sponsor or buying some beer here.

This is an automatic message. Allow for time for the EMBA community to be able to read the issue and comment on it.

torabi12 commented 2 months ago

I repeated your steps and I got the same 500 error. When I did not select the device category: kép

the test is started as expected: kép