nofusscomputing / nofusscomputing/centurion_ui
Jinja Renderer Remote code execution
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 20
Description
As detailed in mozilla/nunjucks-docs#17 the templating engine has the capability to execute code. as such, this needs to be prevented.
details
- fix the vulnerability or find one that isn't vulnerable
Currently Jinja is used for external links for building the URL from the models data. i.e. {{ device.name }}. There are future plans for jinja to be used within templating.
Links
- Reference: mozilla/nunjucks-docs#17
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue identifies the Jinja renderer and its use for building external-link URLs from model data; start by tracing that rendering path and reviewing the linked mozilla/nunjucks-docs#17 reference. Done means the code-execution vulnerability is prevented or the renderer is replaced with a non-vulnerable option.
Written by the indexing model from the issue text.
Assessment
- Domain
- security
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100