Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The new user from the ONVIF guide has administrative access (security issue) #20

Open
MikeVRT opened this issue Sep 13, 2024 · 1 comment

Comments

@MikeVRT
Copy link

MikeVRT commented Sep 13, 2024

I'm not sure about right choice of sub-project. Please move it to firmware if it fits better there.

The user, created with that guide for ONVIF has WebUI administrative access.

The simple solution, from my point of view, is:
It may be better to allow only users in a special system group to log in to the WebUI.
For example, the root user is in the wheel group by default:
uid=0(root) gid=0(root) groups=0(root),10(wheel)
This 'marker' could be easily used as a condition to determine whether a user could access the system as root or just as an endpoint consumer. Just a simple check in the WebUI authentication code and an 'Access Denied' message if the user is not a member of the "right group".

@flyrouter
Copy link
Member

Thank you for your message and suggestion.

At the moment the system is single-user but we have made a workaround that currently does not allow users other than "root" to enter the interface, but they can receive media content (jpeg, mjpeg, rtsp) and also execute .cgi scripts from the "/v" directory, control the backlight and some other actions of a regular user or an automated system.

This ticket will be closed after the information is transferred to the Wiki with explanations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants