Add the possibility to disable the reports and scripts module #9889

Closed
opened 2025-12-29 21:24:02 +01:00 by adam · 2 comments
Owner

Originally created by @ncsc-pt on GitHub (Jun 24, 2024).

NetBox version

v4.0.5

Feature type

Change to existing functionality

Proposed functionality

Two functionalities of NetBox allow an administrator to upload files that will be executed on a specified date and time on the server side: Reports and Scripts.

A switch could be created (ex: on the configuration.py file) to have the possibility to disable or enable those two features : this would prevent breaking such boundary.

A warning could also be added on the documentation to explicitly warn that enabling such feature will allow code execution on the underlying server.

Use case

Those features breaks the security boundary between the application and the underlying server, indeed the administrator of the application may not be the administrator of the underlying server.

Database changes

N/A

External dependencies

N/A

Originally created by @ncsc-pt on GitHub (Jun 24, 2024). ### NetBox version v4.0.5 ### Feature type Change to existing functionality ### Proposed functionality Two functionalities of NetBox allow an administrator to upload files that will be executed on a specified date and time on the server side: Reports and Scripts. A switch could be created (ex: on the `configuration.py` file) to have the possibility to **disable** or **enable** those two features : this would prevent breaking such boundary. A warning could also be added on the documentation to explicitly warn that enabling such feature will allow code execution on the underlying server. ### Use case Those features breaks the security boundary between the application and the underlying server, indeed the administrator of the application may not be the administrator of the underlying server. ### Database changes N/A ### External dependencies N/A
adam added the type: featurepending closurestatus: under reviewnetbox labels 2025-12-29 21:24:02 +01:00
adam closed this issue 2025-12-29 21:24:02 +01:00
Author
Owner

@github-actions[bot] commented on GitHub (Sep 23, 2024):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Sep 23, 2024): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. **Do not** attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@github-actions[bot] commented on GitHub (Oct 23, 2024):

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.

@github-actions[bot] commented on GitHub (Oct 23, 2024): This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9889